guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: java-hamcrest-core: Update upstream location.


From: Hartmut Goebel
Subject: 01/01: gnu: java-hamcrest-core: Update upstream location.
Date: Sun, 6 Nov 2016 09:43:23 +0000 (UTC)

htgoebel pushed a commit to branch master
in repository guix.

commit 006728966a7bb4c6fd0d8d4b05b71fea47645765
Author: Hartmut Goebel <address@hidden>
Date:   Sun Nov 6 10:42:57 2016 +0100

    gnu: java-hamcrest-core: Update upstream location.
    
    The checksum changed since the new location's archive contains no
    jar-files (except those of external libraries) and line endings are
    different.
    
    * gnu/packages/java.scm (java-hamcrest-core)[source]: Update source
      uri and checksum. [snippet]: Remove directory "lib" completely.
---
 gnu/packages/java.scm |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 36c10d0..f6960da 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -1180,16 +1180,17 @@ an Ant task that extends the built-in @code{jar} task.")
     (version "1.3")
     (source (origin
               (method url-fetch)
-              (uri (string-append "https://hamcrest.googlecode.com/files/";
-                                  "hamcrest-" version ".tgz"))
+              (uri (string-append "https://github.com/hamcrest/JavaHamcrest/";
+                                  "archive/hamcrest-java-" version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32
-                "1hi0jv0zrgsf4l25aizxrgvxpsrmdklsmvw0jzwz7zv9s108whn6"))
+                "11g0s105fmwzijbv08lx8jlb521yravjmxnpgdx08fvg1kjivhva"))
               (modules '((guix build utils)))
               (snippet
                '(begin
-                  ;; Delete bundled jar archives.
-                  (for-each delete-file (find-files "." "\\.jar$"))
+                  ;; Delete bundled thirds-party jar archives.
+                  (delete-file-recursively "lib")
                   #t))))
     (build-system ant-build-system)
     (arguments



reply via email to

[Prev in Thread] Current Thread [Next in Thread]