Skip to content
Snippets Groups Projects
Unverified Commit d56af1ff authored by Tobias Geerinckx-Rice's avatar Tobias Geerinckx-Rice
Browse files

gnu: protozero: Don't use unstable tarball.

* gnu/packages/geo.scm (protozero)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
parent 257c826c
No related branches found
No related tags found
No related merge requests found
...@@ -32,6 +32,7 @@ (define-module (gnu packages geo) ...@@ -32,6 +32,7 @@ (define-module (gnu packages geo)
#:use-module (guix build-system scons) #:use-module (guix build-system scons)
#:use-module (guix build-system r) #:use-module (guix build-system r)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix git-download)
#:use-module ((guix licenses) #:prefix license:) #:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (guix utils) #:use-module (guix utils)
...@@ -746,12 +747,13 @@ (define-public protozero ...@@ -746,12 +747,13 @@ (define-public protozero
(version "1.6.5") (version "1.6.5")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (string-append "https://github.com/mapbox/protozero/archive/v" (uri (git-reference
version ".tar.gz")) (url "https://github.com/mapbox/protozero.git")
(file-name (string-append name "-" version ".tar.gz")) (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 "0y12wz9v5w2gjfipyrw7v1gchnhivzlkkfax37i69l3yp9npimly")))) (base32 "10ldzni46cplmkgx1f73yn95qcb71xh9nxpcfdmi107y3kvicv3c"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(home-page "https://github.com/mapbox/protozero") (home-page "https://github.com/mapbox/protozero")
(synopsis "Minimalistic protocol buffer decoder and encoder in C++") (synopsis "Minimalistic protocol buffer decoder and encoder in C++")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment