1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/pkgs/applications/audio/i-score/default.nix

86 lines
1.5 KiB
Nix
Raw Normal View History

{
2017-09-02 12:02:02 +01:00
alsaLib,
boost,
cln,
cmake,
2017-09-02 12:02:02 +01:00
fetchFromGitHub,
gcc,
ginac,
jamomacore,
kdnssd,
libsndfile,
ninja,
portaudio,
2017-09-02 12:02:02 +01:00
portmidi,
qtbase,
qtdeclarative,
qtimageformats,
2017-09-02 12:02:02 +01:00
qtmultimedia,
qtquickcontrols2,
qtserialport,
qtsvg,
qttools,
qtwebsockets,
rtaudio,
stdenv
}:
stdenv.mkDerivation rec {
2017-09-02 12:02:02 +01:00
version = "1.0.0-b31";
pname = "i-score";
2017-09-02 12:02:02 +01:00
src = fetchFromGitHub {
owner = "OSSIA";
repo = "i-score";
rev = "v${version}";
sha256 = "0g7s6n11w3wflrv5i2047dxx56lryms7xj0mznnlk5bii7g8dxzb";
fetchSubmodules = true;
};
buildInputs = [
2017-09-02 12:02:02 +01:00
alsaLib
boost
cln
cmake
ginac
gcc
jamomacore
kdnssd
libsndfile
ninja
portaudio
2017-09-02 12:02:02 +01:00
portmidi
qtbase
qtdeclarative
qtimageformats
2017-09-02 12:02:02 +01:00
qtmultimedia
qtquickcontrols2
qtserialport
qtsvg
qttools
qtwebsockets
rtaudio
];
cmakeFlags = [
"-GNinja"
"-DISCORE_CONFIGURATION=static-release"
"-DISCORE_ENABLE_LTO=OFF"
"-DISCORE_BUILD_FOR_PACKAGE_MANAGER=True"
];
preConfigure = ''
export CMAKE_PREFIX_PATH="''${CMAKE_PREFIX_PATH-}:$(echo "${jamomacore}/jamoma/share/cmake/Jamoma")"
'';
2017-09-02 12:02:02 +01:00
postInstall = ''rm $out/bin/i-score.sh'';
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;
};
}