25 src = fetchFromGitHub {
29 hash = "sha256-jtiyJntaFnAVeC1Rvkzi3wNodyJpEQKgnOAP7++36wo=";
33 substituteInPlace common.mak \
34 --replace /usr/local "$out" \
35 --replace /usr/share/fonts/truetype/ttf-bitstream-vera "${ttf_bitstream_vera}/share/fonts/truetype"
38 nativeBuildInputs = [ pkg-config ];
51 doInstallCheck = true;
53 installCheckPhase = ''
56 test -e $out/bin/setBfreeUI
60 enableParallelBuilding = true;
62 passthru.updateScript = nix-update-script { };
65 description = "DSP tonewheel organ emulator";
66 homepage = "https://setbfree.org";
67 license = lib.licenses.gpl2;
71 ]; # fails on ARM and Darwin
72 broken = stdenv.hostPlatform.isAarch64;
73 maintainers = [ lib.maintainers.l1npengtul ];