From f5b1c8dd044e2a8e4420993c74b1b9098e3fa782 Mon Sep 17 00:00:00 2001 From: Daniel Firth <dan.firth@homotopic.tech> Date: Mon, 7 Nov 2022 14:56:26 +0000 Subject: [PATCH] hspec-hedgehog: init at 0.0.1.2 --- manifest.dhall | 1 + overlay.nix | 2 ++ pkgs/hspec-hedgehog.nix | 41 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 44 insertions(+) create mode 100644 pkgs/hspec-hedgehog.nix diff --git a/manifest.dhall b/manifest.dhall index 18d7f629..dfbdd71b 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -398,6 +398,7 @@ in [ callHackage "Cabal" "3.8.1.0" , callHackage "hspec-discover" "2.10.0.1" , callHackage "hspec-expectations-lifted" "0.10.0" , callHackage "hspec-expectations" "0.8.2" + , callHackage "hspec-hedgehog" "0.0.1.2" , callHackage "hspec-megaparsec" "2.2.0" , callHackage "hspec-meta" "2.9.3" , callHackage "hspec-wai" "0.11.1" diff --git a/overlay.nix b/overlay.nix index bf68b648..0cbbdfe5 100644 --- a/overlay.nix +++ b/overlay.nix @@ -587,6 +587,8 @@ self: with pkgs.haskell.lib; { hspec-expectations-lifted = self.callPackage (./pkgs/hspec-expectations-lifted.nix) { }; + hspec-hedgehog = self.callPackage (./pkgs/hspec-hedgehog.nix) { }; + hspec-megaparsec = self.callPackage (./pkgs/hspec-megaparsec.nix) { }; hspec-meta = self.callPackage (./pkgs/hspec-meta.nix) { }; diff --git a/pkgs/hspec-hedgehog.nix b/pkgs/hspec-hedgehog.nix new file mode 100644 index 00000000..cc55414f --- /dev/null +++ b/pkgs/hspec-hedgehog.nix @@ -0,0 +1,41 @@ +{ mkDerivation +, base +, hedgehog +, hspec +, hspec-core +, HUnit +, lib +, QuickCheck +, splitmix +}: +mkDerivation { + pname = "hspec-hedgehog"; + version = "0.0.1.2"; + sha256 = "23582ee0f9807b2e49de5da4ae8ef83cb56db63a045a7db73d537eab35c9eb9d"; + revision = "1"; + editedCabalFile = "1qv2gap0775d2zg8wbd3kq4ypziz05qlz5jfisvl3jfd6jzcf2ad"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ + base + hedgehog + hspec + hspec-core + HUnit + QuickCheck + splitmix + ]; + testHaskellDepends = [ base hedgehog hspec ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "https://github.com/parsonsmatt/hspec-hedgehog#readme"; + description = "Integrate Hedgehog and Hspec!"; + license = lib.licenses.bsd3; + broken = false; +} -- GitLab