Loading pkgs/applications/networking/p2p/freenet/default.nix +30 −6 Original line number Diff line number Diff line { lib, stdenv, fetchurl, fetchFromGitHub, jdk, jre, gradle, bash, coreutils , substituteAll, nixosTests, fetchpatch, writeText }: { lib, stdenv, fetchurl, fetchFromGitHub, jdk, jre, gradle, bash, coreutils, substituteAll, nixosTests, fetchpatch, writeText, }: let version = "01497"; Loading @@ -23,7 +36,8 @@ let }) ]; in stdenv.mkDerivation rec { in stdenv.mkDerivation rec { pname = "freenet"; inherit version patches; Loading @@ -38,11 +52,19 @@ in stdenv.mkDerivation rec { rm gradle/verification-{keyring.keys,metadata.xml} ''; nativeBuildInputs = [ gradle jdk ]; nativeBuildInputs = [ gradle jdk ]; wrapper = substituteAll { src = ./freenetWrapper; inherit bash coreutils jre seednodes; inherit bash coreutils jre seednodes ; }; mitmCache = gradle.fetchDeps { Loading @@ -68,7 +90,9 @@ in stdenv.mkDerivation rec { runHook postInstall ''; passthru.tests = { inherit (nixosTests) freenet; }; passthru.tests = { inherit (nixosTests) freenet; }; meta = { description = "Decentralised and censorship-resistant network"; Loading Loading
pkgs/applications/networking/p2p/freenet/default.nix +30 −6 Original line number Diff line number Diff line { lib, stdenv, fetchurl, fetchFromGitHub, jdk, jre, gradle, bash, coreutils , substituteAll, nixosTests, fetchpatch, writeText }: { lib, stdenv, fetchurl, fetchFromGitHub, jdk, jre, gradle, bash, coreutils, substituteAll, nixosTests, fetchpatch, writeText, }: let version = "01497"; Loading @@ -23,7 +36,8 @@ let }) ]; in stdenv.mkDerivation rec { in stdenv.mkDerivation rec { pname = "freenet"; inherit version patches; Loading @@ -38,11 +52,19 @@ in stdenv.mkDerivation rec { rm gradle/verification-{keyring.keys,metadata.xml} ''; nativeBuildInputs = [ gradle jdk ]; nativeBuildInputs = [ gradle jdk ]; wrapper = substituteAll { src = ./freenetWrapper; inherit bash coreutils jre seednodes; inherit bash coreutils jre seednodes ; }; mitmCache = gradle.fetchDeps { Loading @@ -68,7 +90,9 @@ in stdenv.mkDerivation rec { runHook postInstall ''; passthru.tests = { inherit (nixosTests) freenet; }; passthru.tests = { inherit (nixosTests) freenet; }; meta = { description = "Decentralised and censorship-resistant network"; Loading