From c2759f4efae09aded29483061742f50ebb1a63c2 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Fri, 18 Sep 2015 13:38:48 +0900 Subject: Adding python-avro --- gn/packages/cwl.scm | 7 ++++--- gn/packages/python.scm | 27 +++++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 3 deletions(-) (limited to 'gn/packages') diff --git a/gn/packages/cwl.scm b/gn/packages/cwl.scm index e58022f..b8f3566 100644 --- a/gn/packages/cwl.scm +++ b/gn/packages/cwl.scm @@ -31,7 +31,9 @@ "1kqxc6nvq4nr8qdv39ycdi6fhzaipgjpmbghsz94ij6jhf5r3dq2")))) (build-system python-build-system) (propagated-inputs - `(("python-schema-salad" ,python-schema-salad))) + `(("python-schema-salad" ,python-schema-salad) + ("python-avro" ,python-avro) + )) (inputs `(("python-setuptools" ,python-setuptools))) (home-page @@ -63,10 +65,9 @@ `(("python-cython" ,python-cython) ("python-setuptools" ,python-setuptools) ("python-rdflib-jsonld" ,python-rdflib-jsonld) - ("python-rdflib-4.2" ,python-rdflib-4.2) ("python-mistune" ,python-mistune))) (propagated-inputs - `(("python-rdflib" ,python-rdflib))) + `(("python-rdflib-4.2" ,python-rdflib-4.2))) (home-page "https://github.com/common-workflow-language/common-workflow-language") (synopsis diff --git a/gn/packages/python.scm b/gn/packages/python.scm index a8b8a62..1663d96 100644 --- a/gn/packages/python.scm +++ b/gn/packages/python.scm @@ -60,6 +60,10 @@ (arguments `(#:tests? #f)) ;; No tests. (inputs `(("python-setuptools" ,python-setuptools))) + (propagated-inputs + `(("python-rdflib-4.2" ,python-rdflib-4.2) + ("python-pyparsing" ,python-pyparsing) +)) (home-page "https://github.com/RDFLib/rdflib-jsonld") (synopsis @@ -100,3 +104,26 @@ powerful language for representing information.") (license (license:non-copyleft "file://LICENSE" "See LICENSE in the distribution.")))) +(define-public python-avro +(package + (name "python-avro") + (version "1.7.7") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/a/avro/avro-" + version + ".tar.gz")) + (sha256 + (base32 + "0n21lfclah7bmqnnqfqmpsrimz0s86qkxyn972jynq234n1lyynf")))) + (build-system python-build-system) + (inputs + `(("python-setuptools" ,python-setuptools))) + (home-page "http://hadoop.apache.org/avro") + (synopsis + "Avro is a serialization and RPC framework.") + (description + "Avro is a serialization and RPC framework.") + (license #f))) -- cgit v1.2.3