From a489fefb59ca8b381554e61aacd14b65f9da9bf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Fri, 5 Jul 2024 23:36:01 +0300 Subject: [PATCH] [24.05] inotify-info 0.0.1 -> 0.0.3 --- pkgs/by-name/in/inotify-info/package.nix | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/pkgs/by-name/in/inotify-info/package.nix b/pkgs/by-name/in/inotify-info/package.nix index ea7235917caf9..21de48577df68 100644 --- a/pkgs/by-name/in/inotify-info/package.nix +++ b/pkgs/by-name/in/inotify-info/package.nix @@ -5,23 +5,21 @@ }: stdenv.mkDerivation (finalAttrs: { pname = "inotify-info"; - version = "0.0.1"; + version = "0.0.3"; src = fetchFromGitHub { owner = "mikesart"; repo = "inotify-info"; rev = "refs/tags/v${finalAttrs.version}"; - hash = "sha256-fsUvIXWnP6Iy9Db0wDG+ntSw6mUt0MQOTJA5vFxhH+U="; + hash = "sha256-mxZpJMmSCgm5uV5/wknVb1PdxRIF/b2k+6rdOh4b8zA="; }; - installPhase = '' - runHook preInstall - install -Dm755 _release/inotify-info $out/bin/inotify-info - runHook postInstall - ''; + buildFlags = ["INOTIFYINFO_VERSION=v${finalAttrs.version}"]; + + installFlags = ["PREFIX=$$out"]; meta = with lib; { - description = "Easily track down the number of inotify watches, instances, and which files are being watched."; + description = "Easily track down the number of inotify watches, instances, and which files are being watched"; homepage = "https://github.com/mikesart/inotify-info"; license = licenses.mit; mainProgram = "inotify-info";