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

This commit is contained in:
Gaétan Lepage 2025-03-24 17:32:54 +01:00 committed by GitHub
commit e5b5b2af6f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,7 @@
{
cmake,
fetchFromGitHub,
gitUpdater,
jazz2-content,
lib,
libopenmpt,
@ -14,13 +15,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "jazz2";
version = "3.1.0";
version = "3.2.0";
src = fetchFromGitHub {
owner = "deathkiller";
repo = "jazz2-native";
rev = finalAttrs.version;
hash = "sha256-bPVCowop8bocUEXTQI5X4+6FgddKVOMfaXTrbvjrnjI=";
hash = "sha256-9Fsm4hiNIEi5OVZLOLccSUkFmHnQ+ZUoBor+DZ9edVo=";
};
patches = [ ./nocontent.patch ];
@ -40,8 +41,11 @@ stdenv.mkDerivation (finalAttrs: {
"-DNCINE_OVERRIDE_CONTENT_PATH=${jazz2-content}"
];
passthru.tests.version = testers.testVersion {
package = finalAttrs.finalPackage;
passthru = {
updateScript = gitUpdater { };
tests.version = testers.testVersion {
package = finalAttrs.finalPackage;
};
};
meta = with lib; {