Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 30 lines 666 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 pcre2, 6}: 7 8stdenv.mkDerivation (finalAttrs: { 9 pname = "leafnode"; 10 version = "1.12.0"; 11 12 src = fetchurl { 13 url = "mirror://sourceforge/project/leafnode/leafnode/${finalAttrs.version}/leafnode-${finalAttrs.version}.tar.gz"; 14 sha256 = "sha256-tGfOcyH2F6IeglfY00u199eKusnn6HeqD7or3Oz3ed4="; 15 }; 16 17 configureFlags = [ 18 "--with-ipv6" 19 ]; 20 21 buildInputs = [ pcre2 ]; 22 23 meta = { 24 homepage = "https://leafnode.sourceforge.io/index.shtml"; 25 description = "Implementation of a store & forward NNTP proxy, stable release"; 26 license = lib.licenses.mit; 27 platforms = lib.platforms.unix; 28 maintainers = [ ]; 29 }; 30})