summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2020-07-14 22:34:47 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2020-07-17 23:01:30 -0400
commit308104f8e9c45bc4a5b44634f7059624910a14a5 (patch)
tree73166960fc0ac76cb2d7da9bb12504db49f8a44d /gnu
parent9fc61da93bd37626dd451a02fadd7bbaacfbc88a (diff)
downloadguix-308104f8e9c45bc4a5b44634f7059624910a14a5.tar.gz
gnu: ruby-ast: Update to 2.4.1.
* gnu/packages/ruby.scm (ruby-ast): Update to 2.4.1.
[origin]: Use git-fetch.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/ruby.scm11
1 files changed, 7 insertions, 4 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index f280988dbd..7a8132a0b6 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1443,14 +1443,17 @@ Grammar (PEG) parser generator Domain Specific Language (DSL).")
 (define-public ruby-ast
   (package
     (name "ruby-ast")
-    (version "2.4.0")
+    (version "2.4.1")
     (source
      (origin
-       (method url-fetch)
-       (uri (rubygems-uri "ast" version))
+       (method git-fetch)               ;no test included in gem from v2.4.1
+       (uri (git-reference
+             (url "https://github.com/whitequark/ast")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
        (sha256
         (base32
-         "184ssy3w93nkajlz2c70ifm79jp3j737294kbc5fjw69v1w0n9x7"))))
+         "0k8vya256chimy473g818gim06m5rjgh6mz5sc5g8xz3csh3rysi"))))
     (build-system ruby-build-system)
     (arguments
      '(#:phases