nixpkgs/pkgs/servers/news/leafnode/1.nix
Peder Bergebakken Sundt 7af3bb01d5 leafnode1: use mirror url
2024-10-09 12:04:02 +02:00

26 lines
678 B
Nix

{ lib, stdenv, fetchurl, pcre2 }:
stdenv.mkDerivation (finalAttrs: {
pname = "leafnode";
version = "1.12.0";
src = fetchurl {
url = "mirror://sourceforge/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 ];
};
})