diff options
author | Josh Marshall <joshua.r.marshall.1991@gmail.com> | 2020-05-17 15:44:00 -0400 |
---|---|---|
committer | Guix Patches Tester <> | 2020-05-24 21:33:32 +0100 |
commit | 9cae99b1b5d4f94c4447a0d27370ae501458b71a (patch) | |
tree | 32c1b6992e4e8d61dace0daae753cb5bdd801e94 | |
parent | 2ae11cd0a43bfd8c0106afc620c2e5be1cecef78 (diff) | |
download | patches-series-4011.tar patches-series-4011.tar.gz |
Moved gettext to use git to better conform to better bootstrapping, better integration with Software Heritage, and what looks like emerging best practices for package sources.series-4011
-rw-r--r-- | gnu/packages/gettext.scm | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/gnu/packages/gettext.scm b/gnu/packages/gettext.scm index 202acf25d4..19920aa210 100644 --- a/gnu/packages/gettext.scm +++ b/gnu/packages/gettext.scm @@ -30,6 +30,7 @@ #:use-module (gnu packages) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix git-download) #:use-module (guix build-system gnu) #:use-module (guix build-system perl) #:use-module (gnu packages docbook) @@ -46,12 +47,13 @@ (name "gettext-minimal") (version "0.20.1") (source (origin - (method url-fetch) - (uri (string-append "mirror://gnu/gettext/gettext-" - version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://git.savannah.gnu.org/git/gettext.git") + (commit (string-append "v" version)))) (sha256 - (base32 - "0p3zwkk27wm2m2ccfqm57nj7vqkmfpn7ja1nf65zmhz8qqs5chb6")))) + (base32 + "0p3zwkk27wm2m2ccfqm57nj7vqkmfpn7ja1nf65zmhz8qqs5chb6")))) (build-system gnu-build-system) (outputs '("out" "doc")) ;9 MiB of HTML |