2018-08-03 18:11:55 +02:00
|
|
|
{ stdenv, fetchFromGitHub, cairo, fftw, gtkmm2, lv2, lvtk, pkgconfig, python3 }:
|
2014-03-09 22:13:51 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "ams-lv2-${version}";
|
2017-01-22 20:24:27 +01:00
|
|
|
version = "1.2.1";
|
2014-03-09 22:13:51 +01:00
|
|
|
|
2017-01-22 20:24:27 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "blablack";
|
|
|
|
repo = "ams-lv2";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1n1dnqnj24xhiy9323lj52nswr5120cj56fpckg802miss05sr6x";
|
2014-03-09 22:13:51 +01:00
|
|
|
};
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2018-08-03 18:11:55 +02:00
|
|
|
buildInputs = [ cairo fftw gtkmm2 lv2 lvtk ];
|
2014-03-09 22:13:51 +01:00
|
|
|
|
2018-08-03 18:11:55 +02:00
|
|
|
configurePhase = "${python3.interpreter} waf configure --prefix=$out";
|
2014-03-09 22:13:51 +01:00
|
|
|
|
2018-08-03 18:11:55 +02:00
|
|
|
buildPhase = "${python3.interpreter} waf";
|
2014-03-09 22:13:51 +01:00
|
|
|
|
2018-08-03 18:11:55 +02:00
|
|
|
installPhase = "${python3.interpreter} waf install";
|
2014-03-09 22:13:51 +01: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;
|
|
|
|
};
|
|
|
|
}
|