nixpkgs/pkgs/development/libraries/sord/default.nix
2023-05-17 21:53:05 +01:00

46 lines
820 B
Nix

{ lib
, stdenv
, doxygen
, fetchFromGitHub
, meson
, ninja
, pcre
, pkg-config
, python3
, serd
}:
stdenv.mkDerivation rec {
pname = "sord";
version = "0.16.14";
src = fetchFromGitHub {
owner = "drobilla";
repo = pname;
rev = "v${version}";
hash = "sha256-S22Szpg6iXeana5t6EpbOtRstthgrJ4Z2cBrf7a9ZBk=";
};
outputs = [ "out" "dev" "doc" "man" ];
nativeBuildInputs = [
doxygen
meson
ninja
pkg-config
python3
];
buildInputs = [ pcre ];
propagatedBuildInputs = [ serd ];
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;
};
}