2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, fetchurl, fftwFloat, gtk2, ladspaPlugins, libjack2, liblo, libxml2
|
|
|
|
, makeWrapper, pkgconfig, perlPackages
|
|
|
|
}:
|
|
|
|
|
2020-10-16 20:44:37 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "0.95.0";
|
|
|
|
name = "jamin-${version}";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-10-16 20:44:37 +00:00
|
|
|
url = "mirror://sourceforge/jamin/jamin-${version}.tar.gz";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "0g5v74cm0q3p3pzl6xmnp4rqayaymfli7c6z8s78h9rgd24fwbvn";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ fftwFloat gtk2 ladspaPlugins libjack2 liblo libxml2 makeWrapper ]
|
|
|
|
++ (with perlPackages; [ perl XMLParser ]);
|
|
|
|
|
|
|
|
NIX_LDFLAGS = "-ldl";
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
wrapProgram $out/bin/jamin --set LADSPA_PATH ${ladspaPlugins}/lib/ladspa
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "http://jamin.sourceforge.net";
|
|
|
|
description = "JACK Audio Mastering interface";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.nico202 ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|