jazz2: 3.1.0 -> 3.2.0; add updateScript (#391892)

authored by Gaétan Lepage and committed by GitHub e5b5b2af 022304af

+8 -4
+8 -4
pkgs/by-name/ja/jazz2/package.nix
··· 1 { 2 cmake, 3 fetchFromGitHub, 4 jazz2-content, 5 lib, 6 libopenmpt, ··· 14 15 stdenv.mkDerivation (finalAttrs: { 16 pname = "jazz2"; 17 - version = "3.1.0"; 18 19 src = fetchFromGitHub { 20 owner = "deathkiller"; 21 repo = "jazz2-native"; 22 rev = finalAttrs.version; 23 - hash = "sha256-bPVCowop8bocUEXTQI5X4+6FgddKVOMfaXTrbvjrnjI="; 24 }; 25 26 patches = [ ./nocontent.patch ]; ··· 40 "-DNCINE_OVERRIDE_CONTENT_PATH=${jazz2-content}" 41 ]; 42 43 - passthru.tests.version = testers.testVersion { 44 - package = finalAttrs.finalPackage; 45 }; 46 47 meta = with lib; {
··· 1 { 2 cmake, 3 fetchFromGitHub, 4 + gitUpdater, 5 jazz2-content, 6 lib, 7 libopenmpt, ··· 15 16 stdenv.mkDerivation (finalAttrs: { 17 pname = "jazz2"; 18 + version = "3.2.0"; 19 20 src = fetchFromGitHub { 21 owner = "deathkiller"; 22 repo = "jazz2-native"; 23 rev = finalAttrs.version; 24 + hash = "sha256-9Fsm4hiNIEi5OVZLOLccSUkFmHnQ+ZUoBor+DZ9edVo="; 25 }; 26 27 patches = [ ./nocontent.patch ]; ··· 41 "-DNCINE_OVERRIDE_CONTENT_PATH=${jazz2-content}" 42 ]; 43 44 + passthru = { 45 + updateScript = gitUpdater { }; 46 + tests.version = testers.testVersion { 47 + package = finalAttrs.finalPackage; 48 + }; 49 }; 50 51 meta = with lib; {