summary refs log blame commit diff
path: root/pkgs/applications/audio/mda-lv2/default.nix
blob: e27aab6e898b5fa2db1739a0c4f8a94bc40c15c0 (plain) (tree)
1
2
3
4
5
6
7
8
9



                                                             
                    

                  
                                                          
                                                                    

    

                                              














                                                                   
{ stdenv, fetchurl, fftwSinglePrec, lv2, pkgconfig, python }:

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

  src = fetchurl {
    url = "https://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;
  };
}