From 0c0cb9dbe5466dc44de97d7821320f70a8360e38 Mon Sep 17 00:00:00 2001 From: Jiajie Chen Date: Sun, 3 Jul 2022 14:04:09 +0800 Subject: [PATCH] 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 --- pkgs/applications/audio/musescore/darwin.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/audio/musescore/darwin.nix b/pkgs/applications/audio/musescore/darwin.nix index 2cf1b9ff68de..add56f99d9b3 100644 --- a/pkgs/applications/audio/musescore/darwin.nix +++ b/pkgs/applications/audio/musescore/darwin.nix @@ -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 = []; };