diff options
author | Marius Bakke <mbakke@fastmail.com> | 2018-12-04 16:13:17 +0100 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2018-12-04 21:13:31 +0100 |
commit | 56302fc1ec36906af4cdd9506cb894d8cd6f6b7e (patch) | |
tree | 620a011233fe415de089c141d016eb71025a7e97 /gnu | |
parent | db2db1296b8a31d40b109bf343518b0c893a970b (diff) | |
download | guix-56302fc1ec36906af4cdd9506cb894d8cd6f6b7e.tar guix-56302fc1ec36906af4cdd9506cb894d8cd6f6b7e.tar.gz |
gnu: re2: Download sources from git.
* gnu/packages/regex.scm (re2)[source]: Change to GIT-FETCH.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/regex.scm | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gnu/packages/regex.scm b/gnu/packages/regex.scm index c05d819d65..533fa41ab9 100644 --- a/gnu/packages/regex.scm +++ b/gnu/packages/regex.scm @@ -23,6 +23,7 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix git-download) #:use-module (guix build-system gnu) #:use-module (guix utils)) @@ -32,12 +33,12 @@ (version "2018-10-01") (home-page "https://github.com/google/re2") (source (origin - (method url-fetch) - (uri (string-append home-page "/archive/" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference (url home-page) (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "10fsxsj3yip34hp2zl5rw8h2x2lgnp83fwrh7m0qfd9m99qrf4x3")))) + "086n0ldr2sqvybck9r0vc302yspj0x7nq554siadspfl1in8ysf6")))) (build-system gnu-build-system) (arguments `(#:modules ((guix build gnu-build-system) |