nixpkgs/pkgs/servers/identd/nullidentdmod/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
727 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, ... }:
stdenv.mkDerivation rec {
pname = "nullidentdmod";
2018-09-05 11:09:55 +02:00
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 lib; {
2018-09-05 11:09:55 +02:00
description = "Simple identd that just replies with a random string or customized userid";
mainProgram = "nullidentdmod";
2018-09-05 11:09:55 +02:00
license = licenses.gpl2;
homepage = "http://acidhub.click/NullidentdMod";
2018-09-05 11:09:55 +02:00
maintainers = with maintainers; [ das_j ];
platforms = platforms.linux; # Must be run by systemd
};
}