mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
sonic-pi: init at 2.8.0
This commit is contained in:
parent
811e1b01e5
commit
01a81506a6
@ -228,6 +228,7 @@
|
|||||||
pjones = "Peter Jones <pjones@devalot.com>";
|
pjones = "Peter Jones <pjones@devalot.com>";
|
||||||
pkmx = "Chih-Mao Chen <pkmx.tw@gmail.com>";
|
pkmx = "Chih-Mao Chen <pkmx.tw@gmail.com>";
|
||||||
plcplc = "Philip Lykke Carlsen <plcplc@gmail.com>";
|
plcplc = "Philip Lykke Carlsen <plcplc@gmail.com>";
|
||||||
|
Phlogistique = "Noé Rubinstein <noe.rubinstein@gmail.com>";
|
||||||
pmahoney = "Patrick Mahoney <pat@polycrystal.org>";
|
pmahoney = "Patrick Mahoney <pat@polycrystal.org>";
|
||||||
pmiddend = "Philipp Middendorf <pmidden@secure.mailbox.org>";
|
pmiddend = "Philipp Middendorf <pmidden@secure.mailbox.org>";
|
||||||
prikhi = "Pavan Rikhi <pavan.rikhi@gmail.com>";
|
prikhi = "Pavan Rikhi <pavan.rikhi@gmail.com>";
|
||||||
|
60
pkgs/applications/audio/sonic-pi/default.nix
Normal file
60
pkgs/applications/audio/sonic-pi/default.nix
Normal file
@ -0,0 +1,60 @@
|
|||||||
|
{ stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, qscintilla
|
||||||
|
, supercollider
|
||||||
|
, ruby
|
||||||
|
, cmake
|
||||||
|
, pkgconfig
|
||||||
|
, qt48Full
|
||||||
|
, bash
|
||||||
|
, makeWrapper
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
version = "2.8.0";
|
||||||
|
name = "sonic-pi-${version}";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "samaaron";
|
||||||
|
repo = "sonic-pi";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1yyavgazb6ar7xnmjx460s9p8nh70klaja2yb20nci15k8vngq9h";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
qscintilla
|
||||||
|
supercollider
|
||||||
|
ruby
|
||||||
|
qt48Full
|
||||||
|
cmake
|
||||||
|
pkgconfig
|
||||||
|
bash
|
||||||
|
makeWrapper
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = http://sonic-pi.net/;
|
||||||
|
description = "Free live coding synth for everyone originally designed to support computing and music lessons within schools";
|
||||||
|
license = stdenv.lib.licenses.mit;
|
||||||
|
maintainers = [ stdenv.lib.maintainers.Phlogistique ];
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
};
|
||||||
|
|
||||||
|
dontUseCmakeConfigure = true;
|
||||||
|
|
||||||
|
buildPhase = ''
|
||||||
|
pushd app/server/bin
|
||||||
|
${ruby}/bin/ruby compile-extensions.rb
|
||||||
|
popd
|
||||||
|
|
||||||
|
pushd app/gui/qt
|
||||||
|
${bash}/bin/bash rp-build-app
|
||||||
|
popd
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
cp -r . $out
|
||||||
|
wrapProgram $out/bin/sonic-pi --prefix PATH : \
|
||||||
|
${ruby}/bin:${bash}/bin
|
||||||
|
'';
|
||||||
|
}
|
@ -12907,6 +12907,8 @@ let
|
|||||||
|
|
||||||
viber = callPackage ../applications/networking/instant-messengers/viber { };
|
viber = callPackage ../applications/networking/instant-messengers/viber { };
|
||||||
|
|
||||||
|
sonic-pi = callPackage ../applications/audio/sonic-pi { };
|
||||||
|
|
||||||
st = callPackage ../applications/misc/st {
|
st = callPackage ../applications/misc/st {
|
||||||
conf = config.st.conf or null;
|
conf = config.st.conf or null;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user