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

47 lines
1.3 KiB
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub
, llvm_10, qt5, qrencode, libmicrohttpd, libjack2, alsa-lib, faust, curl
, bc, coreutils, which, libsndfile, pkg-config, libxcb
2018-08-22 09:45:07 +00:00
}:
2020-08-01 11:12:23 +00:00
stdenv.mkDerivation rec {
pname = "faustlive";
version = "2.5.5";
2018-08-22 09:45:07 +00:00
src = fetchFromGitHub {
owner = "grame-cncm";
repo = "faustlive";
rev = version;
sha256 = "0qbn05nq170ckycwalkk5fppklc4g457mapr7p7ryrhc1hwzffm9";
2020-08-01 11:12:23 +00:00
fetchSubmodules = true;
2018-08-22 09:45:07 +00:00
};
nativeBuildInputs = [ pkg-config qt5.wrapQtAppsHook ];
2018-08-22 09:45:07 +00:00
buildInputs = [
llvm_10 qt5.qtbase qrencode libmicrohttpd libjack2 alsa-lib faust curl
bc coreutils which libsndfile libxcb
2018-08-22 09:45:07 +00:00
];
makeFlags = [ "PREFIX=$(out)" ];
2020-08-01 11:12:23 +00: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 09:45:07 +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.
'';
homepage = "https://faust.grame.fr/";
2018-08-22 09:45:07 +00:00
license = licenses.gpl3;
maintainers = with maintainers; [ magnetophon ];
2018-08-22 09:45:07 +00:00
};
}