diff --git a/manifest.dhall b/manifest.dhall index 8d0b8c09f39b26f275214a46a85e50c018b62334..552a79d76d04caa3fd4558bb83ee5cafa8b69b2e 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -484,6 +484,7 @@ in [ callHackage "Cabal" "3.8.1.0" "https://github.com/UnkindPartition/tasty" (None Text) (Some "hunit") + , callHackage "tasty-hslua" "1.0.2" , callHackage "tasty-golden" "2.3.5" , callHackage "tasty-quickcheck" "0.10.2" , callHackage "tasty-wai" "0.1.2.0" diff --git a/overlay.nix b/overlay.nix index 83e52caede379e27daead4113655016fd4c5e61e..84345cfe3645ae5df45a4afc5824723ebb7245a1 100644 --- a/overlay.nix +++ b/overlay.nix @@ -601,6 +601,8 @@ final: prev: with pkgs.haskell.lib; { tasty-hedgehog = prev.callPackage (./pkgs/tasty-hedgehog.nix) { }; + tasty-hslua = prev.callPackage (./pkgs/tasty-hslua.nix) { }; + tasty-hunit = prev.callPackage (./pkgs/tasty-hunit.nix) { }; tasty-quickcheck = prev.callPackage (./pkgs/tasty-quickcheck.nix) { }; diff --git a/pkgs/tasty-hslua.nix b/pkgs/tasty-hslua.nix new file mode 100644 index 0000000000000000000000000000000000000000..b5c12fd08c9d74368469028588ce14bfe5ad8f5e --- /dev/null +++ b/pkgs/tasty-hslua.nix @@ -0,0 +1,34 @@ +{ mkDerivation +, base +, bytestring +, hslua-core +, lib +, tasty +, tasty-hunit +}: +mkDerivation { + pname = "tasty-hslua"; + version = "1.0.2"; + sha256 = "28ddc669b81528b02a652452de3c0267916b5b58a4ffe43c7b0c3eca14ef6d45"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ + base + bytestring + hslua-core + tasty + tasty-hunit + ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "https://hslua.org/"; + description = "Tasty helpers to test HsLua"; + license = lib.licenses.mit; + broken = false; +}