2022-09-08 12:27:20 +02:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, doxygen
|
|
|
|
, fetchFromGitHub
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pcre
|
|
|
|
, pkg-config
|
|
|
|
, python3
|
|
|
|
, serd
|
|
|
|
}:
|
2012-07-05 23:29:45 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "sord";
|
2022-09-08 12:27:20 +02:00
|
|
|
version = "0.16.14";
|
2012-07-05 23:29:45 +02:00
|
|
|
|
2021-01-23 17:21:32 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "drobilla";
|
|
|
|
repo = pname;
|
2022-09-08 12:27:20 +02:00
|
|
|
rev = "v${version}";
|
|
|
|
hash = "sha256-S22Szpg6iXeana5t6EpbOtRstthgrJ4Z2cBrf7a9ZBk=";
|
2012-07-05 23:29:45 +02:00
|
|
|
};
|
|
|
|
|
2022-09-08 12:27:20 +02:00
|
|
|
nativeBuildInputs = [
|
|
|
|
doxygen
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
python3
|
|
|
|
];
|
2020-03-23 03:07:43 +01:00
|
|
|
buildInputs = [ pcre ];
|
|
|
|
propagatedBuildInputs = [ serd ];
|
2022-09-08 12:27:20 +02:00
|
|
|
|
|
|
|
doCheck = true;
|
2012-07-05 23:29:45 +02:00
|
|
|
|
2021-01-21 18:00:13 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://drobilla.net/software/sord";
|
2012-07-05 23:29:45 +02:00
|
|
|
description = "A lightweight C library for storing RDF data in memory";
|
2022-09-08 12:27:20 +02:00
|
|
|
license = with licenses; [ bsd0 isc ];
|
2012-07-05 23:29:45 +02:00
|
|
|
maintainers = [ maintainers.goibhniu ];
|
2020-07-20 11:21:00 +02:00
|
|
|
platforms = platforms.unix;
|
2012-07-05 23:29:45 +02:00
|
|
|
};
|
|
|
|
}
|