aboutsummaryrefslogtreecommitdiff
path: root/gn
diff options
context:
space:
mode:
authorPjotr Prins2015-09-18 13:38:48 +0900
committerPjotr Prins2015-09-18 13:38:48 +0900
commitc2759f4efae09aded29483061742f50ebb1a63c2 (patch)
tree2b48faeae608f346f21082e3bc83e2546bbbf762 /gn
parenta1adb988a53a43c17d45c0ed5499fa6bf46a8d0c (diff)
downloadguix-bioinformatics-c2759f4efae09aded29483061742f50ebb1a63c2.tar.gz
Adding python-avro
Diffstat (limited to 'gn')
-rw-r--r--gn/packages/cwl.scm7
-rw-r--r--gn/packages/python.scm27
2 files changed, 31 insertions, 3 deletions
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)))