summary refs log tree commit diff
path: root/pkgs/applications/audio/mda-lv2/default.nix
blob: c7d0caec8bf5ab4b855b30f2400bc6c82cb127d1 (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
{ stdenv, fetchurl, fftwSinglePrec, lv2, pkgconfig, python }:

stdenv.mkDerivation rec {
  name = "mda-lv2-${version}";
  version = "1.2.2";

  src = fetchurl {
    url = "http://download.drobilla.net/${name}.tar.bz2";
    sha256 = "0hh40c5d2m0k5gb3vw031l6lqn59dg804an3mkmhkc7qv4gc6xm4";
  };

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [ fftwSinglePrec lv2 python ];

  configurePhase = "python waf configure --prefix=$out";

  buildPhase = "python waf";

  installPhase = "python waf install";

  meta = with stdenv.lib; {
    homepage = http://drobilla.net/software/mda-lv2/;
    description = "An LV2 port of the MDA plugins by Paul Kellett";
    license = licenses.gpl2Plus;
    maintainers = [ maintainers.goibhniu ];
    platforms = platforms.linux;
  };
}