nixpkgs/pkgs/development/libraries/sord/default.nix

33 lines
887 B
Nix
Raw Normal View History

2021-01-23 16:21:32 +00:00
{ lib, stdenv, fetchFromGitHub, pkg-config, python3, serd, pcre, wafHook }:
stdenv.mkDerivation rec {
pname = "sord";
2021-01-23 16:21:32 +00:00
version = "unstable-2021-01-12";
2021-01-23 16:21:32 +00:00
# Commit picked in mitigation of #109729
src = fetchFromGitHub {
owner = "drobilla";
repo = pname;
rev = "d2efdb2d026216449599350b55c2c85c0d3efb89";
sha256 = "hHTwK+K6cj9MGO77a1IXiUZtEbXZ08cLGkYZ5eMOIVA=";
fetchSubmodules = true;
};
2021-09-29 21:02:04 +01:00
preConfigure = ''
export PKGCONFIG="$PKG_CONFIG"
'';
nativeBuildInputs = [ pkg-config python3 wafHook ];
buildInputs = [ pcre ];
propagatedBuildInputs = [ serd ];
2021-09-29 21:02:04 +01:00
dontAddWafCrossFlags = true;
meta = with lib; {
homepage = "http://drobilla.net/software/sord";
description = "A lightweight C library for storing RDF data in memory";
license = licenses.mit;
maintainers = [ maintainers.goibhniu ];
2020-07-20 10:21:00 +01:00
platforms = platforms.unix;
};
}