1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-19 03:48:57 +00:00
nixpkgs/pkgs/servers/identd/nullidentdmod/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

26 lines
691 B
Nix

{ 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
};
}