2021-01-23 16:21:32 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pkg-config, python3, serd, pcre, wafHook }:
|
2012-07-05 22:29:45 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "sord";
|
2021-01-23 16:21:32 +00:00
|
|
|
version = "unstable-2021-01-12";
|
2012-07-05 22:29:45 +01:00
|
|
|
|
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;
|
2012-07-05 22:29:45 +01:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config python3 wafHook ];
|
2020-03-23 02:07:43 +00:00
|
|
|
buildInputs = [ pcre ];
|
|
|
|
propagatedBuildInputs = [ serd ];
|
2012-07-05 22:29:45 +01:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://drobilla.net/software/sord";
|
2012-07-05 22:29:45 +01:00
|
|
|
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;
|
2012-07-05 22:29:45 +01:00
|
|
|
};
|
|
|
|
}
|