2013-11-25 22:09:20 +00:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2015-01-20 21:44:44 +00:00
|
|
|
;;; Copyright © 2013, 2014, 2015 Andreas Enge <andreas@enge.fr>
|
2016-08-14 12:14:32 +00:00
|
|
|
;;; Copyright © 2015, 2016 Ricardo Wurmus <rekado@elephly.net>
|
2013-11-25 22:09:20 +00:00
|
|
|
;;;
|
|
|
|
;;; This file is part of GNU Guix.
|
|
|
|
;;;
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
;;; your option) any later version.
|
|
|
|
;;;
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
;;;
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
2013-11-25 22:14:07 +00:00
|
|
|
(define-module (gnu packages rdf)
|
2015-01-20 21:44:44 +00:00
|
|
|
#:use-module ((guix licenses)
|
2016-02-22 20:05:06 +00:00
|
|
|
#:select (non-copyleft isc gpl2 lgpl2.1 lgpl2.1+))
|
2013-11-25 22:09:20 +00:00
|
|
|
#:use-module (guix packages)
|
|
|
|
#:use-module (guix download)
|
|
|
|
#:use-module (guix build-system cmake)
|
2013-12-05 23:05:13 +00:00
|
|
|
#:use-module (guix build-system gnu)
|
2015-01-20 21:44:44 +00:00
|
|
|
#:use-module (guix build-system python)
|
2015-02-10 09:07:57 +00:00
|
|
|
#:use-module (guix build-system waf)
|
2014-04-16 08:58:31 +00:00
|
|
|
#:use-module (gnu packages)
|
2015-01-26 08:49:52 +00:00
|
|
|
#:use-module (gnu packages autotools)
|
gnu: Consolidate databases in (gnu packages databases).
* gnu/packages/databases.scm: New file, with the contents of the
following deleted files.
* gnu/packages/mysql.scm, gnu/packages/postgresql.scm,
gnu/packages/recutils.scm, gnu/packages/sqlite.scm,
gnu/packages/bdb.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/apl.scm, gnu/packages/dc.scm, gnu/packages/games.scm,
gnu/packages/gnunet.scm, gnu/packages/linux.scm, gnu/packages/mail.scm,
gnu/packages/mpd.scm, gnu/packages/nvi.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/python.scm,
gnu/packages/qt.scm, gnu/packages/rdf.scm,
gnu/packages/version-control.scm: Adjust to new module name.
2014-09-08 15:48:03 +00:00
|
|
|
#:use-module (gnu packages databases)
|
2014-04-16 08:07:52 +00:00
|
|
|
#:use-module (gnu packages boost)
|
2013-12-05 23:05:13 +00:00
|
|
|
#:use-module (gnu packages compression)
|
|
|
|
#:use-module (gnu packages curl)
|
2015-01-26 08:49:52 +00:00
|
|
|
#:use-module (gnu packages cyrus-sasl)
|
gnu: Update module imports for asciidoc and doxygen.
This is a followup to commit 0573a923def01e54bf104e0015ade44ab42f694f.
* gnu/packages/algebra.scm, gnu/packages/bioinformatics.scm,
gnu/packages/fcitx.scm, gnu/packages/fish.scm,
gnu/packages/freedesktop.scm, gnu/packages/game-development.scm,
gnu/packages/gcc.scm, gnu/packages/graphics.scm, gnu/packages/image.scm,
gnu/packages/kodi.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/messaging.scm,
gnu/packages/mpd.scm, gnu/packages/music.scm, gnu/packages/rdf.scm,
gnu/packages/serialization.scm, gnu/packages/version-control.scm,
gnu/packages/web.scm, gnu/packages/wm.scm, gnu/packages/xdisorg.scm,
gnu/packages/xiph.scm: Change imports of (gnu packages asciidoc) or
(gnu packages doxygen) to (gnu packages documentation).
2016-05-13 00:18:15 +00:00
|
|
|
#:use-module (gnu packages documentation)
|
2014-05-17 12:43:34 +00:00
|
|
|
#:use-module (gnu packages gnupg)
|
|
|
|
#:use-module (gnu packages linux)
|
|
|
|
#:use-module (gnu packages multiprecision)
|
|
|
|
#:use-module (gnu packages pcre)
|
|
|
|
#:use-module (gnu packages perl)
|
2013-11-25 22:09:20 +00:00
|
|
|
#:use-module (gnu packages pkg-config)
|
2015-01-20 21:44:44 +00:00
|
|
|
#:use-module (gnu packages python)
|
2013-12-05 23:05:13 +00:00
|
|
|
#:use-module (gnu packages qt)
|
gnu: Move content of openssl module into tls module.
* gnu/packages/openssl.scm (openssl, perl-net-ssleay): Move to...
* gnu/packages/tls.scm: ...here.
* gnu/packages/openssl.scm: Delete file.
* gnu-system.am (GNU_SYSTEM_MODULES): Unregister deleted file.
* gnu/packages/{admin.scm, bittorrent.scm, certs.scm, ci.scm,
cyrus-sasl.scm, databases.scm, dns.scm, ebook.scm, enlightenment.scm,
gnunet.scm, libreoffice.scm, links.scm, mail.scm, messaging.scm,
networking.scm, ntp.scm, openldap.scm, package-management.scm, pdf.scm,
python.scm, qt.scm, rdesktop.scm, rdf.scm, ruby.scm, ssh.scm,
synergy.scm, tor.scm, version-control.scm, video.scm, vpn.scm,
w3m.scm, web.scm, weechat.scm, xiph.scm}: Adapt module import.
2015-07-05 16:27:24 +00:00
|
|
|
#:use-module (gnu packages tls)
|
2013-12-05 23:05:13 +00:00
|
|
|
#:use-module (gnu packages xml))
|
|
|
|
|
|
|
|
(define-public raptor2
|
|
|
|
(package
|
|
|
|
(name "raptor2")
|
2015-01-17 17:13:58 +00:00
|
|
|
(version "2.0.15")
|
2013-12-05 23:05:13 +00:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "http://download.librdf.org/source/" name
|
|
|
|
"-" version ".tar.gz"))
|
2017-06-08 16:50:52 +00:00
|
|
|
(patches
|
|
|
|
(search-patches "raptor2-heap-overflow.patch"))
|
2013-12-05 23:05:13 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2015-01-17 17:13:58 +00:00
|
|
|
"1vc02im4mpc28zxzgli68k6j0dakh0k3s389bm436yvqajxg19xd"))))
|
2013-12-05 23:05:13 +00:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(inputs
|
|
|
|
`(("curl" ,curl)
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
("libxslt" ,libxslt)
|
|
|
|
("zlib" ,zlib)))
|
2014-03-09 10:42:37 +00:00
|
|
|
(arguments
|
|
|
|
`(#:parallel-tests? #f))
|
2013-12-05 23:05:13 +00:00
|
|
|
(home-page "http://librdf.org/raptor/")
|
|
|
|
(synopsis "RDF syntax library")
|
|
|
|
(description "Raptor is a C library providing a set of parsers and
|
|
|
|
serialisers that generate Resource Description Framework (RDF) triples
|
|
|
|
by parsing syntaxes or serialise the triples into a syntax. The supported
|
|
|
|
parsing syntaxes are RDF/XML, N-Quads, N-Triples 1.0 and 1.1, TRiG,
|
|
|
|
Turtle 2008 and 2013, RDFa 1.0 and 1.1, RSS tag soup including all versions
|
|
|
|
of RSS, Atom 1.0 and 0.3, GRDDL and microformats for HTML, XHTML and
|
|
|
|
XML. The serialising syntaxes are RDF/XML (regular, abbreviated, XMP),
|
|
|
|
Turtle 2013, N-Quads, N-Triples 1.1, Atom 1.0, RSS 1.0, GraphViz DOT,
|
|
|
|
HTML and JSON.")
|
|
|
|
(license lgpl2.1+))) ; or any choice of gpl2+ or asl2.0
|
2013-11-25 22:09:20 +00:00
|
|
|
|
2014-04-16 08:07:52 +00:00
|
|
|
(define-public clucene
|
|
|
|
(package
|
|
|
|
(name "clucene")
|
|
|
|
(version "2.3.3.4")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://sourceforge/clucene/"
|
|
|
|
"clucene-core-unstable/2.3/clucene-core-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2014-04-16 08:58:31 +00:00
|
|
|
"1arffdwivig88kkx685pldr784njm0249k0rb1f1plwavlrw9zfx"))
|
2016-04-08 12:18:13 +00:00
|
|
|
(patches (search-patches "clucene-pkgconfig.patch"
|
|
|
|
"clucene-contribs-lib.patch"))))
|
2014-04-16 08:07:52 +00:00
|
|
|
(build-system cmake-build-system)
|
|
|
|
(inputs
|
|
|
|
`(("boost" ,boost) ; could also use bundled copy
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
(arguments
|
|
|
|
`(#:test-target "cl_test"
|
2014-10-06 11:26:19 +00:00
|
|
|
#:configure-flags '("-DBUILD_CONTRIBS_LIB=ON")
|
2014-04-16 08:07:52 +00:00
|
|
|
#:tests? #f)) ; Tests do not compile, as TestIndexSearcher.cpp uses
|
|
|
|
; undeclared usleep. After fixing this, one needs to run
|
|
|
|
; "make test" in addition to "make cl_test", then
|
|
|
|
; SimpleTest fails.
|
|
|
|
; Notice that the library appears to be unmaintained
|
|
|
|
; with no reaction to bug reports.
|
|
|
|
(home-page "http://clucene.sourceforge.net/")
|
|
|
|
(synopsis "C text indexing and searching library")
|
|
|
|
(description "CLucene is a high-performance, scalable, cross platform,
|
|
|
|
full-featured indexing and searching API. It is a port of the very popular
|
|
|
|
Java Lucene text search engine API to C++.")
|
|
|
|
(license lgpl2.1)))
|
|
|
|
|
2015-01-26 08:49:52 +00:00
|
|
|
(define-public lrdf
|
|
|
|
(package
|
|
|
|
(name "lrdf")
|
|
|
|
(version "0.5.0")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://github.com/swh/LRDF/archive/"
|
|
|
|
version ".tar.gz"))
|
gnu: Add 'file-name' fields for github source tarballs without a name.
* gnu/packages/aarddict.scm (aarddict), gnu/packages/algebra.scm (arb),
gnu/packages/audio.scm (jack-2, lvtk),
gnu/packages/bioinformatics.scm (bedops, bedtools, bowtie),
gnu/packages/game-development.scm (tiled),
gnu/packages/games.scm (minetest-data, minetest, retroarch),
gnu/packages/jrnl.scm (jrnl), gnu/packages/kde.scm (qjson),
gnu/packages/libevent.scm (libuv), gnu/packages/linux.scm (pflask),
gnu/packages/mail.scm (offlineimap, libetpan),
gnu/packages/maths.scm (arpack-ng), gnu/packages/ninja.scm (ninja),
gnu/packages/nutrition.scm (gourmet),
gnu/packages/python.scm (python-cairocffi), gnu/packages/rdf.scm (lrdf),
gnu/packages/ruby.scm (ruby-i18n), gnu/packages/sxiv.scm (sxiv): Add
'file-name' field to origin.
2015-02-27 17:23:27 +00:00
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
2015-01-26 08:49:52 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"18p2flb2sv2hq6w2qkd29z9c7knnwqr3f12i2srshlzx6vwkm05s"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:phases (alist-cons-after
|
2015-03-08 03:39:43 +00:00
|
|
|
'remove-out-of-tree-references 'autoreconf
|
2015-01-26 08:49:52 +00:00
|
|
|
(lambda _
|
2015-03-08 03:39:43 +00:00
|
|
|
(zero? (system* "autoreconf" "-vfi")))
|
2015-02-27 16:53:06 +00:00
|
|
|
(alist-cons-after
|
2015-03-08 03:39:43 +00:00
|
|
|
'unpack 'remove-out-of-tree-references
|
2015-02-27 16:53:06 +00:00
|
|
|
(lambda _
|
2015-03-08 03:39:43 +00:00
|
|
|
;; remove symlinks to files in /usr/
|
|
|
|
(delete-file-recursively "m4")
|
|
|
|
(for-each delete-file '("config.guess"
|
|
|
|
"config.sub"
|
|
|
|
"depcomp"
|
|
|
|
"install-sh"
|
|
|
|
"ltmain.sh"
|
|
|
|
"missing"))
|
|
|
|
;; remove_test depends on an out-of-tree RDF file
|
|
|
|
(substitute* "examples/Makefile.am"
|
|
|
|
(("instances_test remove_test") "instances_test")
|
|
|
|
(("\\$\\(TESTS\\) remove_test") "$(TESTS)")))
|
2015-01-26 08:49:52 +00:00
|
|
|
%standard-phases))))
|
|
|
|
(inputs
|
|
|
|
`(("raptor" ,raptor2)
|
|
|
|
("cyrus-sasl" ,cyrus-sasl)
|
|
|
|
("openssl" ,openssl)
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
(native-inputs
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
("automake" ,automake)
|
|
|
|
("libtool" ,libtool)
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
(home-page "https://github.com/swh/LRDF")
|
|
|
|
(synopsis "Lightweight RDF library for accessing LADSPA plugin metadata")
|
|
|
|
(description
|
|
|
|
"LRDF is a library to make it easy to manipulate RDF files describing
|
|
|
|
LADSPA plugins. It can also be used for general RDF manipulation. It can
|
|
|
|
read RDF/XLM and N3 files and export N3 files, and it also has a light
|
gnu packages: Clean up synopses and descriptions.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm, gnu/packages/bittorrent.scm,
gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/databases.scm, gnu/packages/enchant.scm,
gnu/packages/firmware.scm, gnu/packages/fonts.scm,
gnu/packages/freedesktop.scm, gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gsasl.scm,
gnu/packages/gstreamer.scm, gnu/packages/gtk.scm, gnu/packages/guile.scm,
gnu/packages/haskell.scm, gnu/packages/language.scm,
gnu/packages/lesstif.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/llvm.scm, gnu/packages/maths.scm,
gnu/packages/mcrypt.scm, gnu/packages/mit-krb5.scm, gnu/packages/mp3.scm,
gnu/packages/ncdu.scm, gnu/packages/networking.scm, gnu/packages/ntp.scm,
gnu/packages/ocaml.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/pretty-print.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python.scm,
gnu/packages/rdesktop.scm, gnu/packages/rdf.scm, gnu/packages/ruby.scm,
gnu/packages/slang.scm, gnu/packages/slim.scm, gnu/packages/telephony.scm,
gnu/packages/tls.scm, gnu/packages/tmux.scm, gnu/packages/tre.scm,
gnu/packages/unrtf.scm, gnu/packages/version-control.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wget.scm,
gnu/packages/xdisorg.scm, gnu/packages/xfce.scm, gnu/packages/xiph.scm:
Fix typos. Trim long lines. Add missing periods in the end of sentences.
Use double spaces between sentences. Remove trailing whitespaces.
2015-07-17 12:16:07 +00:00
|
|
|
taxonomic inference capability.")
|
2015-01-26 08:49:52 +00:00
|
|
|
(license gpl2)))
|
|
|
|
|
2014-05-17 12:43:34 +00:00
|
|
|
(define-public rasqal
|
|
|
|
(package
|
|
|
|
(name "rasqal")
|
2015-01-17 17:47:03 +00:00
|
|
|
(version "0.9.33")
|
2014-05-17 12:43:34 +00:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "http://download.librdf.org/source/" name
|
|
|
|
"-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2015-01-17 17:47:03 +00:00
|
|
|
"0z6rrwn4jsagvarg8d5zf0j352kjgi33py39jqd29gbhcnncj939"))))
|
2014-05-17 12:43:34 +00:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(native-inputs
|
|
|
|
`(("perl" ,perl)
|
|
|
|
("perl-xml-dom" ,perl-xml-dom) ; for the tests
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
(inputs
|
|
|
|
`(("libgcrypt" ,libgcrypt)
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
("mpfr" ,mpfr)
|
|
|
|
("pcre" ,pcre)
|
|
|
|
("util-linux" ,util-linux)))
|
2014-05-17 12:55:27 +00:00
|
|
|
(propagated-inputs
|
|
|
|
`(("raptor2" ,raptor2))) ; stipulated by rasqal.pc
|
2014-05-17 12:43:34 +00:00
|
|
|
(arguments
|
|
|
|
`(#:parallel-tests? #f
|
|
|
|
; test failure reported upstream, see
|
|
|
|
; http://bugs.librdf.org/mantis/view.php?id=571
|
|
|
|
#:tests? #f))
|
|
|
|
(home-page "http://librdf.org/rasqal/")
|
|
|
|
(synopsis "RDF query library")
|
|
|
|
(description "Rasqal is a C library that handles Resource Description
|
|
|
|
Framework (RDF) query language syntaxes, query construction and execution
|
|
|
|
of queries returning results as bindings, boolean, RDF graphs/triples or
|
|
|
|
syntaxes. The supported query languages are SPARQL Query 1.0,
|
|
|
|
SPARQL Query 1.1, SPARQL Update 1.1 (no executing) and the Experimental
|
|
|
|
SPARQL extensions (LAQRS). Rasqal can write binding query results in the
|
|
|
|
SPARQL XML, SPARQL JSON, CSV, TSV, HTML, ASCII tables, RDF/XML and
|
2014-05-17 12:59:15 +00:00
|
|
|
Turtle/N3 and read them in SPARQL XML, RDF/XML and Turtle/N3.")
|
|
|
|
(license lgpl2.1+))) ; or any choice of gpl2+ or asl2.0
|
|
|
|
|
|
|
|
(define-public redland
|
|
|
|
(package
|
|
|
|
(name "redland")
|
|
|
|
(version "1.0.17")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "http://download.librdf.org/source/" name
|
|
|
|
"-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"109n0kp39p966dpiasad2bb7q66rwbcb9avjvimw28chnpvlf66y"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(native-inputs
|
|
|
|
`(("perl" ,perl) ; needed for installation
|
|
|
|
("pkg-config" ,pkg-config)))
|
2015-05-17 08:04:37 +00:00
|
|
|
(propagated-inputs
|
|
|
|
`(("rasqal" ,rasqal))) ; in Requires.private field of .pc
|
2014-05-17 12:59:15 +00:00
|
|
|
(inputs
|
2015-05-17 08:04:37 +00:00
|
|
|
`(("bdb" ,bdb)))
|
2014-05-17 12:59:15 +00:00
|
|
|
(home-page "http://librdf.org/")
|
|
|
|
(synopsis "RDF library")
|
|
|
|
(description "The Redland RDF Library (librdf) provides the RDF API
|
|
|
|
and triple stores.")
|
2014-05-17 12:43:34 +00:00
|
|
|
(license lgpl2.1+))) ; or any choice of gpl2+ or asl2.0
|
|
|
|
|
2015-02-10 09:07:57 +00:00
|
|
|
(define-public serd
|
|
|
|
(package
|
|
|
|
(name "serd")
|
2017-04-10 16:39:12 +00:00
|
|
|
(version "0.26.0")
|
2015-02-10 09:07:57 +00:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "http://download.drobilla.net/serd-"
|
2017-04-10 16:39:12 +00:00
|
|
|
version ".tar.bz2"))
|
2015-02-10 09:07:57 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2017-04-10 16:39:12 +00:00
|
|
|
"164j43am4hka2vbzw4n52zy7rafgp6kmkgbcbvap368az644mr73"))))
|
2015-02-10 09:07:57 +00:00
|
|
|
(build-system waf-build-system)
|
2015-04-30 14:30:41 +00:00
|
|
|
(arguments
|
|
|
|
`(#:tests? #f ; no check target
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-before
|
|
|
|
'configure 'set-ldflags
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(setenv "LDFLAGS"
|
|
|
|
(string-append "-Wl,-rpath="
|
|
|
|
(assoc-ref outputs "out") "/lib")))))))
|
2015-02-10 09:07:57 +00:00
|
|
|
(home-page "http://drobilla.net/software/serd/")
|
|
|
|
(synopsis "Library for RDF syntax supporting Turtle and NTriples")
|
|
|
|
(description
|
|
|
|
"Serd is a lightweight C library for RDF syntax which supports reading
|
|
|
|
and writing Turtle and NTriples. Serd is not intended to be a swiss-army
|
|
|
|
knife of RDF syntax, but rather is suited to resource limited or performance
|
|
|
|
critical applications (e.g. converting many gigabytes of NTriples to Turtle),
|
|
|
|
or situations where a simple reader/writer with minimal dependencies is
|
|
|
|
ideal (e.g. in LV2 implementations or embedded applications).")
|
|
|
|
(license isc)))
|
|
|
|
|
2015-02-10 09:09:39 +00:00
|
|
|
(define-public sord
|
|
|
|
(package
|
|
|
|
(name "sord")
|
2017-04-10 16:39:55 +00:00
|
|
|
(version "0.16.0")
|
2015-02-10 09:09:39 +00:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "http://download.drobilla.net/sord-"
|
2017-04-10 16:39:55 +00:00
|
|
|
version ".tar.bz2"))
|
2015-02-10 09:09:39 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2017-04-10 16:39:55 +00:00
|
|
|
"0nh3i867g9z4kdlnk82cg2kcw8r02qgifxvkycvzb4vfjv4v4g4x"))))
|
2015-02-10 09:09:39 +00:00
|
|
|
(build-system waf-build-system)
|
2015-04-30 14:32:30 +00:00
|
|
|
(arguments
|
|
|
|
`(#:tests? #f ; no check target
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-before
|
|
|
|
'configure 'set-ldflags
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(setenv "LDFLAGS"
|
|
|
|
(string-append "-Wl,-rpath="
|
|
|
|
(assoc-ref outputs "out") "/lib")))))))
|
2015-02-10 09:09:39 +00:00
|
|
|
(inputs
|
|
|
|
`(("serd" ,serd)))
|
|
|
|
(native-inputs
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
(home-page "http://drobilla.net/software/sord/")
|
|
|
|
(synopsis "C library for storing RDF data in memory")
|
|
|
|
(description
|
|
|
|
"Sord is a lightweight C library for storing RDF data in memory.")
|
|
|
|
(license isc)))
|
|
|
|
|
2015-01-20 21:44:44 +00:00
|
|
|
(define-public python-rdflib
|
|
|
|
(package
|
|
|
|
(name "python-rdflib")
|
|
|
|
(version "4.1.2")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
|
|
|
"https://pypi.python.org/packages/source/r/rdflib/rdflib-"
|
|
|
|
version
|
|
|
|
".tar.gz"))
|
2015-02-24 23:56:31 +00:00
|
|
|
(patches
|
|
|
|
;; The patch has no effect under Python 3.
|
2016-04-08 12:18:13 +00:00
|
|
|
(search-patches "python2-rdflib-drop-sparqlwrapper.patch"))
|
2015-01-20 21:44:44 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0kvaf332cqbi47rqzlpdx4mbkvw12mkrzkj8n9l19wk713d4py9w"))))
|
|
|
|
(build-system python-build-system)
|
2016-12-14 21:24:50 +00:00
|
|
|
(arguments
|
|
|
|
'(;; FIXME: Three test failures. Try uncommenting the below next update.
|
|
|
|
#:tests? #f))
|
|
|
|
;; #:phases
|
|
|
|
;; (modify-phases %standard-phases
|
|
|
|
;; (replace 'check
|
|
|
|
;; (lambda _
|
|
|
|
;; ;; Run tests from the build directory so python3 only
|
|
|
|
;; ;; sees the installed 2to3 version.
|
|
|
|
;; (zero? (system* "nosetests" "--where=./build/src")))))
|
|
|
|
(native-inputs
|
|
|
|
`(("python-nose" ,python-nose)))
|
gnu: Fix python inputs, part 1: all inputs become propagated-inputs.
This patch contains the changes where all [inputs] are changed to
[propagated-inputs]
* gnu/packages/python.scm (python-passlib, python-paramiko, python-ccm,
python-babel, python-keyring python-pandas, python-tzlocal,
python-parse-type, python-nose2, python-pytest, python-pytest-mock,
python-pytest-xdist, python-scripttest, python-testtools, python-pytest-cov,
python-testscenarios, python-pbr-0.11, python-oauthlib, python-jinja2,
python-sphinx, python-tzlocal, python-bugz, python2-pytest-mock, behave,
pelican, sqlalchemy-utils, python-pygridtools, python-urwidtrees,
python-tornado, python2-tornado, python-debian, python-execnet,
python-pytest-cache, pytest-localserver, python-clint, python-rply,
python-hy, python-rauth, python-rsa, python-celery, python-vobject, s3cmd,
python-prompt-toolkit, ptpython, python-requests-oauthlib, python-stem,
python-binaryornot, python2-binaryornot, python-nltk, python-pymongo,
python-schematics, python-url, python2-url, python-freezegun,
python-glances, python-graphql-core, python-graphql-relay, python-graphene,
python-nautilus, python-s3transfer): All [inputs] become
[propagated-inputs].
* gnu/packages/bioinformatics.scm (python-biopython): Likewise.
* gnu/packages/django.scm (pytest-django): Likewise.
* gnu/packages/mail.scm (python-mailmanclient): Likewise.
* gnu/packages/password-utils.scm (python-bcrypt): Likewise.
* gnu/packages/propbuf.scm (python-protobuf): Likewise.
* gnu/packages/rdf.scm (python-rdflib): Likewise.
SQACH all become propagated
2016-10-13 11:33:43 +00:00
|
|
|
(propagated-inputs
|
2015-02-24 22:08:53 +00:00
|
|
|
`(("python-html5lib" ,python-html5lib)
|
2015-01-20 21:44:44 +00:00
|
|
|
("python-isodate" ,python-isodate)
|
gnu: Remove python-setuptools and python2-setuptools from inputs (part 2)
This patch contains the changes where removing setuptools from the inputs
affected some code-lines beside.
* gnu/packages/admin.scm (ansible): Remove all [inputs], [native-inputs] and
[propagated-inputs] where python-setuptools or python2-setuptools are the
sole entries. Remove python-setuptools and python2-setuptools listed on a
line by its own from [inputs], [native-inputs] and [propagated-inputs].
* gnu/packages/backup.scm (duplicity): Likewise.
* gnu/packages/bioinformatics.scm (bamm, python2-pybedtools,
python2-bx-python, python2-dendropy, python-pysam, python2-pysam, clipper,
crossmap, cutadapt, deeptools, grit, idr, python2-warpedlmm,
pbtranscript-tofu, seqmagick): Likewise.
* gnu/packages/docbook.scm (dblatex): Likewise.
* gnu/packages/freedesktop.scm (python-pyxdg, python2-pyxdg): Likewise.
* gnu/packages/lirc.scm (python2-lirc): Likewise.
* gnu/packages/mp3.scm (eyed3): Likewise.
* gnu/packages/nutrition.scm (gourmet): Likewise.
* gnu/packages/openstack.scm (python-hacking, python2-hacking,
python-os-testr, python2-os-testr,
python-stevedore, python2-stevedore,
python-tempest-lib, python2-tempest-lib,
python-oslo.log, python2-oslo.log,
python-keystoneclient, python2-keystoneclient): Likewise.
* gnu/packages/password-utils.scm (assword): Likewise.
* gnu/packages/python.scm (python-passlib, python2-passlib,
python-babel, python2-babel,
python-parse-type,
python-pytest, python2-pytest,
python-scripttest, python2-scripttest,
python-testtools, python2-testtools,
python-testscenarios, python2-testscenarios,
python-subunit, python2-subunit,
python-pbr-0.11,
python-pbr, python2-pbr,
python-testrepository, python2-testrepository,
behave,
python-wheel, python2-wheel,
python-requests, python2-requests,
python-jsonschema, python2-jsonschema,
python-pyjwt, python2-pyjwt,
python-virtualenv, python2-virtualenv,
python-jinja2, python2-jinja2,
python-joblib, python2-joblib,
python-sphinx, python2-sphinx,
python-feedgenerator, python2-feedgenerator,
python-scikit-image, python2-scikit-image,
python-redis, python2-redis,
python2-fastlmm,
python-numpydoc, python2-numpydoc,
python-matplotlib, python2-matplotlib,
python2-pysnptools,
python-rpy2, python2-rpy2,
python-pillow, python2-pillow,
python-pycparser, python2-pycparser,
python-cffi, python2-cffi,
python-cairocffi, python2-cairocffi,
python-drmaa, python2-drmaa,
python-pathpy, python2-pathpy,
python-simplegeneric, python2-simplegeneric,
python-ipython, python2-ipython,
python-apsw, python2-apsw,
python-lxml, python2-lxml,
python-networkx, python2-networkx,
python-pyzmq, python2-pyzmq,
python-mccabe, python2-mccabe,
python-mccabe-0.2.1,
python-flake8, python2-flake8,
python-flake8-2.2.4,
python-mistune, python2-mistune,
python-ptyprocess, python2-ptyprocess,
python-llfuse, python2-llfuse,
python-webob, python2-webob,
python-xlrd, python2-xlrd,
python-tables, python2-tables,
python-pip, python2-pip,
python-libarchive-c, python2-libarchive-c,
python-docopt, python2-docopt,
python-pyrfc3339, python2-pyrfc3339,
python-configobj, python2-configobj,
python-clint, python2-clint,
python-rply, python2-rply,
python2-rpython,
python-widgetsnbextension, python2-widgetsnbextension
jupyter,
python-jupyter-console, python2-jupyter-console,
python-hy, python2-hy,
python-urllib3, python2-urllib3,
python-rsa, python2-rsa,
python-tox, python2-tox,
python2-hypothesis,
python-paste, python2-paste,
python-pastescript, python2-pastescript,
python2-unicodecsv,
python-pkgconfig, python2-pkgconfig,
python2-rope,
python-sqlparse, python2-sqlparse,
python-gevent, python2-gevent,
python-tabulate, python2-tabulate,
python-arrow, python2-arrow,
python-cleo, python2-cleo,
python-fake-factory, python2-fake-factory,
ptpython): Likewise.
* gnu/packages/rdf.scm (python-rdflib, python2-rdflib): Likewise.
* gnu/packages/terminals.scm (asciinema): Likewise.
* gnu/packages/version-control.scm (git-annex-remote-hubic): Likewise.
* gnu/packages/xdisorg.scm (arandr): Likewise.
2016-09-28 11:30:54 +00:00
|
|
|
("python-pyparsing" ,python-pyparsing)))
|
2015-01-20 21:44:44 +00:00
|
|
|
(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.")
|
gnu: Update packages to use 'non-copyleft' instead of 'bsd-style'.
* gnu/packages/avr.scm, gnu/packages/compression.scm,
gnu/packages/curl.scm, gnu/packages/cyrus-sasl.scm,
gnu/packages/databases.scm, gnu/packages/firmware.scm,
gnu/packages/flex.scm, gnu/packages/fontutils.scm,
gnu/packages/gd.scm, gnu/packages/ghostscript.scm,
gnu/packages/gnunet.scm, gnu/packages/graphics.scm,
gnu/packages/hugs.scm, gnu/packages/image.scm,
gnu/packages/linux.scm, gnu/packages/mail.scm,
gnu/packages/maths.scm, gnu/packages/mit-krb5.scm,
gnu/packages/python.scm, gnu/packages/rdf.scm,
gnu/packages/ssh.scm, gnu/packages/tcl.scm,
gnu/packages/xdisorg.scm, gnu/packages/xiph.scm,
gnu/packages/yasm.scm, gnu/packages/zip.scm: Use 'non-copyleft'
instead of 'bsd-style'.
2015-03-14 18:26:34 +00:00
|
|
|
(license (non-copyleft "file://LICENSE"
|
2015-01-20 21:44:44 +00:00
|
|
|
"See LICENSE in the distribution."))))
|
2015-02-24 23:56:31 +00:00
|
|
|
|
|
|
|
(define-public python2-rdflib
|
2016-12-14 21:24:50 +00:00
|
|
|
(package-with-python2 python-rdflib))
|