gnu: guile-git: Update to 0.3.0.

* gnu/packages/guile.scm (guile-git): Update to 0.3.0.
[source]: Download tarball with URL-FETCH.
[source](file-name, modules, snippet): Remove.
[native-inputs]: Remove AUTOCONF, AUTOMAKE and TEXINFO.
This commit is contained in:
Marius Bakke 2020-01-20 11:31:17 +01:00
parent 89595f98d0
commit 25623647e9
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA

@ -634,36 +634,19 @@ type system, elevating types to first-class status.")
(define-public guile-git (define-public guile-git
(package (package
(name "guile-git") (name "guile-git")
(version "0.2.0") (version "0.3.0")
(home-page "https://gitlab.com/guile-git/guile-git.git") (home-page "https://gitlab.com/guile-git/guile-git.git")
(source (origin (source (origin
(method git-fetch) (method url-fetch)
(uri (git-reference (url home-page) (uri (string-append "https://gitlab.com/guile-git/guile-git/uploads/"
(commit (string-append "v" version)))) "4c563d8e7e1ff84396abe8ca7011bcaf/guile-git-"
version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"018hmfsh0rjwfvr4h7y10jc6k8a2k9xsirngghy3pjasin4nd2yz")) "0c5i3d16hp7gp9rd78vk9zc45js8bphf92m4lbb5gyi4l1yl7kkm"))))
(file-name (git-file-name name version))
(modules '((guix build utils)))
(snippet
'(begin
;; Allow builds with Guile 3.0.
(substitute* "configure.ac"
(("^GUILE_PKG.*")
"GUILE_PKG([3.0 2.2 2.0])\n"))
;; The 'guile.m4' that's shipped is too old and fails to
;; recognize Guile 2.9/3.0. Delete it and pick the one
;; provided by the Guile we're using.
(delete-file "m4/guile.m4")
#t))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("autoconf" ,autoconf) `(("pkg-config" ,pkg-config)))
("automake" ,automake)
("texinfo" ,texinfo)
("pkg-config" ,pkg-config)))
(inputs (inputs
`(("guile" ,guile-2.2) `(("guile" ,guile-2.2)
("libgit2" ,libgit2))) ("libgit2" ,libgit2)))