2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, ... }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
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
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Simple identd that just replies with a random string or customized userid";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "nullidentdmod";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
homepage = "http://acidhub.click/NullidentdMod";
|
|
|
|
maintainers = with maintainers; [ das_j ];
|
|
|
|
platforms = platforms.linux; # Must be run by systemd
|
|
|
|
};
|
|
|
|
}
|