nixpkgs-suyu/pkgs/applications/audio/faust/faustlive.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

44 lines
1.4 KiB
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub
, llvm_10, qt5, qrencode, libmicrohttpd, libjack2, alsa-lib, faust, curl
2022-04-07 19:23:37 +02:00
, bc, coreutils, which, libsndfile, flac, libogg, libvorbis, libopus, pkg-config, libxcb, cmake, gnutls, libtasn1, p11-kit
2018-08-22 11:45:07 +02:00
}:
2020-08-01 13:12:23 +02:00
stdenv.mkDerivation rec {
pname = "faustlive";
2022-05-27 13:07:47 +02:00
version = "2.5.10";
2018-08-22 11:45:07 +02:00
src = fetchFromGitHub {
owner = "grame-cncm";
repo = "faustlive";
rev = version;
2022-05-27 13:07:47 +02:00
sha256 = "sha256-yLpIJr6A+NIX9RSGfQXT0O0USuRr0Ni9aUA+mbk31/o=";
2020-08-01 13:12:23 +02:00
fetchSubmodules = true;
2018-08-22 11:45:07 +02:00
};
2022-04-07 19:23:37 +02:00
nativeBuildInputs = [ pkg-config qt5.wrapQtAppsHook cmake ];
2018-08-22 11:45:07 +02:00
buildInputs = [
llvm_10 qt5.qtbase qrencode libmicrohttpd libjack2 alsa-lib faust curl
2022-04-07 19:23:37 +02:00
bc coreutils which libsndfile flac libogg libvorbis libopus libxcb gnutls libtasn1 p11-kit
2018-08-22 11:45:07 +02:00
];
makeFlags = [ "PREFIX=$(out)" ];
2022-04-07 19:23:37 +02:00
postInstall = ''
wrapProgram $out/bin/FaustLive --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ libmicrohttpd libsndfile faust llvm_10 ]}"
2020-08-01 13:12:23 +02:00
'';
2018-08-22 11:45:07 +02:00
2022-04-07 19:23:37 +02:00
postPatch = "cd Build";
meta = with lib; {
2018-08-22 11:45:07 +02: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.
'';
homepage = "https://faust.grame.fr/";
2018-08-22 11:45:07 +02:00
license = licenses.gpl3;
maintainers = with maintainers; [ magnetophon ];
2018-08-22 11:45:07 +02:00
};
}