depot/third_party/nixpkgs/pkgs/by-name/oi/oidentd/package.nix

29 lines
590 B
Nix

{
lib,
stdenv,
fetchurl,
bison,
flex,
}:
stdenv.mkDerivation rec {
pname = "oidentd";
version = "3.1.0";
nativeBuildInputs = [
bison
flex
];
src = fetchurl {
url = "https://files.janikrabe.com/pub/oidentd/releases/${version}/${pname}-${version}.tar.gz";
sha256 = "sha256-yyvcnabxNkcIMOiZBjvoOm/pEjrGXFt4W4SG5lprkbc=";
};
meta = with lib; {
description = "Configurable Ident protocol server";
mainProgram = "oidentd";
homepage = "https://oidentd.janikrabe.com/";
license = licenses.gpl2Only;
platforms = platforms.linux;
};
}