diff options
author | Pjotr Prins | 2015-09-18 13:30:20 +0900 |
---|---|---|
committer | Pjotr Prins | 2015-09-18 13:30:20 +0900 |
commit | a1adb988a53a43c17d45c0ed5499fa6bf46a8d0c (patch) | |
tree | 529815469f2866aa62332b6f42acf2eee441caf4 /gn/packages | |
parent | 63d4c4a4dcb2379b95dbd1ab8a0bbbf9e7c2e4aa (diff) | |
download | guix-bioinformatics-a1adb988a53a43c17d45c0ed5499fa6bf46a8d0c.tar.gz |
Moving to python.scm
Diffstat (limited to 'gn/packages')
-rw-r--r-- | gn/packages/cwl.scm | 59 | ||||
-rw-r--r-- | gn/packages/python.scm | 64 |
2 files changed, 60 insertions, 63 deletions
diff --git a/gn/packages/cwl.scm b/gn/packages/cwl.scm index cbf3e82..e58022f 100644 --- a/gn/packages/cwl.scm +++ b/gn/packages/cwl.scm @@ -42,31 +42,6 @@ "Common workflow language reference implementation") (license license:asl2.0))) -(define-public python-rdflib-jsonld - (package - (name "python-rdflib-jsonld") - (version "0.3") - (source - (origin - (method url-fetch) - (uri (string-append - "https://pypi.python.org/packages/source/r/rdflib-jsonld/rdflib-jsonld-" - version - ".tar.gz")) - (sha256 - (base32 - "121a876k49xl85jvikyh4hzvm34456ikw66cra5dfyr15br1qjll")))) - (build-system python-build-system) - (arguments `(#:tests? #f)) ;; No tests. - (inputs - `(("python-setuptools" ,python-setuptools))) - (home-page - "https://github.com/RDFLib/rdflib-jsonld") - (synopsis - "rdflib extension adding JSON-LD parser and serializer") - (description - "rdflib extension adding JSON-LD parser and serializer") - (license license:bsd-3))) (define-public python-schema-salad (package @@ -88,7 +63,7 @@ `(("python-cython" ,python-cython) ("python-setuptools" ,python-setuptools) ("python-rdflib-jsonld" ,python-rdflib-jsonld) - ("python-rdflib" ,python-rdflib) + ("python-rdflib-4.2" ,python-rdflib-4.2) ("python-mistune" ,python-mistune))) (propagated-inputs `(("python-rdflib" ,python-rdflib))) @@ -100,35 +75,3 @@ "Schema Annotations for Linked Avro Data (SALAD)") (license license:asl2.0))) -(define-public python-rdflibx - (package - (name "python-rdflibx") - (version "4.2.0") - (source - (origin - (method url-fetch) - (uri (string-append - "https://pypi.python.org/packages/source/r/rdflib/rdflib-" - version - ".tar.gz")) - (patches - ;; The patch has no effect under Python 3. - (list (search-patch "python2-rdflib-drop-sparqlwrapper.patch"))) - (sha256 - (base32 - "1h3f8yl9frjz8rsykjdjk83qsrcvld3qa7pkzh69s91h97ydl83l")))) - (build-system python-build-system) - (inputs - `(("python-html5lib" ,python-html5lib) - ("python-isodate" ,python-isodate) - ("python-pyparsing" ,python-pyparsing) - ("python-setuptools" ,python-setuptools))) - (home-page "https://github.com/RDFLib/rdflib") - (synopsis - "Python RDF library") - (description - "RDFLib is a Python library for working with RDF, a simple yet -powerful language for representing information.") - (license (license:non-copyleft "file://LICENSE" - "See LICENSE in the distribution.")))) - diff --git a/gn/packages/python.scm b/gn/packages/python.scm index 1f8afc1..a8b8a62 100644 --- a/gn/packages/python.scm +++ b/gn/packages/python.scm @@ -1,9 +1,5 @@ (define-module (gn packages python) - #:use-module ((guix licenses) - #:select (asl2.0 bsd-4 bsd-3 bsd-2 non-copyleft cc0 x11 x11-style - gpl2 gpl2+ gpl3+ lgpl2.0+ lgpl2.1 lgpl2.1+ lgpl3+ agpl3+ - isc psfl public-domain x11-style)) - #:use-module ((guix licenses) #:select (expat zlib) #:prefix license:) + #:use-module ((guix licenses) #:prefix license:) #:use-module (gnu packages) #:use-module (gnu packages attr) #:use-module (gnu packages compression) @@ -46,3 +42,61 @@ #:use-module (guix build-system trivial) #:use-module (srfi srfi-1)) +(define-public python-rdflib-jsonld + (package + (name "python-rdflib-jsonld") + (version "0.3") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/r/rdflib-jsonld/rdflib-jsonld-" + version + ".tar.gz")) + (sha256 + (base32 + "121a876k49xl85jvikyh4hzvm34456ikw66cra5dfyr15br1qjll")))) + (build-system python-build-system) + (arguments `(#:tests? #f)) ;; No tests. + (inputs + `(("python-setuptools" ,python-setuptools))) + (home-page + "https://github.com/RDFLib/rdflib-jsonld") + (synopsis + "rdflib extension adding JSON-LD parser and serializer") + (description + "rdflib extension adding JSON-LD parser and serializer") + (license license:bsd-3))) + +(define-public python-rdflib-4.2 + (package + (name "python-rdflib-4.2") + (version "4.2.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/r/rdflib/rdflib-" + version + ".tar.gz")) + (patches + ;; The patch has no effect under Python 3. + (list (search-patch "python2-rdflib-drop-sparqlwrapper.patch"))) + (sha256 + (base32 + "1h3f8yl9frjz8rsykjdjk83qsrcvld3qa7pkzh69s91h97ydl83l")))) + (build-system python-build-system) + (inputs + `(("python-html5lib" ,python-html5lib) + ("python-isodate" ,python-isodate) + ("python-pyparsing" ,python-pyparsing) + ("python-setuptools" ,python-setuptools))) + (home-page "https://github.com/RDFLib/rdflib") + (synopsis + "Python RDF library") + (description + "RDFLib is a Python library for working with RDF, a simple yet +powerful language for representing information.") + (license (license:non-copyleft "file://LICENSE" + "See LICENSE in the distribution.")))) + |