gnu: ubridge: Don't use unstable tarball.

* gnu/packages/networking.scm (ubridge)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-05-15 20:53:27 +02:00
parent e8e2281ee9
commit 5af7428b79
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 11 additions and 10 deletions

View File

@ -2218,21 +2218,22 @@ SNMP v3 using both IPv4 and IPv6.")
(package (package
(name "ubridge") (name "ubridge")
(version "0.9.15") (version "0.9.15")
(source (origin (source
(method url-fetch) (origin
(uri (string-append "https://github.com/GNS3/ubridge/archive/v" (method git-fetch)
version ".tar.gz")) (uri (git-reference
(file-name (string-append name "-" version ".tar.gz")) (url "https://github.com/GNS3/ubridge.git")
(sha256 (commit (string-append "v" version))))
(base32 (file-name (git-file-name name version))
"0nmj37s7wvl7c36qbdv33rk9fyniwfk73qwb61ingni5siw67mr3")))) (sha256
(base32 "0fl07zyall04map6v2l1bclqh8y3rrhsx61s2v0sr8b00j201jg4"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:tests? #f ;no tests `(#:tests? #f ; no tests
#:make-flags '("CC=gcc") #:make-flags '("CC=gcc")
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(delete 'configure) (delete 'configure) ; no configure script
(add-before 'install 'set-bindir (add-before 'install 'set-bindir
(lambda* (#:key inputs outputs #:allow-other-keys) (lambda* (#:key inputs outputs #:allow-other-keys)
(let ((bin (string-append (assoc-ref outputs "out") (let ((bin (string-append (assoc-ref outputs "out")