diff options
author | Bart Brouns <bart@magnetophon.nl> | 2016-05-01 17:57:16 +0200 |
---|---|---|
committer | Joachim Fasting <joachifm@fastmail.fm> | 2016-05-05 18:45:49 +0200 |
commit | ebba6571fe252cc7df99c78891860cf1d1dd0955 (patch) | |
tree | 6d71460143fed1085f2f2e7407fd5074fb00d5fe /pkgs/applications/audio/i-score | |
parent | 5f09248ae8e389eb9e8fce8a9676c7b40459d1ab (diff) | |
download | nixlib-ebba6571fe252cc7df99c78891860cf1d1dd0955.tar nixlib-ebba6571fe252cc7df99c78891860cf1d1dd0955.tar.gz nixlib-ebba6571fe252cc7df99c78891860cf1d1dd0955.tar.bz2 nixlib-ebba6571fe252cc7df99c78891860cf1d1dd0955.tar.lz nixlib-ebba6571fe252cc7df99c78891860cf1d1dd0955.tar.xz nixlib-ebba6571fe252cc7df99c78891860cf1d1dd0955.tar.zst nixlib-ebba6571fe252cc7df99c78891860cf1d1dd0955.zip |
i-score: init at 1.0.0-a67
Closes #15137
Diffstat (limited to 'pkgs/applications/audio/i-score')
-rw-r--r-- | pkgs/applications/audio/i-score/default.nix | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/pkgs/applications/audio/i-score/default.nix b/pkgs/applications/audio/i-score/default.nix new file mode 100644 index 000000000000..8bf85ac24b02 --- /dev/null +++ b/pkgs/applications/audio/i-score/default.nix @@ -0,0 +1,85 @@ +{ + boost, + cln, + cmake, + fetchgit, + gcc5, + ginac, + jamomacore, + kde5, + libsndfile, + ninja, + portaudio, + qtbase, + qtdeclarative, + qtimageformats, + qtsvg, + qttools, + qtwebsockets, + rtaudio, + stdenv +}: + +stdenv.mkDerivation rec { + version = "1.0.0-a67"; + name = "i-score-${version}"; + + src = fetchgit { + url = "https://github.com/OSSIA/i-score.git"; + rev = "ede2453b139346ae46702b5e2643c5488f8c89fb"; + sha256 = "04li771nj0k8gym7vg6rnawjkp2f6d5m5mby26h0k6ksf7hg7h70"; + leaveDotGit = true; + deepClone = true; + }; + + buildInputs = [ + boost + cln + cmake + ginac + gcc5 + jamomacore + kde5.kdnssd + libsndfile + ninja + portaudio + qtbase + qtdeclarative + qtimageformats + qtsvg + qttools + qtwebsockets + rtaudio + ]; + + cmakeFlags = [ + "-GNinja" + "-DISCORE_CONFIGURATION=static-release" + "-DISCORE_ENABLE_LTO=OFF" + "-DISCORE_BUILD_FOR_PACKAGE_MANAGER=True" + ]; + + patchPhase = '' + sed -e '77d' -i CMake/modules/GetGitRevisionDescription.cmake + ''; + + preConfigure = '' + export CMAKE_PREFIX_PATH="$CMAKE_PREFIX_PATH:$(echo "${jamomacore}/jamoma/share/cmake/Jamoma")" + ''; + + preBuild = '' + ninja + ''; + + installPhase = '' + cmake --build . --target install + ''; + + meta = { + description = "An interactive sequencer for the intermedia arts"; + homepage = http://i-score.org/; + license = stdenv.lib.licenses.cecill20; + maintainers = [ stdenv.lib.maintainers.magnetophon ]; + platforms = stdenv.lib.platforms.linux; + }; +} |