diff options
-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 |