diff --git a/manifest.dhall b/manifest.dhall index 2312d8e4696897fa9a27cb689aa6c4680d83e7a4..fa91335dcc40b6e34cfb17686a497482cd4c125b 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -593,6 +593,7 @@ in [ callHackage "Cabal" "3.8.1.0" "https://github.com/UnkindPartition/tasty" (None Text) (Some "core") + , callHackage "tasty-bench" "0.3.2" , callHackage "tasty-discover" "5.0.0" , callHackage "tasty-expected-failure" "0.12.3" , callCabal2nix diff --git a/overlay.nix b/overlay.nix index 5579e19606a7371852005cd487412b5fdd8a1d66..9111bd20ba72d091009a9a595afe4ddf849b355c 100644 --- a/overlay.nix +++ b/overlay.nix @@ -841,6 +841,8 @@ self: with pkgs.haskell.lib; { tasty = self.callPackage (./pkgs/tasty.nix) { }; + tasty-bench = self.callPackage (./pkgs/tasty-bench.nix) { }; + tasty-discover = self.callPackage (./pkgs/tasty-discover.nix) { }; tasty-expected-failure = self.callPackage (./pkgs/tasty-expected-failure.nix) { }; diff --git a/pkgs/tasty-bench.nix b/pkgs/tasty-bench.nix new file mode 100644 index 0000000000000000000000000000000000000000..1f54c46219bf9996f5c730d4c0ace966b08c67ab --- /dev/null +++ b/pkgs/tasty-bench.nix @@ -0,0 +1,22 @@ +{ mkDerivation, base, containers, deepseq, lib, tasty }: +mkDerivation { + pname = "tasty-bench"; + version = "0.3.2"; + sha256 = "c83a3d3c37bb652274d062857616a9d1871031e624f5f7139e1cbbf1f47b2249"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ base containers deepseq tasty ]; + benchmarkHaskellDepends = [ base ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "https://github.com/Bodigrim/tasty-bench"; + description = "Featherlight benchmark framework"; + license = lib.licenses.mit; + broken = false; +}