diff options
Diffstat (limited to 'pkgs/applications/networking/cluster/chronos/chronos-deps.nix')
-rw-r--r-- | pkgs/applications/networking/cluster/chronos/chronos-deps.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/applications/networking/cluster/chronos/chronos-deps.nix b/pkgs/applications/networking/cluster/chronos/chronos-deps.nix new file mode 100644 index 00000000000..d258c493aa1 --- /dev/null +++ b/pkgs/applications/networking/cluster/chronos/chronos-deps.nix @@ -0,0 +1,18 @@ +{stdenv, curl}: + +stdenv.mkDerivation { + name = "chronos-maven-deps"; + builder = ./fetch-chronos-deps.sh; + + outputHashAlgo = "sha256"; + outputHashMode = "recursive"; + outputHash = "0mm2sb1p5zz6b0z2s4zhdlix6fafydsxmqjy8zbkwzw4f6lazzyl"; + + buildInputs = [ curl ]; + + # We borrow these environment variables from the caller to allow + # easy proxy configuration. This is impure, but a fixed-output + # derivation like fetchurl is allowed to do so since its result is + # by definition pure. + impureEnvVars = ["http_proxy" "https_proxy" "ftp_proxy" "all_proxy" "no_proxy"]; +} |