musescore: fetch from download.musescore.com

They noted in https://github.com/musescore/MuseScore/releases/tag/v3.0.1
that the revision number in mscore/revision.h was incorrect in the autogenerated
github asset.
This commit is contained in:
worldofpeace 2019-01-28 12:49:22 -05:00
parent b8e3bc6772
commit bafa7b0c03

View file

@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, cmake, pkgconfig
{ stdenv, lib, fetchzip, cmake, pkgconfig
, alsaLib, freetype, libjack2, lame, libogg, libpulseaudio, libsndfile, libvorbis
, portaudio, portmidi, qtbase, qtdeclarative, qtscript, qtsvg, qttools
, qtwebengine, qtxmlpatterns
@ -8,11 +8,10 @@ stdenv.mkDerivation rec {
name = "musescore-${version}";
version = "3.0.1";
src = fetchFromGitHub {
owner = "musescore";
repo = "MuseScore";
rev = "v${version}";
sha256 = "085qwfv3fsgry1pnx531w83lnyvf7kbaklipdf8zqa9shi6d3x9i";
src = fetchzip {
url = "https://download.musescore.com/releases/MuseScore-${version}/MuseScore-${version}.zip";
sha256 = "1l9djxq5hdfqiya2jwcag7qq4dhmb9qcv68y27dlza19imrnim80";
stripRoot = false;
};
patches = [