From 0837f6ea22efb6f41f4ea724df04fb6589bfc98b Mon Sep 17 00:00:00 2001 From: Daniel Firth <dan.firth@homotopic.tech> Date: Sat, 5 Nov 2022 09:04:23 +0000 Subject: [PATCH] hslua-marshalling: init at 2.2.1 --- manifest.dhall | 1 + overlay.nix | 2 ++ pkgs/hslua-marshalling.nix | 58 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 61 insertions(+) create mode 100644 pkgs/hslua-marshalling.nix diff --git a/manifest.dhall b/manifest.dhall index 8f1d5b18..0ceef172 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -269,6 +269,7 @@ in [ callHackage "Cabal" "3.8.1.0" (None Text) , callHackage "hslua-aeson" "2.2.1" , callHackage "hslua-classes" "2.2.0" + , callHackage "hslua-marshalling" "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 a7535923..917851d0 100644 --- a/overlay.nix +++ b/overlay.nix @@ -311,6 +311,8 @@ final: prev: with pkgs.haskell.lib; { hslua-classes = prev.callPackage (./pkgs/hslua-classes.nix) { }; + hslua-marshalling = prev.callPackage (./pkgs/hslua-marshalling.nix) { }; + hspec = prev.callPackage (./pkgs/hspec.nix) { }; hspec-contrib = prev.callPackage (./pkgs/hspec-contrib.nix) { }; diff --git a/pkgs/hslua-marshalling.nix b/pkgs/hslua-marshalling.nix new file mode 100644 index 00000000..fdbcd7fb --- /dev/null +++ b/pkgs/hslua-marshalling.nix @@ -0,0 +1,58 @@ +{ mkDerivation +, base +, bytestring +, containers +, hslua-core +, lib +, lua-arbitrary +, mtl +, QuickCheck +, quickcheck-instances +, tasty +, tasty-hslua +, tasty-hunit +, tasty-quickcheck +, text +}: +mkDerivation { + pname = "hslua-marshalling"; + version = "2.2.1"; + sha256 = "532b0ff9aaa38583356486e56c4f6c47ad27c0cb50db1cca25db33975de8b1f6"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ + base + bytestring + containers + hslua-core + mtl + text + ]; + testHaskellDepends = [ + base + bytestring + containers + hslua-core + 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 = "Marshalling of values between Haskell and Lua"; + license = lib.licenses.mit; + broken = false; +} -- GitLab