From 212a2a5c37c0578e62c339a27b45e682b6c4556b Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Mon, 22 Jul 2013 21:28:46 +0200 Subject: [PATCH] Fix junit --- pkgs/development/libraries/java/junit/default.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pkgs/development/libraries/java/junit/default.nix b/pkgs/development/libraries/java/junit/default.nix index c1d713950b40..7a6db1ad4b30 100644 --- a/pkgs/development/libraries/java/junit/default.nix +++ b/pkgs/development/libraries/java/junit/default.nix @@ -1,13 +1,12 @@ -{stdenv, fetchgit, unzip} : +{stdenv, fetchurl, unzip} : stdenv.mkDerivation { name = "junit-4.8.2"; builder = ./builder.sh; - src = fetchgit { - url = https://github.com/junit-team/junit.git; - rev = "refs/tags/r4.8.2"; - sha256 = "1w73l3x97kg8zmrp44xgvp3gr6sih0crm0dhhky6jiq915ba1dlh"; + src = fetchurl { + url = https://github.com/downloads/junit-team/junit/junit4.8.2.zip; + sha256 = "01simvc3pmgp27p7vzavmsx5rphm6hqzwrqfkwllhf3812dcqxy6"; }; inherit unzip;