diff --git a/manifest.dhall b/manifest.dhall index 733005a0976e8c32ef20177d0fe8bdfdec5a14a4..9554d4bc69c7edab2f98d2bfedd88cee3d5bdc49 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -201,6 +201,7 @@ in [ callHackage "Cabal" "3.8.1.0" (None Text) , callHackage "hslua-aeson" "2.2.1" , callHackage "hspec" "2.10.3" + , callHackage "hspec-contrib" "0.5.1.1" , callHackage "hspec-core" "2.10.0.1" , callHackage "hspec-discover" "2.10.0.1" , callHackage "hspec-meta" "2.9.3" diff --git a/overlay.nix b/overlay.nix index 1b90d3e06d66b2dd6e694b646ce7c3b34caae73b..d142bf6e1b6c0deef20dab63e35dcc0bb88ed51d 100644 --- a/overlay.nix +++ b/overlay.nix @@ -213,6 +213,8 @@ final: prev: with pkgs.haskell.lib; { hspec = prev.callPackage (./pkgs/hspec.nix) { }; + hspec-contrib = prev.callPackage (./pkgs/hspec-contrib.nix) { }; + hspec-core = prev.callPackage (./pkgs/hspec-core.nix) { }; hspec-discover = prev.callPackage (./pkgs/hspec-discover.nix) { }; diff --git a/pkgs/hspec-contrib.nix b/pkgs/hspec-contrib.nix new file mode 100644 index 0000000000000000000000000000000000000000..4f761e27b91eca543868a326a44f391e3b4b5a09 --- /dev/null +++ b/pkgs/hspec-contrib.nix @@ -0,0 +1,18 @@ +{ mkDerivation, base, hspec, hspec-core, hspec-discover, HUnit, lib +, QuickCheck +}: +mkDerivation { + pname = "hspec-contrib"; + version = "0.5.1.1"; + sha256 = "fde656a694dafbb8e147c1ca41eff5eef6a273f79fbae1bc0722e128852dcbdb"; + libraryHaskellDepends = [ base hspec-core HUnit ]; + testHaskellDepends = [ base hspec hspec-core HUnit QuickCheck ]; + testToolDepends = [ hspec-discover ]; + doHaddock = false; + jailbreak = true; + doCheck = false; + hyperlinkSource = false; + homepage = "http://hspec.github.io/"; + description = "Contributed functionality for Hspec"; + license = lib.licenses.mit; +} \ No newline at end of file