mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 18:23:09 +00:00
57bccb3cb8
* treewide: http -> https sources This updates the source urls of all top-level packages from http to https where possible. * buildtorrent: fix url and tab -> spaces
28 lines
750 B
Nix
28 lines
750 B
Nix
{ stdenv, fetchurl, pkgconfig, python }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "serd-${version}";
|
|
version = "0.28.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://download.drobilla.net/${name}.tar.bz2";
|
|
sha256 = "1v4ai4zyj1q3255nghicns9817jkwb3bh60ssprsjmnjfj41mwhx";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig python ];
|
|
|
|
configurePhase = "python waf configure --prefix=$out";
|
|
|
|
buildPhase = "python waf";
|
|
|
|
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;
|
|
};
|
|
}
|