mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-18 02:05:51 +03:00
sonic-pi: use supercollider with sc3-plugins (#169851)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
da4602bf6b
commit
5ee4150073
@ -2,7 +2,6 @@
|
|||||||
, lib
|
, lib
|
||||||
, qtbase
|
, qtbase
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fftwSinglePrec
|
|
||||||
, ruby
|
, ruby
|
||||||
, erlang
|
, erlang
|
||||||
, aubio
|
, aubio
|
||||||
@ -14,14 +13,11 @@
|
|||||||
, boost
|
, boost
|
||||||
, bash
|
, bash
|
||||||
, jack2
|
, jack2
|
||||||
, supercollider
|
, supercollider-with-sc3-plugins
|
||||||
, qwt
|
, qwt
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
supercollider_single_prec = supercollider.override { fftw = fftwSinglePrec; };
|
|
||||||
|
|
||||||
pname = "sonic-pi";
|
pname = "sonic-pi";
|
||||||
version = "3.3.1";
|
version = "3.3.1";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
@ -62,7 +58,7 @@ mkDerivation rec {
|
|||||||
qwt
|
qwt
|
||||||
ruby
|
ruby
|
||||||
aubio
|
aubio
|
||||||
supercollider_single_prec
|
supercollider-with-sc3-plugins
|
||||||
boost
|
boost
|
||||||
erlang
|
erlang
|
||||||
alsa-lib
|
alsa-lib
|
||||||
@ -122,18 +118,18 @@ mkDerivation rec {
|
|||||||
dontWrapQtApps = true;
|
dontWrapQtApps = true;
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
wrapQtApp "$out/bin/sonic-pi" \
|
wrapQtApp "$out/bin/sonic-pi" \
|
||||||
--prefix PATH : ${lib.makeBinPath [ bash jack2 ruby supercollider erlang] }
|
--prefix PATH : ${lib.makeBinPath [ bash jack2 ruby supercollider-with-sc3-plugins erlang] }
|
||||||
makeWrapper \
|
makeWrapper \
|
||||||
$out/app/server/ruby/bin/sonic-pi-server.rb \
|
$out/app/server/ruby/bin/sonic-pi-server.rb \
|
||||||
$out/bin/sonic-pi-server \
|
$out/bin/sonic-pi-server \
|
||||||
--prefix PATH : ${lib.makeBinPath [ bash jack2 ruby supercollider erlang ] }
|
--prefix PATH : ${lib.makeBinPath [ bash jack2 ruby supercollider-with-sc3-plugins erlang ] }
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://sonic-pi.net/";
|
homepage = "https://sonic-pi.net/";
|
||||||
description = "Free live coding synth for everyone originally designed to support computing and music lessons within schools";
|
description = "Free live coding synth for everyone originally designed to support computing and music lessons within schools";
|
||||||
license = lib.licenses.mit;
|
license = lib.licenses.mit;
|
||||||
maintainers = with lib.maintainers; [ Phlogistique kamilchm c0deaddict sohalt ];
|
maintainers = with lib.maintainers; [ Phlogistique kamilchm c0deaddict sohalt lilyinstarlight ];
|
||||||
platforms = lib.platforms.linux;
|
platforms = lib.platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user