gnu: vte-ng: Fetch source using git.

* gnu/packages/gnome.scm (vte-ng)[source]: Rewrite in terms of GIT-FETCH.
This commit is contained in:
Marius Bakke 2018-11-21 22:57:48 +01:00
parent afd90f8d62
commit 6bc00737b0
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 7 additions and 8 deletions

View File

@ -2117,6 +2117,13 @@ editors, IDEs, etc.")
(name "vte-ng") (name "vte-ng")
(version "0.52.2.a") (version "0.52.2.a")
(home-page "https://github.com/thestinger/vte-ng") (home-page "https://github.com/thestinger/vte-ng")
(source (origin
(method git-fetch)
(uri (git-reference (url home-page) (commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"1csmjrw3c2avh711xcrn3khqwp4cwz97c3fmyirq2rg0hndng4s3"))))
(native-inputs (native-inputs
`(("gtk-doc" ,gtk-doc) `(("gtk-doc" ,gtk-doc)
("gperf" ,gperf) ("gperf" ,gperf)
@ -2124,14 +2131,6 @@ editors, IDEs, etc.")
("automake" ,automake) ("automake" ,automake)
("libtool" ,libtool) ("libtool" ,libtool)
,@(package-native-inputs vte))) ,@(package-native-inputs vte)))
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/thestinger/"
name "/archive/" version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1fd65mk7c87k03vhnb2ixkjvv9nja04mfq813iyjji1b11f2sh7v"))))
(arguments (arguments
`(#:phases (modify-phases %standard-phases `(#:phases (modify-phases %standard-phases
(replace 'bootstrap (replace 'bootstrap