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";
|
2020-05-10 14:00:52 +01:00
|
|
|
version = "0.30.4";
|
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";
|
2020-05-10 14:00:52 +01:00
|
|
|
sha256 = "168rn3m32c59qbar120f83ibcnnd987ij9p053kybgl7cmm6358c";
|
2012-07-05 22:29:45 +01:00
|
|
|
};
|
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|