lol
1{ lib
2, stdenv
3, doxygen
4, fetchFromGitHub
5, meson
6, ninja
7, pcre
8, pkg-config
9, python3
10, serd
11}:
12
13stdenv.mkDerivation rec {
14 pname = "sord";
15 version = "0.16.14";
16
17 src = fetchFromGitHub {
18 owner = "drobilla";
19 repo = pname;
20 rev = "v${version}";
21 hash = "sha256-S22Szpg6iXeana5t6EpbOtRstthgrJ4Z2cBrf7a9ZBk=";
22 };
23
24 nativeBuildInputs = [
25 doxygen
26 meson
27 ninja
28 pkg-config
29 python3
30 ];
31 buildInputs = [ pcre ];
32 propagatedBuildInputs = [ serd ];
33
34 doCheck = true;
35
36 meta = with lib; {
37 homepage = "http://drobilla.net/software/sord";
38 description = "A lightweight C library for storing RDF data in memory";
39 license = with licenses; [ bsd0 isc ];
40 maintainers = [ maintainers.goibhniu ];
41 platforms = platforms.unix;
42 };
43}