Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
35 lines
682 B
Nix
35 lines
682 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "whatfiles";
|
|
version = "1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "spieglt";
|
|
repo = "whatfiles";
|
|
rev = "v${version}";
|
|
hash = "sha256-5Ju9g7/B9uxLkQzV/MN3vBkjve4EAMseO6K4HTAoS/o=";
|
|
};
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
install -Dm755 bin/whatfiles $out/bin/whatfiles
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Log what files are accessed by any Linux process";
|
|
homepage = "https://github.com/spieglt/whatfiles";
|
|
license = licenses.gpl3Only;
|
|
maintainers = [ ];
|
|
platforms = platforms.linux;
|
|
mainProgram = "whatfiles";
|
|
};
|
|
}
|