3
0
Fork 0
forked from mirrors/nixpkgs

i-score: 1.0.0-a67 -> 1.0.0-b31

This commit is contained in:
Samuel Leathers 2017-09-02 07:02:02 -04:00
parent 40b76c8809
commit d5c342c657

View file

@ -1,8 +1,9 @@
{
alsaLib,
boost,
cln,
cmake,
fetchgit,
fetchFromGitHub,
gcc,
ginac,
jamomacore,
@ -10,9 +11,13 @@
libsndfile,
ninja,
portaudio,
portmidi,
qtbase,
qtdeclarative,
qtimageformats,
qtmultimedia,
qtquickcontrols2,
qtserialport,
qtsvg,
qttools,
qtwebsockets,
@ -21,18 +26,19 @@
}:
stdenv.mkDerivation rec {
version = "1.0.0-a67";
version = "1.0.0-b31";
name = "i-score-${version}";
src = fetchgit {
url = "https://github.com/OSSIA/i-score.git";
rev = "ede2453b139346ae46702b5e2643c5488f8c89fb";
sha256 = "0cl9vdmxkshdacgpp7s2rg40b7xbsjrzw916jds9i3rpq1pcy5pj";
leaveDotGit = true;
deepClone = true;
src = fetchFromGitHub {
owner = "OSSIA";
repo = "i-score";
rev = "v${version}";
sha256 = "0g7s6n11w3wflrv5i2047dxx56lryms7xj0mznnlk5bii7g8dxzb";
fetchSubmodules = true;
};
buildInputs = [
alsaLib
boost
cln
cmake
@ -43,9 +49,13 @@ stdenv.mkDerivation rec {
libsndfile
ninja
portaudio
portmidi
qtbase
qtdeclarative
qtimageformats
qtmultimedia
qtquickcontrols2
qtserialport
qtsvg
qttools
qtwebsockets
@ -59,17 +69,11 @@ stdenv.mkDerivation rec {
"-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")"
'';
installPhase = ''
cmake --build . --target install
'';
postInstall = ''rm $out/bin/i-score.sh'';
meta = {
description = "An interactive sequencer for the intermedia arts";