From d004d8c9a5d18a5a99e06d87c6962f7e02dc2859 Mon Sep 17 00:00:00 2001 From: Daniel Firth <dan.firth@homotopic.tech> Date: Sat, 5 Nov 2022 09:07:54 +0000 Subject: [PATCH] hslua-objectorientation: init at 2.2.1 --- manifest.dhall | 1 + overlay.nix | 2 + pkgs/hslua-objectorientation.nix | 64 ++++++++++++++++++++++++++++++++ 3 files changed, 67 insertions(+) create mode 100644 pkgs/hslua-objectorientation.nix diff --git a/manifest.dhall b/manifest.dhall index 3b0b9712..33fcd281 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 575e63af..0c718cdd 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 00000000..4cb47c99 --- /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; +} -- GitLab