depot/third_party/nixpkgs/pkgs/tools/misc/fsmon/default.nix

26 lines
554 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "fsmon";
version = "1.8.4";
src = fetchFromGitHub {
owner = "nowsecure";
repo = "fsmon";
rev = version;
sha256 = "sha256-4KF8h+YdCMrF9Yk/9y71WqNjzyoEZnddriDZAdpIaa4=";
};
installPhase = ''
make install PREFIX=$out
'';
meta = with lib; {
description = "FileSystem Monitor utility";
homepage = "https://github.com/nowsecure/fsmon";
license = licenses.mit;
maintainers = [ maintainers.dezgeg ];
platforms = platforms.linux;
};
}