gnu: Add ruby-slop.
* gnu/packages/ruby.scm (ruby-slop): New variable.
This commit is contained in:
		
							parent
							
								
									66e2086364
								
							
						
					
					
						commit
						71d3e2c28d
					
				
					 1 changed files with 22 additions and 0 deletions
				
			
		|  | @ -620,3 +620,25 @@ run as a daemon and to be controlled by simple start/stop/restart commands.") | ||||||
| and manipulate Git repositories by wrapping system calls to the git binary.") | and manipulate Git repositories by wrapping system calls to the git binary.") | ||||||
|     (home-page "https://github.com/schacon/ruby-git") |     (home-page "https://github.com/schacon/ruby-git") | ||||||
|     (license license:expat))) |     (license license:expat))) | ||||||
|  | 
 | ||||||
|  | (define-public ruby-slop | ||||||
|  |   (package | ||||||
|  |     (name "ruby-slop") | ||||||
|  |     (version "4.1.0") | ||||||
|  |     (source (origin | ||||||
|  |               (method url-fetch) | ||||||
|  |               (uri (string-append | ||||||
|  |                     "https://github.com/leejarvis/slop/archive/v" | ||||||
|  |                     version ".tar.gz")) | ||||||
|  |               (file-name (string-append name "-" version ".tar.gz")) | ||||||
|  |               (sha256 | ||||||
|  |                (base32 | ||||||
|  |                 "0cqs50a0b99kjd19xpln8jpnki07cjyp3l7wxbfr44ycasr6nznh")))) | ||||||
|  |     (build-system ruby-build-system) | ||||||
|  |     (native-inputs | ||||||
|  |      `(("ruby-minitest" ,ruby-minitest))) | ||||||
|  |     (synopsis "Ruby command line option parser") | ||||||
|  |     (description "Slop provides a Ruby domain specific language for gathering | ||||||
|  | options and parsing command line flags.") | ||||||
|  |     (home-page "https://github.com/leejarvis/slop") | ||||||
|  |     (license license:expat))) | ||||||
|  |  | ||||||
		Reference in a new issue