aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2018-09-27 22:16:31 +0200
committerJulien Lepiller <julien@lepiller.eu>2018-09-29 12:39:37 +0200
commit8fa3451c6fd56373555e2ada00f3978e1eed32a0 (patch)
treee6ee677304bc42753dfbf3af1abb5dbc9fddea1f
parent3bd7611e4acbffc501f8cabdbf581ffc442ee72a (diff)
downloadpatches-8fa3451c6fd56373555e2ada00f3978e1eed32a0.tar
patches-8fa3451c6fd56373555e2ada00f3978e1eed32a0.tar.gz
gnu: Add protozero.
* gnu/packages/geo.scm (protozero): New variable.
-rw-r--r--gnu/packages/geo.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index c5b5dbcfd0..dda981c90a 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -24,6 +24,7 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages geo)
+ #:use-module (guix build-system cmake)
#:use-module (guix build-system glib-or-gtk)
#:use-module (guix build-system gnu)
#:use-module (guix build-system go)
@@ -850,3 +851,26 @@ to create databases that are optimized for rendering/tile/map-services.")
license:expat
license:bsd-2
license:bsd-3))))
+
+(define-public protozero
+ (package
+ (name "protozero")
+ (version "1.6.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/mapbox/protozero/archive/v"
+ version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1xaj4phz1r7xn0vgdfvfkz8b0bizgb6mavjky1zqcvdmbwgwgly5"))))
+ (build-system cmake-build-system)
+ (home-page "https://github.com/mapbox/protozero")
+ (synopsis "Minimalistic protocol buffer decoder and encoder in C++")
+ (description "Protozero is a minimalistic protocol buffer decored and
+encoder in C++. The developer using protozero has to manually translate the
+@file{.proto} description into code.")
+ (license (list
+ license:asl2.0; for folly
+ license:bsd-2))))