From 8ccbee4c1c52ccdf32a0f5b2d63b3108e0ed63fe Mon Sep 17 00:00:00 2001 From: Daniel Firth <dan.firth@homotopic.tech> Date: Mon, 7 Nov 2022 12:14:29 +0000 Subject: [PATCH] hspec-expectations-lifted: init at 0.10.0 --- manifest.dhall | 1 + overlay.nix | 2 ++ pkgs/hspec-expectations-lifted.nix | 20 ++++++++++++++++++++ 3 files changed, 23 insertions(+) create mode 100644 pkgs/hspec-expectations-lifted.nix diff --git a/manifest.dhall b/manifest.dhall index 9c3c2597..e15b9b44 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -380,6 +380,7 @@ in [ callHackage "Cabal" "3.8.1.0" , callHackage "hspec-contrib" "0.5.1.1" , callHackage "hspec-core" "2.10.0.1" , callHackage "hspec-discover" "2.10.0.1" + , callHackage "hspec-expectations-lifted" "0.10.0" , callHackage "hspec-expectations" "0.8.2" , callHackage "hspec-megaparsec" "2.2.0" , callHackage "hspec-meta" "2.9.3" diff --git a/overlay.nix b/overlay.nix index fc677b86..95ecb1ac 100644 --- a/overlay.nix +++ b/overlay.nix @@ -553,6 +553,8 @@ self: with pkgs.haskell.lib; { hspec-expectations = self.callPackage (./pkgs/hspec-expectations.nix) { }; + hspec-expectations-lifted = self.callPackage (./pkgs/hspec-expectations-lifted.nix) { }; + hspec-megaparsec = self.callPackage (./pkgs/hspec-megaparsec.nix) { }; hspec-meta = self.callPackage (./pkgs/hspec-meta.nix) { }; diff --git a/pkgs/hspec-expectations-lifted.nix b/pkgs/hspec-expectations-lifted.nix new file mode 100644 index 00000000..2bda499b --- /dev/null +++ b/pkgs/hspec-expectations-lifted.nix @@ -0,0 +1,20 @@ +{ mkDerivation, base, hspec-expectations, lib, transformers }: +mkDerivation { + pname = "hspec-expectations-lifted"; + version = "0.10.0"; + sha256 = "22cdf1509b396fea2f53a0bb88dec3552f540d58cc60962a82970264c1e73828"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ base hspec-expectations transformers ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + description = "A version of hspec-expectations generalized to MonadIO"; + license = lib.licenses.mit; + broken = false; +} -- GitLab