2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, python3, wafHook }:
|
2012-07-05 22:29:45 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "serd";
|
2021-03-09 12:55:44 +00:00
|
|
|
version = "0.30.10";
|
2012-07-05 22:29:45 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "https://download.drobilla.net/${pname}-${version}.tar.bz2";
|
2021-03-09 12:55:44 +00:00
|
|
|
sha256 = "sha256-r/qA3ux4kh+GM15vw/GLgK7+z0JPaldV6fL6DrBxDt8=";
|
2012-07-05 22:29:45 +01:00
|
|
|
};
|
|
|
|
|
2021-09-29 20:35:02 +01:00
|
|
|
dontAddWafCrossFlags = true;
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config python3 wafHook ];
|
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/serd";
|
2012-07-05 22:29:45 +01:00
|
|
|
description = "A lightweight C library for RDF syntax which supports reading and writing Turtle and NTriples";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
2020-07-20 10:20:00 +01:00
|
|
|
platforms = platforms.unix;
|
2012-07-05 22:29:45 +01:00
|
|
|
};
|
|
|
|
}
|