2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, libjack2, gtk2, lv2, faust, pkgconfig }:
|
2015-05-25 16:25:24 +00:00
|
|
|
|
2019-08-13 21:52:01 +00:00
|
|
|
stdenv.mkDerivation {
|
2015-05-25 16:25:24 +00:00
|
|
|
version = "git-2015-05-21";
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "foo-yc20";
|
2015-05-25 16:25:24 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sampov2";
|
|
|
|
repo = "foo-yc20";
|
|
|
|
rev = "edd9d14c91229429b14270a181743e1046160ca8";
|
|
|
|
sha256 = "0i8261n95n4xic766h70xkrpbvw3sag96n1883ahmg6h7yb94avq";
|
|
|
|
};
|
|
|
|
|
2017-09-05 21:26:13 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ libjack2 gtk2 lv2 faust ];
|
2015-05-25 16:25:24 +00:00
|
|
|
|
2019-10-27 13:03:25 +00:00
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
2015-05-25 16:25:24 +00:00
|
|
|
|
|
|
|
# remove lv2 until https://github.com/sampov2/foo-yc20/issues/6 is resolved
|
|
|
|
postInstallFixup = "rm -rf $out/lib/lv2";
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-11-07 13:06:35 +00:00
|
|
|
broken = true; # see: https://github.com/sampov2/foo-yc20/issues/7
|
2015-05-25 16:25:24 +00:00
|
|
|
description = "A Faust implementation of a 1969 designed Yamaha combo organ, the YC-20";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/sampov2/foo-yc20";
|
2020-06-26 08:43:14 +00:00
|
|
|
license = with licenses; [ bsd3 lgpl21 mpl11 ] ;
|
|
|
|
maintainers = [ maintainers.magnetophon ];
|
|
|
|
platforms = platforms.linux;
|
2015-05-25 16:25:24 +00:00
|
|
|
};
|
|
|
|
}
|