2022-11-27 09:42:12 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "fsmon";
|
2022-11-27 09:42:12 +00:00
|
|
|
version = "1.8.5";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nowsecure";
|
|
|
|
repo = "fsmon";
|
2022-11-27 09:42:12 +00:00
|
|
|
rev = "refs/tags/${version}";
|
|
|
|
hash = "sha256-vAlAnGeFMgLIKaqUusBV7QalYh0+dZdifUvZwebk65U=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
make install PREFIX=$out
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "FileSystem Monitor utility";
|
|
|
|
homepage = "https://github.com/nowsecure/fsmon";
|
2022-11-27 09:42:12 +00:00
|
|
|
changelog = "https://github.com/nowsecure/fsmon/releases/tag/${version}";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.mit;
|
2022-11-27 09:42:12 +00:00
|
|
|
maintainers = with maintainers; [ dezgeg ];
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "fsmon";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|