summary refs log tree commit diff
path: root/gnu/packages/ruby.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-12-30 16:08:06 +0200
committerEfraim Flashner <efraim@flashner.co.il>2019-12-30 20:05:10 +0200
commit4e1108256917aec3ceb833683f93e61a89d22c37 (patch)
tree323f886faa06faaceea9df4222852a87576c8917 /gnu/packages/ruby.scm
parent83870c32e8bbe5a70d58cbc9bdd98892e95dc5dc (diff)
downloadguix-4e1108256917aec3ceb833683f93e61a89d22c37.tar.gz
gnu: ruby-ttfunk: Don't use unstable tarball.
* gnu/packages/ruby.scm (ruby-ttfunk)[source]: Download using git-fetch.
Diffstat (limited to 'gnu/packages/ruby.scm')
-rw-r--r--gnu/packages/ruby.scm12
1 files changed, 6 insertions, 6 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 10c887eeaf..ba414747b2 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -7013,15 +7013,15 @@ binary-to-text encoding.  The main modern use of Ascii85 is in PostScript and
     (version "1.5.1")
     (source
      (origin
-       (method url-fetch)
+       (method git-fetch)
        ;; fetch from github as the gem does not contain testing code
-       (uri (string-append
-             "https://github.com/prawnpdf/ttfunk/archive/"
-             version ".tar.gz"))
-       (file-name (string-append name "-" version ".tar.gz"))
+       (uri (git-reference
+              (url "https://github.com/prawnpdf/ttfunk")
+              (commit version)))
+       (file-name (git-file-name name version))
        (sha256
         (base32
-         "1ymcn12n5iws401yz03zsj8rr653fdqq13czsrciq09phgh9jzc5"))))
+         "0dx9891zcli0sjrslmsvrwalv86hbjbqlmbrcasnjr069v05h9v9"))))
     (build-system ruby-build-system)
     (arguments
      `(#:test-target "spec"