vuls: init at 0.27.0 (#348530)
[NixPkgs.git] / pkgs / by-name / wh / whatfiles / package.nix
blob73289f95f7aa58c9cce203b76d07fe7e5b8afa7d
1 { lib
2 , stdenv
3 , fetchFromGitHub
4 }:
6 stdenv.mkDerivation rec {
7   pname = "whatfiles";
8   version = "1.0";
10   src = fetchFromGitHub {
11     owner = "spieglt";
12     repo = "whatfiles";
13     rev = "v${version}";
14     hash = "sha256-5Ju9g7/B9uxLkQzV/MN3vBkjve4EAMseO6K4HTAoS/o=";
15   };
17   installPhase = ''
18     runHook preInstall
20     install -Dm755 bin/whatfiles $out/bin/whatfiles
22     runHook postInstall
23   '';
25   meta = with lib; {
26     description = "Log what files are accessed by any Linux process";
27     homepage = "https://github.com/spieglt/whatfiles";
28     license = licenses.gpl3Only;
29     maintainers = with maintainers; [ azahi ];
30     platforms = platforms.linux;
31     mainProgram = "whatfiles";
32   };