2016-02-12 13:37:51 +01:00
|
|
|
{ stdenv, fetchurl, fftwFloat, gtk2, ladspaPlugins, libjack2, liblo, libxml2
|
2018-10-13 00:56:15 +02:00
|
|
|
, makeWrapper, pkgconfig, perlPackages
|
2016-02-15 00:42:16 +01:00
|
|
|
}:
|
2016-02-12 13:37:51 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "jamin-0.95.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = mirror://sourceforge/jamin/jamin-0.95.0.tar.gz;
|
|
|
|
sha256 = "0g5v74cm0q3p3pzl6xmnp4rqayaymfli7c6z8s78h9rgd24fwbvn";
|
|
|
|
};
|
|
|
|
|
2017-09-14 21:24:37 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2018-10-13 00:56:15 +02:00
|
|
|
buildInputs = [ fftwFloat gtk2 ladspaPlugins libjack2 liblo libxml2 makeWrapper ]
|
|
|
|
++ (with perlPackages; [ perl XMLParser ]);
|
|
|
|
|
2019-02-10 14:14:33 +01:00
|
|
|
NIX_LDFLAGS = [ "-ldl" ];
|
|
|
|
|
2016-02-12 13:37:51 +01:00
|
|
|
postInstall = ''
|
2016-02-15 00:42:16 +01:00
|
|
|
wrapProgram $out/bin/jamin --set LADSPA_PATH ${ladspaPlugins}/lib/ladspa
|
2016-02-12 13:37:51 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://jamin.sourceforge.net;
|
|
|
|
description = "JACK Audio Mastering interface";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.nico202 ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|