diff --git a/manifest.dhall b/manifest.dhall index 7c12b8cb5fe8df0b38c9edabd412a2596ec126fc..6e9b88a387f5f3ce0d427e0e6f9c712b42603a72 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -466,6 +466,7 @@ in [ callHackage "Cabal" "3.8.1.0" (Some "hunit") , callHackage "tasty-wai" "0.1.2.0" , callHackage "test-framework" "0.8.2.0" + , callHackage "test-framework-hunit" "0.3.0.2" , callHackage "text-display" "0.0.3.0" , callHackage "text-metrics" "0.3.2" , callHackage "text-zipper" "0.12" diff --git a/overlay.nix b/overlay.nix index db0e48b6916799a1eef8da8962c0c346da78f7ee..da7095e8be847ccc4f660394ff880754a4dc27d5 100644 --- a/overlay.nix +++ b/overlay.nix @@ -565,6 +565,8 @@ final: prev: with pkgs.haskell.lib; { test-framework = prev.callPackage (./pkgs/test-framework.nix) { }; + test-framework-hunit = prev.callPackage (./pkgs/test-framework-hunit.nix) { }; + text-display = prev.callPackage (./pkgs/text-display.nix) { }; text-metrics = prev.callPackage (./pkgs/text-metrics.nix) { }; diff --git a/pkgs/test-framework-hunit.nix b/pkgs/test-framework-hunit.nix new file mode 100644 index 0000000000000000000000000000000000000000..c869cf6b0153104ef3f18bb5370252a65becad17 --- /dev/null +++ b/pkgs/test-framework-hunit.nix @@ -0,0 +1,34 @@ +{ mkDerivation +, base +, extensible-exceptions +, HUnit +, lib +, test-framework +}: +mkDerivation { + pname = "test-framework-hunit"; + version = "0.3.0.2"; + sha256 = "95cb8ee02a850b164bfdabdf4dbc839d621361f3ac770ad21ea43a8bde360bf8"; + revision = "3"; + editedCabalFile = "0i9mlalv7cl1iq43ld5myrnpszq5rxmd79hk495dcb08rglhgl3z"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ + base + extensible-exceptions + HUnit + test-framework + ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "https://batterseapower.github.io/test-framework/"; + description = "HUnit support for the test-framework package"; + license = lib.licenses.bsd3; + broken = false; +}