{ stdenv, fetchurl, lv2, pkgconfig, python, serd, sord, sratom }: stdenv.mkDerivation rec { name = "suil-${version}"; version = "0.6.2"; src = fetchurl { url = "http://download.drobilla.net/${name}.tar.bz2"; sha256 = "1rqi16zqnaf30gr2gwb8wbhg8a2l3m5fllf7rabldmgj4b4jlyzp"; }; buildInputs = [ lv2 pkgconfig python serd sord sratom ]; configurePhase = "python waf configure --prefix=$out"; buildPhase = "python waf"; installPhase = "python waf install"; meta = with stdenv.lib; { homepage = http://drobilla.net/software/suil; description = "A lightweight C library for loading and wrapping LV2 plugin UIs"; license = licenses.mit; maintainers = [ maintainers.goibhniu ]; }; }