1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 23:52:33 +00:00
nixpkgs/pkgs/applications/audio/jamin/default.nix
2018-10-12 22:56:15 +00:00

29 lines
830 B
Nix

{ stdenv, fetchurl, fftwFloat, gtk2, ladspaPlugins, libjack2, liblo, libxml2
, makeWrapper, pkgconfig, perlPackages
}:
stdenv.mkDerivation {
name = "jamin-0.95.0";
src = fetchurl {
url = mirror://sourceforge/jamin/jamin-0.95.0.tar.gz;
sha256 = "0g5v74cm0q3p3pzl6xmnp4rqayaymfli7c6z8s78h9rgd24fwbvn";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ fftwFloat gtk2 ladspaPlugins libjack2 liblo libxml2 makeWrapper ]
++ (with perlPackages; [ perl XMLParser ]);
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;
};
}