From 4aaa27e4d2d9edbd919a1e87eb8e9c0feb895444 Mon Sep 17 00:00:00 2001 From: pukkamustard Date: Fri, 28 Aug 2020 12:03:42 +0200 Subject: gnu: Add hdt-cpp. * gnu/packages/rdf.scm (hdt-cpp): New variable. Signed-off-by: Leo Famulari --- gnu/packages/rdf.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'gnu/packages/rdf.scm') diff --git a/gnu/packages/rdf.scm b/gnu/packages/rdf.scm index e68e57818d..b1906a6145 100644 --- a/gnu/packages/rdf.scm +++ b/gnu/packages/rdf.scm @@ -6,6 +6,7 @@ ;;; Copyright © 2020 Alexandros Theodotou ;;; Copyright © 2020 Pjotr Prins ;;; Copyright © 2020 Efraim Flashner +;;; Copyright © 2020 pukkamustard ;;; ;;; This file is part of GNU Guix. ;;; @@ -413,3 +414,32 @@ (define-public python-cfgraph (description "This package contains RDF Collections flattener for @code{rdflib}.") (license license:asl2.0))) + +(define-public hdt-cpp + (package + (name "hdt-cpp") + (version "1.3.3") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rdfhdt/hdt-cpp") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1vsq80jnix6cy78ayag7v8ajyw7h8dqyad1q6xkf2hzz3skvr34z")))) + (build-system gnu-build-system) + (inputs + `(("serd" ,serd) + ("zlib" ,zlib))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool) + ("pkg-config" ,pkg-config))) + (home-page "https://github.com/rdfhdt/hdt-cpp") + (synopsis "C++ implementation of the HDT compression format") + (description "Header Dictionary Triples (HDT) is a compression format for +RDF data that can also be queried for Triple Patterns. This package provides a +C++ library as well as various command-line tools to to work with HDT.") +(license license:lgpl2.1+))) -- cgit v1.2.3