jumpy: 0.8.0 -> 0.12.2 (#377607)

authored by Gaétan Lepage and committed by GitHub 6b33302e 28c1c6e3

+19 -8
+19 -8
pkgs/by-name/ju/jumpy/package.nix
··· 2 2 lib, 3 3 rustPlatform, 4 4 fetchFromGitHub, 5 + fetchpatch2, 5 6 makeWrapper, 6 7 pkg-config, 7 8 zstd, ··· 14 15 xorg, 15 16 }: 16 17 17 - rustPlatform.buildRustPackage rec { 18 + rustPlatform.buildRustPackage (finalAttrs: { 18 19 pname = "jumpy"; 19 - version = "0.8.0"; 20 + version = "0.12.2"; 20 21 21 22 src = fetchFromGitHub { 22 23 owner = "fishfolk"; 23 24 repo = "jumpy"; 24 - rev = "v${version}"; 25 - sha256 = "sha256-ggePJH2kKJ17aOWRKUnLyolIdSzlc6Axf5Iw74iFfek="; 25 + tag = "v${finalAttrs.version}"; 26 + hash = "sha256-g/CpSycTCM1i6O7Mir+3huabvr4EXghDApquEUNny8c="; 26 27 }; 27 28 29 + # This patch may be removed in the next release 30 + cargoPatches = [ 31 + (fetchpatch2 { 32 + url = "https://github.com/fishfolk/jumpy/commit/8234e6d2c0b33c75e2112596ded1734fdba50fb8.patch?full_index=1"; 33 + hash = "sha256-IWjBw1Wj/6CT/x6xm6vfpUMfk7A5/EsdbPDvWywRFc8="; 34 + }) 35 + ]; 36 + 28 37 useFetchCargoVendor = true; 29 - cargoHash = "sha256-hVEpTNTXwOQoxlhOewUvHyfBh+APnx8Fox90CmdMRQ4="; 38 + cargoHash = "sha256-2I9s1zH94GRqXGBxZYyXOQwNeYrpV1UhUSKGCs9Ce9Q="; 30 39 31 40 nativeBuildInputs = [ 32 41 makeWrapper ··· 77 86 meta = { 78 87 description = "Tactical 2D shooter played by up to 4 players online or on a shared screen"; 79 88 mainProgram = "jumpy"; 80 - homepage = "https://fishfight.org/"; 81 - changelog = "https://github.com/fishfolk/jumpy/releases/tag/v${version}"; 89 + homepage = "https://fishfolk.org/games/jumpy"; 90 + changelog = "https://github.com/fishfolk/jumpy/releases/tag/v${finalAttrs.version}"; 82 91 license = with lib.licenses; [ 83 92 mit # or 84 93 asl20 94 + # Assets 95 + cc-by-nc-40 85 96 ]; 86 97 maintainers = with lib.maintainers; [ figsoda ]; 87 98 }; 88 - } 99 + })