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