Skip to content

Commit

Permalink
sonic-pi: add midi support
Browse files Browse the repository at this point in the history
  • Loading branch information
c0deaddict committed Oct 11, 2019
1 parent b943338 commit 2a79578
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 6 additions & 2 deletions pkgs/applications/audio/sonic-pi/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
, supercollider
, qscintilla
, qwt
, osmid
}:

let
Expand Down Expand Up @@ -59,6 +60,10 @@ mkDerivation rec {
buildPhase = ''
export SONIC_PI_HOME=$TMPDIR
export AUBIO_LIB=${aubio}/lib/libaubio.so
export OSMID_DIR=app/server/native/osmid
mkdir -p $OSMID_DIR
cp ${osmid}/bin/{m2o,o2m} $OSMID_DIR
pushd app/server/ruby/bin
./compile-extensions.rb
Expand Down Expand Up @@ -95,11 +100,10 @@ mkDerivation rec {
'';

meta = {
homepage = http://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";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ Phlogistique kamilchm ];
platforms = lib.platforms.linux;
broken = true;
};
}
4 changes: 3 additions & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20616,7 +20616,9 @@ in

wavebox = callPackage ../applications/networking/instant-messengers/wavebox { };

sonic-pi = libsForQt5.callPackage ../applications/audio/sonic-pi { };
sonic-pi = libsForQt5.callPackage ../applications/audio/sonic-pi {
ruby = ruby_2_4; # sonic-pi build breaks with ruby 2.5 and 2.6
};

st = callPackage ../applications/misc/st {
conf = config.st.conf or null;
Expand Down

0 comments on commit 2a79578

Please sign in to comment.