From c82e30632520cfbfc3cd98813dad5520d3621b97 Mon Sep 17 00:00:00 2001 From: Daniel Firth <dan.firth@homotopic.tech> Date: Mon, 7 Nov 2022 14:52:18 +0000 Subject: [PATCH] tasty-hspec: init at 1.2.0.1 --- manifest.dhall | 1 + overlay.nix | 2 ++ pkgs/tasty-hspec.nix | 40 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 43 insertions(+) create mode 100644 pkgs/tasty-hspec.nix diff --git a/manifest.dhall b/manifest.dhall index df33b800..80078b6c 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -744,6 +744,7 @@ in [ callHackage "Cabal" "3.8.1.0" (None Text) (None Text) , callHackage "tasty-hslua" "1.0.2" + , callHackage "tasty-hspec" "1.2.0.1" , callCabal2nix "tasty-hunit" "https://github.com/UnkindPartition/tasty" diff --git a/overlay.nix b/overlay.nix index dbbadfcb..d4bca9ed 100644 --- a/overlay.nix +++ b/overlay.nix @@ -1147,6 +1147,8 @@ self: with pkgs.haskell.lib; { tasty-hslua = self.callPackage (./pkgs/tasty-hslua.nix) { }; + tasty-hspec = self.callPackage (./pkgs/tasty-hspec.nix) { }; + tasty-hunit = self.callPackage (./pkgs/tasty-hunit.nix) { }; tasty-inspection-testing = self.callPackage (./pkgs/tasty-inspection-testing.nix) { }; diff --git a/pkgs/tasty-hspec.nix b/pkgs/tasty-hspec.nix new file mode 100644 index 00000000..817f07ae --- /dev/null +++ b/pkgs/tasty-hspec.nix @@ -0,0 +1,40 @@ +{ mkDerivation +, base +, hspec +, hspec-core +, lib +, QuickCheck +, tasty +, tasty-quickcheck +, tasty-smallcheck +}: +mkDerivation { + pname = "tasty-hspec"; + version = "1.2.0.1"; + sha256 = "21813eff5187cd2489b855153466949b7379cfb2c7fc98ab680ad76a62177445"; + revision = "1"; + editedCabalFile = "0a6r4gzxzp6n90z0nif7ha7p7am57hs48i54i2y4z9kgjv6lnvll"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ + base + hspec + hspec-core + QuickCheck + tasty + tasty-quickcheck + tasty-smallcheck + ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "https://github.com/mitchellwrosen/tasty-hspec"; + description = "Hspec support for the Tasty test framework"; + license = lib.licenses.bsd3; + broken = false; +} -- GitLab