From f3dbd54ff125aefc3f7ff0bb91896bc9550c097c Mon Sep 17 00:00:00 2001 From: Daniel Firth <dan.firth@homotopic.tech> Date: Sat, 5 Nov 2022 11:58:12 +0000 Subject: [PATCH] hinotify: init at 0.4.1 --- manifest.dhall | 1 + overlay.nix | 2 ++ pkgs/hinotify.nix | 30 ++++++++++++++++++++++++++++++ 3 files changed, 33 insertions(+) create mode 100644 pkgs/hinotify.nix diff --git a/manifest.dhall b/manifest.dhall index 4b9bff18..8a79b29c 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -265,6 +265,7 @@ in [ callHackage "Cabal" "3.8.1.0" , callHackage "hie-bios" "0.11.0" , callHackage "hie-compat" "0.3.0.0" , callHackage "hiedb" "0.4.2.0" + , callHackage "hinotify" "0.4.1" , callHackage "hledger-lib" "1.27.1" , callHackage "hledger" "1.27.1" , callHackage "hlint" "3.5" diff --git a/overlay.nix b/overlay.nix index bdc38593..29110235 100644 --- a/overlay.nix +++ b/overlay.nix @@ -317,6 +317,8 @@ final: prev: with pkgs.haskell.lib; { hiedb = prev.callPackage (./pkgs/hiedb.nix) { }; + hinotify = prev.callPackage (./pkgs/hinotify.nix) { }; + hledger = prev.callPackage (./pkgs/hledger.nix) { }; hledger-lib = prev.callPackage (./pkgs/hledger-lib.nix) { }; diff --git a/pkgs/hinotify.nix b/pkgs/hinotify.nix new file mode 100644 index 00000000..04b41d9e --- /dev/null +++ b/pkgs/hinotify.nix @@ -0,0 +1,30 @@ +{ mkDerivation +, async +, base +, bytestring +, containers +, directory +, lib +, unix +}: +mkDerivation { + pname = "hinotify"; + version = "0.4.1"; + sha256 = "1307b100aeaf35d0d0f582d4897fac9cde39505ec52c915e213118e56674f81a"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ async base bytestring containers unix ]; + testHaskellDepends = [ base bytestring directory unix ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "https://github.com/kolmodin/hinotify"; + description = "Haskell binding to inotify"; + license = lib.licenses.bsd3; + broken = false; +} -- GitLab