blob: 2c6a81d505ea5a38104198ac34c8f55e158019f3 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{
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";
};
}
|