nixpkgs/pkgs/servers/news/leafnode/1.nix
Yuchen Guo 959d8a84bf fix version
Signed-off-by: Yuchen Guo <yguo@posteo.net>
2023-08-17 11:15:59 +00:00

25 lines
691 B
Nix

{ lib, stdenv, fetchurl, pcre2 }:
stdenv.mkDerivation (finalAttrs: {
pname = "leafnode";
version = "1.12.0";
src = fetchurl {
url = "https://downloads.sourceforge.net/project/leafnode/leafnode/${finalAttrs.version}/leafnode-${finalAttrs.version}.tar.gz";
sha256 = "sha256-tGfOcyH2F6IeglfY00u199eKusnn6HeqD7or3Oz3ed4=";
};
configureFlags = [
"--with-ipv6"
];
buildInputs = [ pcre2 ];
meta = {
homepage = "https://leafnode.sourceforge.io/index.shtml";
description = "Implementation of a store & forward NNTP proxy, stable release";
license = lib.licenses.mit;
platforms = lib.platforms.unix;
maintainers = [ lib.maintainers.ne9z ];
};
})