diff --git a/manifest.dhall b/manifest.dhall index d9e3864a6465dc7ff56bcd9c492dfbbbb21dc8fa..d711fb3b923fd6dc4c7226ed04807eebcc14439e 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -641,6 +641,7 @@ in [ callHackage "Cabal" "3.8.1.0" (Some "hunit") , callHackage "tasty-kat" "0.0.3" , callHackage "tasty-lua" "1.0.2" + , callHackage "tasty-silver" "3.3.1.1" , callHackage "tasty-smallcheck" "0.8.2" , callHackage "tasty-quickcheck" "0.10.2" , callHackage "tasty-wai" "0.1.2.0" diff --git a/overlay.nix b/overlay.nix index 320419dbd493528f78f51aae38d11ff3fd00be08..14c5c43507a82ef60677bc61afed8a420a5bdd48 100644 --- a/overlay.nix +++ b/overlay.nix @@ -935,6 +935,8 @@ self: with pkgs.haskell.lib; { tasty-quickcheck = self.callPackage (./pkgs/tasty-quickcheck.nix) { }; + tasty-silver = self.callPackage (./pkgs/tasty-silver.nix) { }; + tasty-smallcheck = self.callPackage (./pkgs/tasty-smallcheck.nix) { }; tasty-wai = self.callPackage (./pkgs/tasty-wai.nix) { }; diff --git a/pkgs/tasty-silver.nix b/pkgs/tasty-silver.nix new file mode 100644 index 0000000000000000000000000000000000000000..9c524e0b05485deda8a2495b4f46e29c828e777f --- /dev/null +++ b/pkgs/tasty-silver.nix @@ -0,0 +1,76 @@ +{ mkDerivation +, ansi-terminal +, async +, base +, bytestring +, containers +, deepseq +, directory +, filepath +, lib +, mtl +, optparse-applicative +, process +, process-extras +, regex-tdfa +, silently +, stm +, tagged +, tasty +, tasty-hunit +, temporary +, text +, transformers +}: +mkDerivation { + pname = "tasty-silver"; + version = "3.3.1.1"; + sha256 = "35fde58705e5041671fd1009c1fa79823ffdd60bca326b054e5bc6c880fe408e"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ + ansi-terminal + async + base + bytestring + containers + deepseq + directory + filepath + mtl + optparse-applicative + process + process-extras + regex-tdfa + silently + stm + tagged + tasty + temporary + text + transformers + ]; + testHaskellDepends = [ + base + directory + filepath + process + silently + tasty + tasty-hunit + temporary + transformers + ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "https://github.com/phile314/tasty-silver"; + description = "A fancy test runner, including support for golden tests"; + license = lib.licenses.mit; + broken = false; +}