2018-08-03 17:11:55 +01:00
|
|
|
{ stdenv, fetchFromGitHub, cairo, fftw, gtkmm2, lv2, lvtk, pkgconfig, python3 }:
|
2014-03-09 21:13:51 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "ams-lv2-${version}";
|
2017-01-22 19:24:27 +00:00
|
|
|
version = "1.2.1";
|
2014-03-09 21:13:51 +00:00
|
|
|
|
2017-01-22 19:24:27 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "blablack";
|
|
|
|
repo = "ams-lv2";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1n1dnqnj24xhiy9323lj52nswr5120cj56fpckg802miss05sr6x";
|
2014-03-09 21:13:51 +00:00
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2018-08-03 17:11:55 +01:00
|
|
|
buildInputs = [ cairo fftw gtkmm2 lv2 lvtk ];
|
2014-03-09 21:13:51 +00:00
|
|
|
|
2018-08-03 17:11:55 +01:00
|
|
|
configurePhase = "${python3.interpreter} waf configure --prefix=$out";
|
2014-03-09 21:13:51 +00:00
|
|
|
|
2018-08-03 17:11:55 +01:00
|
|
|
buildPhase = "${python3.interpreter} waf";
|
2014-03-09 21:13:51 +00:00
|
|
|
|
2018-08-03 17:11:55 +01:00
|
|
|
installPhase = "${python3.interpreter} waf install";
|
2014-03-09 21:13:51 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "An LV2 port of the internal modules found in Alsa Modular Synth";
|
|
|
|
homepage = http://objectivewave.wordpress.com/ams-lv2;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|