nixpkgs/pkgs/servers/identd/oidentd/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

20 lines
565 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.gpl2;
platforms = platforms.linux;
};
}