@@ -0,0 +1,27 @@
1+{ stdenv, fetchFromGitHub, autoreconfHook, libtool, pkgconfig, zlib, serd }:
2+
3+stdenv.mkDerivation rec {
4+ pname = "hdt";
5+ version = "1.3.3";
6+
7+ src = fetchFromGitHub {
8+ owner = "rdfhdt";
9+ repo = "hdt-cpp";
10+ rev = "v${version}";
11+ sha256 = "1vsq80jnix6cy78ayag7v8ajyw7h8dqyad1q6xkf2hzz3skvr34z";
12+ };
13+
14+ buildInputs = [ zlib serd ];
15+
16+ nativeBuildInputs = [ autoreconfHook libtool pkgconfig ];
17+
18+ enableParallelBuilding = true;
19+
20+ meta = with stdenv.lib; {
21+ homepage = "http://www.rdfhdt.org/";
22+ description = "Header Dictionary Triples (HDT) is a compression format for RDF data that can also be queried for Triple Patterns.";
23+ license = licenses.lgpl21;
24+ platforms = platforms.linux;
25+ maintainers = [ maintainers.koslambrou ];
26+ };
27+}