1{ lib, stdenv, fetchurl, pkg-config, python3, wafHook }:
2
3stdenv.mkDerivation rec {
4 pname = "serd";
5 version = "0.30.10";
6
7 src = fetchurl {
8 url = "https://download.drobilla.net/${pname}-${version}.tar.bz2";
9 sha256 = "sha256-r/qA3ux4kh+GM15vw/GLgK7+z0JPaldV6fL6DrBxDt8=";
10 };
11
12 dontAddWafCrossFlags = true;
13
14 nativeBuildInputs = [ pkg-config python3 wafHook ];
15
16 meta = with lib; {
17 description = "A lightweight C library for RDF syntax which supports reading and writing Turtle and NTriples";
18 homepage = "http://drobilla.net/software/serd";
19 license = licenses.mit;
20 maintainers = [ maintainers.goibhniu ];
21 mainProgram = "serdi";
22 platforms = platforms.unix;
23 };
24}