From ee2aa10eb15b1db507083c2cc0d81136b1274e1a Mon Sep 17 00:00:00 2001 From: Daniel Firth <dan.firth@homotopic.tech> Date: Sat, 5 Nov 2022 12:28:30 +0000 Subject: [PATCH] lukko: init at 0.1.1.3 --- manifest.dhall | 1 + overlay.nix | 2 ++ pkgs/lukko.nix | 44 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 47 insertions(+) create mode 100644 pkgs/lukko.nix diff --git a/manifest.dhall b/manifest.dhall index 2f82402f..6ddcf262 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -362,6 +362,7 @@ in [ callHackage "Cabal" "3.8.1.0" , callHackage "lucid-aria" "0.1.0.1" , callHackage "lucid-svg" "0.7.1" , callHackage "lucid" "2.11.1" + , callHackage "lukko" "0.1.1.3" , callHackage "net-mqtt" "0.8.2.2" , callHackage "megaparsec" "9.2.2" , callHackage "memory" "0.18.0" diff --git a/overlay.nix b/overlay.nix index 7177222b..edc24249 100644 --- a/overlay.nix +++ b/overlay.nix @@ -453,6 +453,8 @@ final: prev: with pkgs.haskell.lib; { lucid-svg = prev.callPackage (./pkgs/lucid-svg.nix) { }; + lukko = prev.callPackage (./pkgs/lukko.nix) { }; + megaparsec = prev.callPackage (./pkgs/megaparsec.nix) { }; memory = prev.callPackage (./pkgs/memory.nix) { }; diff --git a/pkgs/lukko.nix b/pkgs/lukko.nix new file mode 100644 index 00000000..97886c12 --- /dev/null +++ b/pkgs/lukko.nix @@ -0,0 +1,44 @@ +{ mkDerivation +, async +, base +, bytestring +, filepath +, lib +, singleton-bool +, tasty +, tasty-expected-failure +, tasty-hunit +, temporary +}: +mkDerivation { + pname = "lukko"; + version = "0.1.1.3"; + sha256 = "a80efb60cfa3dae18682c01980d76d5f7e413e191cd186992e1bf7388d48ab1f"; + revision = "3"; + editedCabalFile = "1a6spmbiv3ias40sjrnsxfgr1d5mwg039a2q7113zb7i9n6c1m7g"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ base ]; + testHaskellDepends = [ + async + base + bytestring + filepath + singleton-bool + tasty + tasty-expected-failure + tasty-hunit + temporary + ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + description = "File locking"; + license = "GPL-2.0-or-later AND BSD-3-Clause"; + broken = false; +} -- GitLab