mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 22:53:42 +00:00
f9128385ae
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.
38 lines
1.1 KiB
Nix
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.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "musescore";
|
|
repo = "MuseScore";
|
|
rev = "v${version}";
|
|
sha256 = "0ncv0xfmq87plqa43cm0fpidlwzz1nq5s7h7139llrbc36yp3pr1";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|