nixpkgs-suyu/pkgs/development/libraries/serd/default.nix

28 lines
750 B
Nix
Raw Normal View History

2017-12-07 14:04:43 +01:00
{ stdenv, fetchurl, pkgconfig, python }:
stdenv.mkDerivation rec {
name = "serd-${version}";
2017-12-07 14:04:43 +01:00
version = "0.28.0";
src = fetchurl {
url = "https://download.drobilla.net/${name}.tar.bz2";
2017-12-07 14:04:43 +01:00
sha256 = "1v4ai4zyj1q3255nghicns9817jkwb3bh60ssprsjmnjfj41mwhx";
};
2017-12-07 14:04:43 +01:00
nativeBuildInputs = [ pkgconfig python ];
2017-12-07 14:04:43 +01:00
configurePhase = "python waf configure --prefix=$out";
2017-12-07 14:04:43 +01:00
buildPhase = "python waf";
2017-12-07 14:04:43 +01:00
installPhase = "python waf install";
meta = with stdenv.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.linux;
};
}