1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-01-22 14:45:27 +00:00
nixpkgs/pkgs/applications/audio/musescore/default.nix
R. RyanTM 04d115b5c9 musescore: 2.2.1 -> 2.3 (#42978)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/musescore/versions.

These checks were done:

- built on NixOS
- Warning: no invocation of /nix/store/2v80cx15ym38qn868pcqvz0cqs3whw66-musescore-2.3/bin/musescore had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/2v80cx15ym38qn868pcqvz0cqs3whw66-musescore-2.3/bin/mscore had a zero exit code or showed the expected version
- 0 of 2 passed binary check by having a zero exit code.
- 0 of 2 passed binary check by having the new version present in output.
- found 2.3 with grep in /nix/store/2v80cx15ym38qn868pcqvz0cqs3whw66-musescore-2.3
- directory tree listing: https://gist.github.com/304584c69aaf2dab752afab6be611a00
- du listing: https://gist.github.com/e865dcb576e0494795fa4676b35a241c
2018-07-08 23:53:24 +02:00

38 lines
1.1 KiB
Nix

{ stdenv, lib, fetchFromGitHub, cmake, pkgconfig
, alsaLib, freetype, libjack2, lame, libogg, libpulseaudio, libsndfile, libvorbis
, portaudio, portmidi, qtbase, qtdeclarative, qtscript, qtsvg, qttools
, qtwebkit, qtxmlpatterns
}:
stdenv.mkDerivation rec {
name = "musescore-${version}";
version = "2.3";
src = fetchFromGitHub {
owner = "musescore";
repo = "MuseScore";
rev = "v${version}";
sha256 = "1rmnqblh4irrwdszh0glpnf3q6f8xk8gxfmmjk8swxr59bmqk3gz";
};
cmakeFlags = [
] ++ lib.optional (lib.versionAtLeast freetype.version "2.5.2") "-DUSE_SYSTEM_FREETYPE=ON";
nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [
alsaLib libjack2 freetype lame libogg libpulseaudio libsndfile libvorbis
portaudio portmidi # tesseract
qtbase qtdeclarative qtscript qtsvg qttools qtwebkit qtxmlpatterns
];
meta = with stdenv.lib; {
description = "Music notation and composition software";
homepage = https://musescore.org/;
license = licenses.gpl2;
maintainers = with maintainers; [ vandenoever ];
platforms = platforms.linux;
repositories.git = https://github.com/musescore/MuseScore;
};
}