From 842574268db6afa6cc9aef0aaec6d0cf03cdd053 Mon Sep 17 00:00:00 2001 From: Daniel Firth <dan.firth@homotopic.tech> Date: Tue, 13 Jun 2023 11:03:23 +0000 Subject: [PATCH] hdaemonize: init at 0.5.6 --- horizon.dhall | 1 + horizon.lock | 4 ++++ overlay.nix | 2 ++ pkgs/hdaemonize.nix | 25 +++++++++++++++++++++++++ 4 files changed, 32 insertions(+) create mode 100644 pkgs/hdaemonize.nix diff --git a/horizon.dhall b/horizon.dhall index c77c137a..32515a09 100644 --- a/horizon.dhall +++ b/horizon.dhall @@ -337,6 +337,7 @@ let packages = , H.CabalFlag.Disable "floskell" ] , haskell-src = H.callHackage "haskell-src" "1.0.4" + , hdaemonize = H.callHackage "hdaemonize" "0.5.6" , heaps = H.callHackage "heaps" "0.4" , hedgehog-extras = H.callHackage "hedgehog-extras" "0.4.5.1" , hedgehog-fn = H.callHackage "hedgehog-fn" "1.0" diff --git a/horizon.lock b/horizon.lock index b239e7a3..b5a2b83c 100644 --- a/horizon.lock +++ b/horizon.lock @@ -1014,6 +1014,10 @@ , mapValue = "dd3f1bdd1290b58fed3eeafeaaba3c4b63b7900cdb5065483fbb5cc9f479ad08" } +, { mapKey = "hdaemonize" + , mapValue = + "ab4f90bf1de28057460801b3eb68e3785e2e5bba6227df52d511bf7c209905f1" + } , { mapKey = "heaps" , mapValue = "e042b769e4e44e7f41cbc5c52e1ef3ca3956fd922dcc8070ff55e9e9e6d3d24d" diff --git a/overlay.nix b/overlay.nix index 804d9da0..5328bbf4 100644 --- a/overlay.nix +++ b/overlay.nix @@ -509,6 +509,8 @@ final: prev: with pkgs.haskell.lib; { haskell-src = final.callPackage (./pkgs/haskell-src.nix) { }; + hdaemonize = final.callPackage (./pkgs/hdaemonize.nix) { }; + heaps = final.callPackage (./pkgs/heaps.nix) { }; hedgehog-extras = final.callPackage (./pkgs/hedgehog-extras.nix) { }; diff --git a/pkgs/hdaemonize.nix b/pkgs/hdaemonize.nix new file mode 100644 index 00000000..7d2196ae --- /dev/null +++ b/pkgs/hdaemonize.nix @@ -0,0 +1,25 @@ +{ mkDerivation, base, bytestring, extensible-exceptions, filepath +, hsyslog, lib, mtl, unix +}: +mkDerivation { + pname = "hdaemonize"; + version = "0.5.6"; + sha256 = "ad6f302492a9c41e99ce62ca955a959b0cdca0ff328e66f31bfec5a99f7cee24"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ + base bytestring extensible-exceptions filepath hsyslog mtl unix + ]; + enableLibraryProfiling = true; + enableExecutableProfiling = true; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "http://github.com/unprolix/hdaemonize"; + description = "Library to handle the details of writing daemons for UNIX"; + license = lib.licenses.bsd3; + broken = false; +} \ No newline at end of file -- GitLab