From: Daniel Pimentel <d4n1@d4n1.org>
To: guix-devel@gnu.org
Subject: [PATCH] Add python2-protobuf
Date: Sun, 03 Jul 2016 15:48:18 -0300 [thread overview]
Message-ID: <777b604dcc8bd75cc9f0695ae7f9a46e@d4n1.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 133 bytes --]
Hi Guix,
Add python2-protobuf
* gnu/packages/python.scm (python2-protobuf): New variables.
Thanks,
--
Daniel Pimentel (aka d4n1)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0003-gnu-Add-python2-protobuf.patch --]
[-- Type: text/x-diff; name=0003-gnu-Add-python2-protobuf.patch, Size: 1579 bytes --]
From 6584dd0d96fcef9e93c8285b074a9cf41c3d2efc Mon Sep 17 00:00:00 2001
From: Daniel Pimentel <d4n1@d4n1.org>
Date: Sun, 3 Jul 2016 15:45:17 -0300
Subject: [PATCH 3/3] gnu: Add python2-protobuf * gnu/packages/python.scm
(python2-protobuf): New variables.
---
gnu/packages/python.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 529da2c..35fa16b 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -9342,3 +9342,30 @@ function PBKDF2.")
Response (QR) images. It is recommended that the pillow library be used to
generate images, though the default Python imaging library can also be used.")
(license bsd-3)))
+
+(define-public python2-protobuf
+ (package
+ (name "python2-protobuf")
+ (version "3.0.0b3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "protobuf" version))
+ (sha256
+ (base32
+ "098mnxzd3y67j44y3fdpfszphhljp88flfr4a90qfvvpy4ka7w5l"))))
+ (build-system python-build-system)
+ (inputs
+ `(("gcc" ,gcc)
+ ("zlib" ,zlib)
+ ("python2-six" ,python2-six)))
+ (native-inputs
+ `(("python2-setuptools" ,python2-setuptools)))
+ (arguments
+ `(#:python ,python-2))
+ (home-page "https://github.com/google/protobuf")
+ (synopsis "Protocol buffers is a data interchange format.")
+ (description
+ "Protocol buffers are a language-neutral, platform-neutral extensible
+mechanism for serializing structured data.")
+ (license bsd-3)))
--
2.7.4
next reply other threads:[~2016-07-03 18:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-03 18:48 Daniel Pimentel [this message]
2016-07-03 21:46 ` [PATCH] Add python2-protobuf Leo Famulari
2016-07-14 15:23 ` [PATCH] Add python-protobuf and python2-protobuf Daniel Pimentel
2016-07-22 6:23 ` Leo Famulari
2016-07-22 11:05 ` d4n1
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=777b604dcc8bd75cc9f0695ae7f9a46e@d4n1.org \
--to=d4n1@d4n1.org \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).