2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub
|
2021-06-10 02:57:09 +00:00
|
|
|
, llvm_10, qt5, qrencode, libmicrohttpd, libjack2, alsa-lib, faust, curl
|
2022-04-07 17:23:37 +00:00
|
|
|
, bc, coreutils, which, libsndfile, flac, libogg, libvorbis, libopus, pkg-config, libxcb, cmake, gnutls, libtasn1, p11-kit
|
2018-08-22 09:45:07 +00:00
|
|
|
}:
|
|
|
|
|
2020-08-01 11:12:23 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "faustlive";
|
2022-10-05 10:48:52 +00:00
|
|
|
version = "2.5.12";
|
2018-08-22 09:45:07 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "grame-cncm";
|
|
|
|
repo = "faustlive";
|
2021-05-22 12:03:27 +00:00
|
|
|
rev = version;
|
2022-10-05 10:48:52 +00:00
|
|
|
sha256 = "sha256-pq9zO4opCh9GEEtuQjrxKdNvOasDlcGGUsQD4je7Wyw=";
|
2020-08-01 11:12:23 +00:00
|
|
|
fetchSubmodules = true;
|
2018-08-22 09:45:07 +00:00
|
|
|
};
|
|
|
|
|
2022-04-07 17:23:37 +00:00
|
|
|
nativeBuildInputs = [ pkg-config qt5.wrapQtAppsHook cmake ];
|
2021-05-22 12:03:27 +00:00
|
|
|
|
2018-08-22 09:45:07 +00:00
|
|
|
buildInputs = [
|
2021-06-10 02:57:09 +00:00
|
|
|
llvm_10 qt5.qtbase qrencode libmicrohttpd libjack2 alsa-lib faust curl
|
2022-04-07 17:23:37 +00:00
|
|
|
bc coreutils which libsndfile flac libogg libvorbis libopus libxcb gnutls libtasn1 p11-kit
|
2018-08-22 09:45:07 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
|
2022-04-07 17:23:37 +00:00
|
|
|
postInstall = ''
|
|
|
|
wrapProgram $out/bin/FaustLive --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ libmicrohttpd libsndfile faust llvm_10 ]}"
|
2020-08-01 11:12:23 +00:00
|
|
|
'';
|
2018-08-22 09:45:07 +00:00
|
|
|
|
2022-04-07 17:23:37 +00:00
|
|
|
postPatch = "cd Build";
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-08-22 09:45:07 +00: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 09:45:07 +00:00
|
|
|
license = licenses.gpl3;
|
2021-05-22 12:03:27 +00:00
|
|
|
maintainers = with maintainers; [ magnetophon ];
|
2018-08-22 09:45:07 +00:00
|
|
|
};
|
|
|
|
}
|