2014-07-22 22:06:44 +02:00
|
|
|
{ stdenv, fetchurl, alsaLib, jack2, pkgconfig, pulseaudio, xlibs }:
|
2012-11-22 00:08:28 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "bristol-${version}";
|
2013-12-15 10:20:28 +01:00
|
|
|
version = "0.60.11";
|
2012-11-22 00:08:28 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/bristol/${name}.tar.gz";
|
2013-12-15 10:20:28 +01:00
|
|
|
sha256 = "1fi2m4gmvxdi260821y09lxsimq82yv4k5bbgk3kyc3x1nyhn7vx";
|
2012-11-22 00:08:28 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
2014-07-22 22:06:44 +02:00
|
|
|
alsaLib jack2 pkgconfig pulseaudio xlibs.libX11 xlibs.libXext
|
2012-11-22 00:08:28 +01:00
|
|
|
xlibs.xproto
|
|
|
|
];
|
|
|
|
|
2013-01-05 17:00:38 +01:00
|
|
|
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
|
|
|
|
'';
|
|
|
|
|
2012-11-22 00:08:28 +01:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|