mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 10:12:58 +00:00
f6f2f38a6e
Currently, we have a 'jack' package with attrname 'jack1d' and a 'jackdbus' package with attrname 'jackaudio'. Make it consistent 'jack1' and 'jack2' in both package name and attrname. This aligns the naming with what can be found on the JACK homepage. Q: what's the difference between jack1 and jack2? A: http://trac.jackaudio.org/wiki/Q_differenc_jack1_jack2
29 lines
848 B
Nix
29 lines
848 B
Nix
{ stdenv, fetchurl, alsaLib, jack2, pkgconfig, pulseaudio, xlibs }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "bristol-${version}";
|
|
version = "0.60.11";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/bristol/${name}.tar.gz";
|
|
sha256 = "1fi2m4gmvxdi260821y09lxsimq82yv4k5bbgk3kyc3x1nyhn7vx";
|
|
};
|
|
|
|
buildInputs = [
|
|
alsaLib jack2 pkgconfig pulseaudio xlibs.libX11 xlibs.libXext
|
|
xlibs.xproto
|
|
];
|
|
|
|
preInstall = ''
|
|
sed -e "s@\`which bristol\`@$out/bin/bristol@g" -i bin/startBristol
|
|
sed -e "s@\`which brighton\`@$out/bin/brighton@g" -i bin/startBristol
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A range of synthesiser, electric piano and organ emulations";
|
|
homepage = http://bristol.sourceforge.net;
|
|
license = licenses.gpl3;
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.goibhniu ];
|
|
};
|
|
} |