2022-10-30 15:09:59 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, doxygen
|
|
|
|
, fetchFromGitHub
|
|
|
|
, meson
|
|
|
|
, ninja
|
2024-01-02 11:29:13 +00:00
|
|
|
, pcre2
|
2022-10-30 15:09:59 +00:00
|
|
|
, pkg-config
|
|
|
|
, python3
|
|
|
|
, serd
|
2024-01-02 11:29:13 +00:00
|
|
|
, zix
|
2022-10-30 15:09:59 +00:00
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "sord";
|
2024-01-02 11:29:13 +00:00
|
|
|
version = "0.16.16";
|
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}";
|
2024-01-02 11:29:13 +00:00
|
|
|
hash = "sha256-GDs1m8KoEhJDdCf7kacQMZzCNPoZhESJds6KupQvOkU=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
outputs = [ "out" "dev" "doc" "man" ];
|
|
|
|
|
2022-10-30 15:09:59 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
doxygen
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
python3
|
|
|
|
];
|
2024-01-02 11:29:13 +00:00
|
|
|
buildInputs = [ pcre2 ];
|
|
|
|
propagatedBuildInputs = [ serd zix ];
|
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";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Lightweight C library for storing RDF data in memory";
|
2022-10-30 15:09:59 +00:00
|
|
|
license = with licenses; [ bsd0 isc ];
|
2024-07-27 06:49:29 +00:00
|
|
|
maintainers = [ ];
|
2020-08-20 17:08:02 +00:00
|
|
|
platforms = platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|