diff --git a/manifest.dhall b/manifest.dhall index 3b0b9712e62c542eca76c57488e985c78c9f9cf7..33fcd281cd53df9b329b988f77ae6be71f965758 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -271,6 +271,7 @@ in [ callHackage "Cabal" "3.8.1.0" , callHackage "hslua-core" "2.2.1" , callHackage "hslua-classes" "2.2.0" , callHackage "hslua-marshalling" "2.2.1" + , callHackage "hslua-objectorientation" "2.2.1" , callHackage "hslua" "2.2.1" , callHackage "hspec" "2.10.3" , callHackage "hspec-contrib" "0.5.1.1" diff --git a/overlay.nix b/overlay.nix index 575e63af34b9336c38f11ab6d319ed925e551bf7..0c718cddbe7a0a5a1378d0b7c8ccfc425ec0881c 100644 --- a/overlay.nix +++ b/overlay.nix @@ -315,6 +315,8 @@ final: prev: with pkgs.haskell.lib; { hslua-marshalling = prev.callPackage (./pkgs/hslua-marshalling.nix) { }; + hslua-objectorientation = prev.callPackage (./pkgs/hslua-objectorientation.nix) { }; + hspec = prev.callPackage (./pkgs/hspec.nix) { }; hspec-contrib = prev.callPackage (./pkgs/hspec-contrib.nix) { }; diff --git a/pkgs/hslua-objectorientation.nix b/pkgs/hslua-objectorientation.nix new file mode 100644 index 0000000000000000000000000000000000000000..4cb47c99571c8171ff00c3d97ce07e3c9db3e965 --- /dev/null +++ b/pkgs/hslua-objectorientation.nix @@ -0,0 +1,64 @@ +{ mkDerivation +, base +, bytestring +, containers +, exceptions +, hslua-core +, hslua-marshalling +, lib +, lua-arbitrary +, mtl +, QuickCheck +, quickcheck-instances +, tasty +, tasty-hslua +, tasty-hunit +, tasty-quickcheck +, text +}: +mkDerivation { + pname = "hslua-objectorientation"; + version = "2.2.1"; + sha256 = "7e602b93c02f359c8a8061620813f92d3fdcde2b3c59ad9ea02f53f3bf0f018c"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ + base + bytestring + containers + exceptions + hslua-core + hslua-marshalling + mtl + text + ]; + testHaskellDepends = [ + base + bytestring + containers + exceptions + hslua-core + hslua-marshalling + lua-arbitrary + mtl + QuickCheck + quickcheck-instances + tasty + tasty-hslua + tasty-hunit + tasty-quickcheck + text + ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "https://hslua.org/"; + description = "Object orientation tools for HsLua"; + license = lib.licenses.mit; + broken = false; +}