mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 06:03:40 +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
29 lines
804 B
Nix
29 lines
804 B
Nix
{ stdenv, fetchurl, lv2, pkgconfig, python, serd, sord }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "sratom-${version}";
|
|
version = "0.6.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://download.drobilla.net/${name}.tar.bz2";
|
|
sha256 = "0hrxd9i66s06bpn6i3s9ka95134g3sm8yscmif7qgdzhyjqw42j4";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [ lv2 python serd sord ];
|
|
|
|
configurePhase = "${python.interpreter} waf configure --prefix=$out";
|
|
|
|
buildPhase = "${python.interpreter} waf";
|
|
|
|
installPhase = "${python.interpreter} waf install";
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = http://drobilla.net/software/sratom;
|
|
description = "A library for serialising LV2 atoms to/from RDF";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.goibhniu ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|