depot/third_party/nixpkgs/pkgs/development/libraries/serd/default.nix

22 lines
644 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, pkg-config, python3, wafHook }:
stdenv.mkDerivation rec {
pname = "serd";
version = "0.30.4";
src = fetchurl {
url = "https://download.drobilla.net/${pname}-${version}.tar.bz2";
sha256 = "168rn3m32c59qbar120f83ibcnnd987ij9p053kybgl7cmm6358c";
};
nativeBuildInputs = [ pkg-config python3 wafHook ];
meta = with lib; {
homepage = "http://drobilla.net/software/serd";
description = "A lightweight C library for RDF syntax which supports reading and writing Turtle and NTriples";
license = licenses.mit;
maintainers = [ maintainers.goibhniu ];
platforms = platforms.unix;
};
}