2022-10-30 15:09:59 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, doxygen
|
|
|
|
, fetchFromGitHub
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pcre
|
|
|
|
, pkg-config
|
|
|
|
, python3
|
|
|
|
, serd
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "sord";
|
2022-10-30 15:09:59 +00:00
|
|
|
version = "0.16.14";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "drobilla";
|
|
|
|
repo = pname;
|
2022-10-30 15:09:59 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
hash = "sha256-S22Szpg6iXeana5t6EpbOtRstthgrJ4Z2cBrf7a9ZBk=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-10-30 15:09:59 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
doxygen
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
python3
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ pcre ];
|
|
|
|
propagatedBuildInputs = [ serd ];
|
2022-10-30 15:09:59 +00:00
|
|
|
|
|
|
|
doCheck = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "http://drobilla.net/software/sord";
|
|
|
|
description = "A lightweight C library for storing RDF data in memory";
|
2022-10-30 15:09:59 +00:00
|
|
|
license = with licenses; [ bsd0 isc ];
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = [ maintainers.goibhniu ];
|
2020-08-20 17:08:02 +00:00
|
|
|
platforms = platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|