diff options
| author | Andreas Enge <andreas@enge.fr> | 2015-01-20 22:44:44 +0100 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2015-01-20 22:44:44 +0100 |
| commit | 4bb49be2c280cfd72c16c42eb844ebc027d7f73f (patch) | |
| tree | c16a089bf37dbbd7802d6d7ec37d8e21192621f9 /gnu | |
| parent | 673ab897a34dfa92aae21c431d8963eb2fc4f0d9 (diff) | |
gnu: Add python-rdflib.
* gnu/packages/rdf.scm (python-rdflib): New variable.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/rdf.scm | 36 |
1 files changed, 34 insertions, 2 deletions
diff --git a/gnu/packages/rdf.scm b/gnu/packages/rdf.scm index 10e67428c77..1acbd38dedc 100644 --- a/gnu/packages/rdf.scm +++ b/gnu/packages/rdf.scm | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | ;;; GNU Guix --- Functional package management for GNU | 1 | ;;; GNU Guix --- Functional package management for GNU |
| 2 | ;;; Copyright © 2013, 2014 Andreas Enge <andreas@enge.fr> | 2 | ;;; Copyright © 2013, 2014, 2015 Andreas Enge <andreas@enge.fr> |
| 3 | ;;; | 3 | ;;; |
| 4 | ;;; This file is part of GNU Guix. | 4 | ;;; This file is part of GNU Guix. |
| 5 | ;;; | 5 | ;;; |
| @@ -17,11 +17,13 @@ | |||
| 17 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | 17 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. |
| 18 | 18 | ||
| 19 | (define-module (gnu packages rdf) | 19 | (define-module (gnu packages rdf) |
| 20 | #:use-module ((guix licenses) #:select (lgpl2.0+ lgpl2.1 lgpl2.1+)) | 20 | #:use-module ((guix licenses) |
| 21 | #:select (bsd-style lgpl2.0+ lgpl2.1 lgpl2.1+)) | ||
| 21 | #:use-module (guix packages) | 22 | #:use-module (guix packages) |
| 22 | #:use-module (guix download) | 23 | #:use-module (guix download) |
| 23 | #:use-module (guix build-system cmake) | 24 | #:use-module (guix build-system cmake) |
| 24 | #:use-module (guix build-system gnu) | 25 | #:use-module (guix build-system gnu) |
| 26 | #:use-module (guix build-system python) | ||
| 25 | #:use-module (gnu packages) | 27 | #:use-module (gnu packages) |
| 26 | #:use-module (gnu packages databases) | 28 | #:use-module (gnu packages databases) |
| 27 | #:use-module (gnu packages boost) | 29 | #:use-module (gnu packages boost) |
| @@ -34,6 +36,7 @@ | |||
| 34 | #:use-module (gnu packages pcre) | 36 | #:use-module (gnu packages pcre) |
| 35 | #:use-module (gnu packages perl) | 37 | #:use-module (gnu packages perl) |
| 36 | #:use-module (gnu packages pkg-config) | 38 | #:use-module (gnu packages pkg-config) |
| 39 | #:use-module (gnu packages python) | ||
| 37 | #:use-module (gnu packages qt) | 40 | #:use-module (gnu packages qt) |
| 38 | #:use-module (gnu packages xml)) | 41 | #:use-module (gnu packages xml)) |
| 39 | 42 | ||
| @@ -198,3 +201,32 @@ provides a highly usable object-oriented C++/Qt4 framework for RDF data. It | |||
| 198 | uses different RDF storage solutions as backends through a simple plugin | 201 | uses different RDF storage solutions as backends through a simple plugin |
| 199 | system.") | 202 | system.") |
| 200 | (license lgpl2.0+))) | 203 | (license lgpl2.0+))) |
| 204 | |||
| 205 | (define-public python-rdflib | ||
| 206 | (package | ||
| 207 | (name "python-rdflib") | ||
| 208 | (version "4.1.2") | ||
| 209 | (source | ||
| 210 | (origin | ||
| 211 | (method url-fetch) | ||
| 212 | (uri (string-append | ||
| 213 | "https://pypi.python.org/packages/source/r/rdflib/rdflib-" | ||
| 214 | version | ||
| 215 | ".tar.gz")) | ||
| 216 | (sha256 | ||
| 217 | (base32 | ||
| 218 | "0kvaf332cqbi47rqzlpdx4mbkvw12mkrzkj8n9l19wk713d4py9w")))) | ||
| 219 | (build-system python-build-system) | ||
| 220 | (inputs | ||
| 221 | `(("python-htm5lib" ,python-html5lib) | ||
| 222 | ("python-isodate" ,python-isodate) | ||
| 223 | ("python-pyparsing" ,python-pyparsing) | ||
| 224 | ("python-setuptools" ,python-setuptools))) | ||
| 225 | (home-page "https://github.com/RDFLib/rdflib") | ||
| 226 | (synopsis | ||
| 227 | "Python RDF library") | ||
| 228 | (description | ||
| 229 | "RDFLib is a Python library for working with RDF, a simple yet | ||
| 230 | powerful language for representing information.") | ||
| 231 | (license (bsd-style "file://LICENSE" | ||
| 232 | "See LICENSE in the distribution.")))) | ||
