mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01:00
32 lines
893 B
Nix
32 lines
893 B
Nix
{ lib, stdenv, fetchurl, fftwFloat, gtk2, ladspaPlugins, libjack2, liblo, libxml2
|
|
, makeWrapper, pkg-config, perlPackages
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "0.95.0";
|
|
name = "jamin-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/jamin/jamin-${version}.tar.gz";
|
|
sha256 = "0g5v74cm0q3p3pzl6xmnp4rqayaymfli7c6z8s78h9rgd24fwbvn";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config makeWrapper ];
|
|
buildInputs = [ fftwFloat gtk2 ladspaPlugins libjack2 liblo libxml2 ]
|
|
++ (with perlPackages; [ perl XMLParser ]);
|
|
|
|
NIX_LDFLAGS = "-ldl";
|
|
|
|
postInstall = ''
|
|
wrapProgram $out/bin/jamin --set LADSPA_PATH ${ladspaPlugins}/lib/ladspa
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "http://jamin.sourceforge.net";
|
|
description = "JACK Audio Mastering interface";
|
|
license = licenses.gpl2;
|
|
maintainers = [ maintainers.nico202 ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|