Unverified Commit a278cc56 authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

Merge pull request #286538 from motiejus/newpkg-inotify-info

inotify-info: init at unstable-2024-01-05
parents d2bf55a7 248d90e6
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -12836,6 +12836,16 @@
    githubId = 10601196;
    name = "Jérémie Ferry";
  };
  motiejus = {
    email = "motiejus@jakstys.lt";
    github = "motiejus";
    githubId = 107720;
    keys = [{
      fingerprint = "5F6B 7A8A 92A2 60A4 3704  9BEB 6F13 3A0C 1C28 48D7";
    }];
    matrix = "@motiejus:jakstys.lt";
    name = "Motiejus Jakštys";
  };
  mounium = {
    email = "muoniurn@gmail.com";
    github = "Mounium";
+28 −0
Original line number Diff line number Diff line
{ lib, stdenv, fetchFromGitHub }:

stdenv.mkDerivation (finalAttrs: {
  pname = "inotify-info";
  version = "unstable-2024-01-05";

  src = fetchFromGitHub {
    owner = "mikesart";
    repo = "inotify-info";
    rev = "a7ff6fa62ed96ec5d2195ef00756cd8ffbf23ae1";
    hash = "sha256-yY+hjdb5J6dpFkIMMUWvZlwoGT/jqOuQIcFp3Dv+qB8=";
  };

  installPhase = ''
    runHook preInstall
    install -Dm755 _release/inotify-info $out/bin/inotify-info
    runHook postInstall
  '';

  meta = with lib; {
    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";
    maintainers = with maintainers; [ motiejus ];
    platforms = platforms.linux;
  };
})