Unverified Commit e5b5b2af authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

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

parents 022304af ba330a9d
Loading
Loading
Loading
Loading
+8 −4
Original line number Diff line number Diff line
{
  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,9 +41,12 @@ stdenv.mkDerivation (finalAttrs: {
    "-DNCINE_OVERRIDE_CONTENT_PATH=${jazz2-content}"
  ];

  passthru.tests.version = testers.testVersion {
  passthru = {
    updateScript = gitUpdater { };
    tests.version = testers.testVersion {
      package = finalAttrs.finalPackage;
    };
  };

  meta = with lib; {
    description = "Open-source Jazz Jackrabbit 2 reimplementation";