depot/third_party/nixpkgs/pkgs/development/libraries/sord/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

46 lines
832 B
Nix

{ 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;
};
}