summary refs log tree commit diff
path: root/pkgs/applications/audio/ams-lv2/default.nix
blob: 7858631f7973f67577314599f784729c90031813 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ stdenv, fetchFromGitHub, cairo, fftw, gtkmm2, lv2, lvtk, pkgconfig, python3 }:

stdenv.mkDerivation  rec {
  name = "ams-lv2-${version}";
  version = "1.2.1";

  src = fetchFromGitHub {
    owner = "blablack";
    repo = "ams-lv2";
    rev = version;
    sha256 = "1n1dnqnj24xhiy9323lj52nswr5120cj56fpckg802miss05sr6x";
  };

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [ cairo fftw gtkmm2 lv2 lvtk ];

  configurePhase = "${python3.interpreter} waf configure --prefix=$out";

  buildPhase = "${python3.interpreter} waf";

  installPhase = "${python3.interpreter} waf install";

  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;
  };
}