blob: 0516d7441f0fa1c0c9ff727fba780ff718c044ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{
lib,
stdenv,
fetchFromGitHub,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "nullidentdmod";
version = "1.3";
src = fetchFromGitHub {
owner = "Ranthrall";
repo = "nullidentdmod";
rev = "v${finalAttrs.version}";
sha256 = "1ahwm5pyidc6m07rh5ls2lc25kafrj233nnbcybprgl7bqdq1b0k";
};
installPhase = ''
mkdir -p $out/bin
install -Dm755 nullidentdmod $out/bin
'';
meta = {
description = "Simple identd that just replies with a random string or customized userid";
mainProgram = "nullidentdmod";
license = lib.licenses.gpl2Plus;
homepage = "https://github.com/Ranthrall/nullidentdmod";
maintainers = [ ];
platforms = lib.platforms.linux; # Must be run by systemd
};
})
|