2022-11-25 18:54:15 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
2017-01-18 14:18:25 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "fsmon";
|
2022-11-25 12:02:17 +00:00
|
|
|
version = "1.8.5";
|
2017-01-18 14:18:25 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nowsecure";
|
|
|
|
repo = "fsmon";
|
2022-11-25 18:54:15 +00:00
|
|
|
rev = "refs/tags/${version}";
|
|
|
|
hash = "sha256-vAlAnGeFMgLIKaqUusBV7QalYh0+dZdifUvZwebk65U=";
|
2017-01-18 14:18:25 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
make install PREFIX=$out
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-01-18 14:18:25 +00:00
|
|
|
description = "FileSystem Monitor utility";
|
2020-02-27 22:41:48 +00:00
|
|
|
homepage = "https://github.com/nowsecure/fsmon";
|
2022-11-25 18:54:15 +00:00
|
|
|
changelog = "https://github.com/nowsecure/fsmon/releases/tag/${version}";
|
2017-01-18 14:18:25 +00:00
|
|
|
license = licenses.mit;
|
2022-11-25 18:54:15 +00:00
|
|
|
maintainers = with maintainers; [ dezgeg ];
|
2017-01-18 14:18:25 +00:00
|
|
|
platforms = platforms.linux;
|
2023-11-27 01:17:53 +00:00
|
|
|
mainProgram = "fsmon";
|
2017-01-18 14:18:25 +00:00
|
|
|
};
|
|
|
|
}
|