From 138b7f758dcd45d37118132940eb206ccfca5981 Mon Sep 17 00:00:00 2001 From: Daniel Firth <dan.firth@homotopic.tech> Date: Sat, 5 Nov 2022 09:05:08 +0000 Subject: [PATCH] hslua-core: init at 2.2.1 --- manifest.dhall | 1 + overlay.nix | 2 ++ pkgs/hslua-core.nix | 56 +++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 59 insertions(+) create mode 100644 pkgs/hslua-core.nix diff --git a/manifest.dhall b/manifest.dhall index 0ceef172..097d50ae 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -268,6 +268,7 @@ in [ callHackage "Cabal" "3.8.1.0" (Some "918df757ce5c9244232c1e3a1e05e9d9e3ab4f09") (None Text) , callHackage "hslua-aeson" "2.2.1" + , callHackage "hslua-core" "2.2.1" , callHackage "hslua-classes" "2.2.0" , callHackage "hslua-marshalling" "2.2.1" , callHackage "hslua" "2.2.1" diff --git a/overlay.nix b/overlay.nix index 917851d0..aa05d99e 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-core = prev.callPackage (./pkgs/hslua-core.nix) { }; + hslua-marshalling = prev.callPackage (./pkgs/hslua-marshalling.nix) { }; hspec = prev.callPackage (./pkgs/hspec.nix) { }; diff --git a/pkgs/hslua-core.nix b/pkgs/hslua-core.nix new file mode 100644 index 00000000..16701cd5 --- /dev/null +++ b/pkgs/hslua-core.nix @@ -0,0 +1,56 @@ +{ mkDerivation +, base +, bytestring +, exceptions +, lib +, lua +, lua-arbitrary +, mtl +, QuickCheck +, quickcheck-instances +, tasty +, tasty-hunit +, tasty-quickcheck +, text +}: +mkDerivation { + pname = "hslua-core"; + version = "2.2.1"; + sha256 = "78e5e12130fe9ae195e576ed5a391f82f2665b39d377a881640b9064f351c343"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ + base + bytestring + exceptions + lua + mtl + text + ]; + testHaskellDepends = [ + base + bytestring + exceptions + lua + lua-arbitrary + mtl + QuickCheck + quickcheck-instances + tasty + tasty-hunit + tasty-quickcheck + text + ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "https://hslua.org/"; + description = "Bindings to Lua, an embeddable scripting language"; + license = lib.licenses.mit; + broken = false; +} -- GitLab