Files
quantenzitrone 6b61249106 various: switch to finalAttrs pattern
this shouldn't create any rebuilds
2026-01-30 02:36:22 +01:00

33 lines
766 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "nullidentdmod";
version = "1.3";
src = fetchFromGitHub {
owner = "Ranthrall";
repo = "nullidentdmod";
rev = "v${finalAttrs.version}";
sha256 = "1ahwm5pyidc6m07rh5ls2lc25kafrj233nnbcybprgl7bqdq1b0k";
};
installPhase = ''
mkdir -p $out/bin
install -Dm755 nullidentdmod $out/bin
'';
meta = {
description = "Simple identd that just replies with a random string or customized userid";
mainProgram = "nullidentdmod";
license = lib.licenses.gpl2Plus;
homepage = "https://github.com/Ranthrall/nullidentdmod";
maintainers = with lib.maintainers; [ das_j ];
platforms = lib.platforms.linux; # Must be run by systemd
};
})