summary refs log tree commit diff
path: root/pkgs/servers/identd/nullidentdmod/default.nix
blob: 8171f61c112dabcdb0fa9f1a14da11d6cd8269af (plain) (blame)
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
{ stdenv, fetchFromGitHub, ... }: stdenv.mkDerivation rec {
  pname = "nullidentdmod";
  version = "1.3";

  src = fetchFromGitHub {
    owner = "Acidhub";
    repo = "nullidentdmod";
    rev = "v${version}";
    sha256 = "1ahwm5pyidc6m07rh5ls2lc25kafrj233nnbcybprgl7bqdq1b0k";
  };

  installPhase = ''
    mkdir -p $out/bin

    install -Dm755 nullidentdmod $out/bin
  '';

  meta = with stdenv.lib; {
    description = "Simple identd that just replies with a random string or customized userid";
    license = licenses.gpl2;
    homepage = http://acidhub.click/NullidentdMod;
    maintainers = with maintainers; [ das_j ];
    platforms = platforms.linux; # Must be run by systemd
  };
}