guix-commits
[Top][All Lists]
Advanced

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

01/02: gnu: ruby-concurrent: Do not use unstable source tarball.


From: guix-commits
Subject: 01/02: gnu: ruby-concurrent: Do not use unstable source tarball.
Date: Tue, 15 Oct 2019 11:44:24 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit 8fcba3be282b4df60eec99338e5afee061d87242
Author: Marius Bakke <address@hidden>
Date:   Mon Oct 14 20:50:47 2019 +0200

    gnu: ruby-concurrent: Do not use unstable source tarball.
    
    * gnu/packages/ruby.scm (ruby-concurrent)[source]: Switch to GIT-FETCH.
---
 gnu/packages/ruby.scm | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 7d736c7..bb8a9d5 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -7173,17 +7173,16 @@ call.")
     (version "1.0.5")
     (source
      (origin
-       (method url-fetch)
+       (method git-fetch)
        ;; Download from GitHub because the rubygems version does not contain
        ;; Rakefile.
-       (uri (string-append
-             "https://github.com/ruby-concurrency/concurrent-ruby/archive/v";
-             version
-             ".tar.gz"))
-       (file-name (string-append name "-" version ".tar.gz"))
+       (uri (git-reference
+             (url "https://github.com/ruby-concurrency/concurrent-ruby";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
        (sha256
         (base32
-         "0qhv0qzsby4iijgwa4s9r88zj8123pmyz1dwaqzdk57xgqll9pny"))
+         "1618ald6mhz86hapgw9hs3cvb518k48fk6fxficdrdg3zcx8n302"))
        ;; Exclude failing test reported at
        ;; https://github.com/ruby-concurrency/concurrent-ruby/issues/534
        (patches (search-patches "ruby-concurrent-ignore-broken-test.patch"



reply via email to

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