2021-12-06 16:07:01 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, libjack2, gtk2, lv2, faust, pkg-config }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2021-12-06 16:07:01 +00:00
|
|
|
version = "unstable-2015-05-21";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "foo-yc20";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sampov2";
|
|
|
|
repo = "foo-yc20";
|
|
|
|
rev = "edd9d14c91229429b14270a181743e1046160ca8";
|
|
|
|
sha256 = "0i8261n95n4xic766h70xkrpbvw3sag96n1883ahmg6h7yb94avq";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ libjack2 gtk2 lv2 faust ];
|
|
|
|
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
|
|
|
|
# remove lv2 until https://github.com/sampov2/foo-yc20/issues/6 is resolved
|
|
|
|
postInstallFixup = "rm -rf $out/lib/lv2";
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
broken = true; # see: https://github.com/sampov2/foo-yc20/issues/7
|
|
|
|
description = "A Faust implementation of a 1969 designed Yamaha combo organ, the YC-20";
|
|
|
|
homepage = "https://github.com/sampov2/foo-yc20";
|
2021-12-06 16:07:01 +00:00
|
|
|
license = with licenses; [ bsd3 lgpl21 mpl11 ];
|
2020-07-18 16:06:22 +00:00
|
|
|
maintainers = [ maintainers.magnetophon ];
|
|
|
|
platforms = platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|