musescore: 2.1 -> 3.6.2.548020600 on darwin

- Release: https://github.com/musescore/MuseScore/releases/tag/v3.6.2
- Bump musescore to 3.6.2.548020600
- Update download url
- Change license to gpl3
This commit is contained in:
Jiajie Chen 2022-07-03 14:04:09 +08:00 committed by superherointj
parent 1d5a0c0f4a
commit 0c0cb9dbe5

View file

@ -1,7 +1,7 @@
{ stdenv, lib, fetchurl, undmg }:
let
versionComponents = [ "2" "1" ];
versionComponents = [ "3" "6" "2" "548020600" ];
appName = "MuseScore ${builtins.head versionComponents}";
in
@ -15,8 +15,8 @@ stdenv.mkDerivation rec {
sourceRoot = "${appName}.app";
src = fetchurl {
url = "ftp://ftp.osuosl.org/pub/musescore/releases/MuseScore-${concatStringsSep "." (take 3 versionComponents)}/MuseScore-${version}.dmg";
sha256 = "19xkaxlkbrhvfip6n3iw6q7463ngr6y5gfisrpjqg2xl2igyl795";
url = "https://github.com/musescore/MuseScore/releases/download/v${concatStringsSep "." (take 3 versionComponents)}/MuseScore-${version}.dmg";
sha256 = "sha256-lHckfhTTrDzaGwlbnZ5w0O1gMPbRmrmgATIGMY517l0=";
};
buildInputs = [ undmg ];
@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "Music notation and composition software";
homepage = "https://musescore.org/";
license = licenses.gpl2;
license = licenses.gpl3Only;
platforms = platforms.darwin;
maintainers = [];
};