2018-08-22 12:45:07 +03:00
|
|
|
{ stdenv, fetchFromGitHub
|
2020-11-29 12:42:22 +03:00
|
|
|
, llvm, qt48Full, qrencode, libmicrohttpd_0_9_70, libjack2, alsaLib, faust, curl
|
2020-08-01 14:12:23 +03:00
|
|
|
, bc, coreutils, which, libsndfile, pkg-config
|
2018-08-22 12:45:07 +03:00
|
|
|
}:
|
|
|
|
|
2020-08-01 14:12:23 +03:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 15:41:18 +03:00
|
|
|
pname = "faustlive";
|
2020-08-01 14:12:23 +03:00
|
|
|
version = "2.5.4";
|
2018-08-22 12:45:07 +03:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "grame-cncm";
|
|
|
|
repo = "faustlive";
|
2020-08-01 14:12:23 +03:00
|
|
|
rev = version;
|
|
|
|
sha256 = "0npn8fvq8iafyamq4wrj1k1bmk4xd0my2sp3gi5jdjfx6hc1sm3n";
|
|
|
|
fetchSubmodules = true;
|
2018-08-22 12:45:07 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
2020-11-29 12:42:22 +03:00
|
|
|
llvm qt48Full qrencode libmicrohttpd_0_9_70 libjack2 alsaLib faust curl
|
2020-08-01 14:12:23 +03:00
|
|
|
bc coreutils which libsndfile pkg-config
|
2018-08-22 12:45:07 +03:00
|
|
|
];
|
|
|
|
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
|
2020-08-01 14:12:23 +03:00
|
|
|
postPatch = "cd Build";
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -d "$out/bin"
|
|
|
|
install -d "$out/share/applications"
|
|
|
|
install FaustLive/FaustLive "$out/bin"
|
|
|
|
install rsrc/FaustLive.desktop "$out/share/applications"
|
|
|
|
'';
|
2018-08-22 12:45:07 +03:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A standalone just-in-time Faust compiler";
|
|
|
|
longDescription = ''
|
|
|
|
FaustLive is a standalone just-in-time Faust compiler. It tries to bring
|
|
|
|
together the convenience of a standalone interpreted language with the
|
|
|
|
efficiency of a compiled language. It's ideal for fast prototyping.
|
|
|
|
'';
|
2020-11-27 03:29:13 +03:00
|
|
|
homepage = "https://faust.grame.fr/";
|
2018-08-22 12:45:07 +03:00
|
|
|
license = licenses.gpl3;
|
|
|
|
};
|
|
|
|
}
|