2021-01-25 09:26:54 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, ... }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
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
|
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2018-09-05 11:09:55 +02:00
|
|
|
description = "Simple identd that just replies with a random string or customized userid";
|
|
|
|
license = licenses.gpl2;
|
2020-04-01 03:11:51 +02:00
|
|
|
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
|
|
|
|
};
|
|
|
|
}
|