32 lines
899 B
Nix
32 lines
899 B
Nix
{ stdenv, fetchurl, alsaLib, freetype, ftgl, libjack2, libX11, lv2
|
|
, mesa, pkgconfig, ttf_bitstream_vera
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "setbfree-${version}";
|
|
version = "0.8.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/pantherb/setBfree/archive/v${version}.tar.gz";
|
|
sha256 = "1lfylai4gyk512dknj16w2aq9ka8hvqca46nmq5b4rfjmi6dkxf6";
|
|
};
|
|
|
|
patchPhase = ''
|
|
sed 's#/usr/local#$(out)#g' -i common.mak
|
|
sed 's#/usr/share/fonts/truetype/ttf-bitstream-vera#${ttf_bitstream_vera}/share/fonts/truetype#g' \
|
|
-i b_synth/Makefile
|
|
'';
|
|
|
|
buildInputs = [
|
|
alsaLib freetype ftgl libjack2 libX11 lv2 mesa pkgconfig
|
|
ttf_bitstream_vera
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A DSP tonewheel organ emulator";
|
|
homepage = http://setbfree.org;
|
|
license = licenses.gpl2;
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.goibhniu ];
|
|
};
|
|
}
|