musescore: 3.5.0 -> 3.5.2

Use fetchFromGitHub as it seems the only way to get the source now. Also
use libsForQt5 as it works.
This commit is contained in:
Doron Behar 2020-11-01 20:56:15 +02:00
parent 58d1f49993
commit 07cb335125
2 changed files with 8 additions and 7 deletions

View file

@ -1,4 +1,4 @@
{ stdenv, mkDerivation, lib, fetchzip, cmake, pkgconfig
{ stdenv, mkDerivation, lib, fetchFromGitHub, cmake, pkgconfig
, alsaLib, freetype, libjack2, lame, libogg, libpulseaudio, libsndfile, libvorbis
, portaudio, portmidi, qtbase, qtdeclarative, qtgraphicaleffects
, qtquickcontrols2, qtscript, qtsvg, qttools
@ -7,12 +7,13 @@
mkDerivation rec {
pname = "musescore";
version = "3.5.0";
version = "3.5.2";
src = fetchzip {
url = "https://github.com/musescore/MuseScore/releases/download/v3.5/MuseScore-${version}.zip";
sha256 = "0m598xh0s4f5m4l2ymy7g44bbvc14bcfi4gifhjnrg091rsk57c9";
stripRoot = false;
src = fetchFromGitHub {
owner = "musescore";
repo = "MuseScore";
rev = "v${version}";
sha256 = "VA0+npLUUXQJHalD01pmFTTum2Re7FiiyAwU1XvR93s=";
};
patches = [

View file

@ -22374,7 +22374,7 @@ in
if stdenv.isDarwin then
callPackage ../applications/audio/musescore/darwin.nix { }
else
libsForQt514.callPackage ../applications/audio/musescore { };
libsForQt5.callPackage ../applications/audio/musescore { };
mmh = callPackage ../applications/networking/mailreaders/mmh { };
mutt = callPackage ../applications/networking/mailreaders/mutt { };