gnu: Add ghc-hspec-core.
* gnu/packages/haskell.scm (ghc-hspec-core): New variable.
This commit is contained in:
		
							parent
							
								
									327348c629
								
							
						
					
					
						commit
						daf5cd28dc
					
				
					 1 changed files with 32 additions and 0 deletions
				
			
		| 
						 | 
					@ -1416,6 +1416,38 @@ responses coming back.")
 | 
				
			||||||
@uref{https://github.com/sol/hspec-expectations#readme, the README}.")
 | 
					@uref{https://github.com/sol/hspec-expectations#readme, the README}.")
 | 
				
			||||||
    (license expat)))
 | 
					    (license expat)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(define-public ghc-hspec-core
 | 
				
			||||||
 | 
					  (package
 | 
				
			||||||
 | 
					    (name "ghc-hspec-core")
 | 
				
			||||||
 | 
					    (version "2.2.0")
 | 
				
			||||||
 | 
					    (source
 | 
				
			||||||
 | 
					     (origin
 | 
				
			||||||
 | 
					       (method url-fetch)
 | 
				
			||||||
 | 
					       (uri (string-append
 | 
				
			||||||
 | 
					             "http://hackage.haskell.org/package/hspec-core/hspec-core-"
 | 
				
			||||||
 | 
					             version
 | 
				
			||||||
 | 
					             ".tar.gz"))
 | 
				
			||||||
 | 
					       (sha256
 | 
				
			||||||
 | 
					        (base32
 | 
				
			||||||
 | 
					         "1wgd55k652jaf81nkvciyqi67ycj7zamr4nd9z1cqf8nr9fc3sa4"))))
 | 
				
			||||||
 | 
					    (build-system haskell-build-system)
 | 
				
			||||||
 | 
					    (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
 | 
				
			||||||
 | 
					    (propagated-inputs
 | 
				
			||||||
 | 
					     `(("ghc-setenv" ,ghc-setenv)
 | 
				
			||||||
 | 
					       ("ghc-ansi-terminal" ,ghc-ansi-terminal)
 | 
				
			||||||
 | 
					       ("ghc-async" ,ghc-async)
 | 
				
			||||||
 | 
					       ("ghc-quickcheck-io" ,ghc-quickcheck-io)))
 | 
				
			||||||
 | 
					    (inputs
 | 
				
			||||||
 | 
					     `(("ghc-hunit" ,ghc-hunit)
 | 
				
			||||||
 | 
					       ("ghc-quickcheck" ,ghc-quickcheck)
 | 
				
			||||||
 | 
					       ("ghc-hspec-expectations" ,ghc-hspec-expectations)
 | 
				
			||||||
 | 
					       ("ghc-silently" ,ghc-silently)))
 | 
				
			||||||
 | 
					    (home-page "http://hspec.github.io/")
 | 
				
			||||||
 | 
					    (synopsis "Testing framework for Haskell")
 | 
				
			||||||
 | 
					    (description "This library exposes internal types and functions that can
 | 
				
			||||||
 | 
					be used to extend Hspec's functionality.")
 | 
				
			||||||
 | 
					    (license expat)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public ghc-async
 | 
					(define-public ghc-async
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "ghc-async")
 | 
					    (name "ghc-async")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue