1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-14 00:25:24 +00:00
nixpkgs/pkgs/applications/audio/jamin/default.nix

32 lines
893 B
Nix
Raw Normal View History

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