about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/sord/default.nix
blob: 6ce3ca60c0f59a823381b487c4ddc5518dd498bd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{ lib
, stdenv
, doxygen
, fetchFromGitHub
, meson
, ninja
, pcre2
, pkg-config
, python3
, serd
, zix
}:

stdenv.mkDerivation rec {
  pname = "sord";
  version = "0.16.16";

  src = fetchFromGitHub {
    owner = "drobilla";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-GDs1m8KoEhJDdCf7kacQMZzCNPoZhESJds6KupQvOkU=";
  };

  outputs = [ "out" "dev" "doc" "man" ];

  nativeBuildInputs = [
    doxygen
    meson
    ninja
    pkg-config
    python3
  ];
  buildInputs = [ pcre2 ];
  propagatedBuildInputs = [ serd zix ];

  doCheck = true;

  meta = with lib; {
    homepage = "http://drobilla.net/software/sord";
    description = "A lightweight C library for storing RDF data in memory";
    license = with licenses; [ bsd0 isc ];
    maintainers = [ maintainers.goibhniu ];
    platforms = platforms.unix;
  };
}