nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5}:
6
7stdenv.mkDerivation (finalAttrs: {
8 pname = "fsmon";
9 version = "1.8.8";
10
11 src = fetchFromGitHub {
12 owner = "nowsecure";
13 repo = "fsmon";
14 tag = finalAttrs.version;
15 hash = "sha256-WxOPNc939qwrdDNC3v3pmcltd8MnM8Gsu8t6VR/ZWYY=";
16 };
17
18 installPhase = ''
19 make install PREFIX=$out
20 '';
21
22 meta = {
23 description = "FileSystem Monitor utility";
24 homepage = "https://github.com/nowsecure/fsmon";
25 changelog = "https://github.com/nowsecure/fsmon/releases/tag/${finalAttrs.version}";
26 license = lib.licenses.mit;
27 maintainers = with lib.maintainers; [ dezgeg ];
28 platforms = lib.platforms.linux;
29 mainProgram = "fsmon";
30 };
31})