mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01:00
34 lines
977 B
Nix
34 lines
977 B
Nix
{ stdenv, fetchzip, alsaLib, freetype, ftgl, libjack2, libX11, lv2
|
|
, libGLU, libGL, pkgconfig, ttf_bitstream_vera
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "setbfree";
|
|
version = "0.8.10";
|
|
|
|
src = fetchzip {
|
|
url = "https://github.com/pantherb/setBfree/archive/v${version}.tar.gz";
|
|
sha256 = "1hpj8qb5mhkqm4yy8mzzrrq0ljw22y807qly90vjkg61ascyina4";
|
|
};
|
|
|
|
postPatch = ''
|
|
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
|
|
'';
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [
|
|
alsaLib freetype ftgl libjack2 libX11 lv2 libGLU libGL
|
|
ttf_bitstream_vera
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A DSP tonewheel organ emulator";
|
|
homepage = "http://setbfree.org";
|
|
license = licenses.gpl2;
|
|
platforms = [ "x86_64-linux" "i686-linux" ]; # fails on ARM and Darwin
|
|
maintainers = [ maintainers.goibhniu ];
|
|
};
|
|
}
|