2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchurl, fftwFloat, gtk2, ladspaPlugins, libjack2, liblo, libxml2
|
2021-01-19 07:50:56 +01:00
|
|
|
, makeWrapper, pkg-config, perlPackages
|
2016-02-15 00:42:16 +01:00
|
|
|
}:
|
2016-02-12 13:37:51 +01:00
|
|
|
|
2020-10-13 10:34:31 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "0.95.0";
|
|
|
|
name = "jamin-${version}";
|
2016-02-12 13:37:51 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-10-13 10:34:31 +02:00
|
|
|
url = "mirror://sourceforge/jamin/jamin-${version}.tar.gz";
|
2016-02-12 13:37:51 +01:00
|
|
|
sha256 = "0g5v74cm0q3p3pzl6xmnp4rqayaymfli7c6z8s78h9rgd24fwbvn";
|
|
|
|
};
|
|
|
|
|
2021-02-07 10:17:39 +01:00
|
|
|
nativeBuildInputs = [ pkg-config makeWrapper ];
|
|
|
|
buildInputs = [ fftwFloat gtk2 ladspaPlugins libjack2 liblo libxml2 ]
|
2018-10-13 00:56:15 +02:00
|
|
|
++ (with perlPackages; [ perl XMLParser ]);
|
|
|
|
|
2019-10-30 03:23:29 +01:00
|
|
|
NIX_LDFLAGS = "-ldl";
|
2019-02-10 14:14:33 +01:00
|
|
|
|
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
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://jamin.sourceforge.net";
|
2016-02-12 13:37:51 +01:00
|
|
|
description = "JACK Audio Mastering interface";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.nico202 ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|