2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub
|
2020-11-29 09:42:22 +00:00
|
|
|
, llvm, qt48Full, qrencode, libmicrohttpd_0_9_70, libjack2, alsaLib, faust, curl
|
2020-08-01 12:12:23 +01:00
|
|
|
, bc, coreutils, which, libsndfile, pkg-config
|
2018-08-22 10:45:07 +01:00
|
|
|
}:
|
|
|
|
|
2020-08-01 12:12:23 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "faustlive";
|
2020-10-01 12:15:41 +01:00
|
|
|
version = "unstable-dev-2020-08-03";
|
2018-08-22 10:45:07 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "grame-cncm";
|
|
|
|
repo = "faustlive";
|
2020-10-01 12:15:41 +01:00
|
|
|
rev = "c16565dc1b616ac0aad7c303c1997fa9e57177ab";
|
|
|
|
sha256 = "1ys661lp1xwz21vy12kwkg248jvjq1z9w433knkh0ldyy2igvmd5";
|
2020-08-01 12:12:23 +01:00
|
|
|
fetchSubmodules = true;
|
2018-08-22 10:45:07 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
2020-11-29 09:42:22 +00:00
|
|
|
llvm qt48Full qrencode libmicrohttpd_0_9_70 libjack2 alsaLib faust curl
|
2020-08-01 12:12:23 +01:00
|
|
|
bc coreutils which libsndfile pkg-config
|
2018-08-22 10:45:07 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
|
2020-08-01 12:12:23 +01: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 10:45:07 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-08-22 10:45:07 +01:00
|
|
|
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 00:29:13 +00:00
|
|
|
homepage = "https://faust.grame.fr/";
|
2018-08-22 10:45:07 +01:00
|
|
|
license = licenses.gpl3;
|
|
|
|
};
|
|
|
|
}
|