Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 19 additions & 8 deletions pkgs/by-name/ju/jumpy/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
lib,
rustPlatform,
fetchFromGitHub,
fetchpatch2,
makeWrapper,
pkg-config,
zstd,
Expand All @@ -14,19 +15,27 @@
xorg,
}:

rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "jumpy";
version = "0.8.0";
version = "0.12.2";

src = fetchFromGitHub {
owner = "fishfolk";
repo = "jumpy";
rev = "v${version}";
sha256 = "sha256-ggePJH2kKJ17aOWRKUnLyolIdSzlc6Axf5Iw74iFfek=";
tag = "v${finalAttrs.version}";
hash = "sha256-g/CpSycTCM1i6O7Mir+3huabvr4EXghDApquEUNny8c=";
};

# This patch may be removed in the next release
cargoPatches = [
(fetchpatch2 {
Comment thread
liberodark marked this conversation as resolved.
Outdated
url = "https://github.com/fishfolk/jumpy/commit/8234e6d2c0b33c75e2112596ded1734fdba50fb8.patch?full_index=1";
hash = "sha256-IWjBw1Wj/6CT/x6xm6vfpUMfk7A5/EsdbPDvWywRFc8=";
})
];

useFetchCargoVendor = true;
cargoHash = "sha256-hVEpTNTXwOQoxlhOewUvHyfBh+APnx8Fox90CmdMRQ4=";
cargoHash = "sha256-2I9s1zH94GRqXGBxZYyXOQwNeYrpV1UhUSKGCs9Ce9Q=";

nativeBuildInputs = [
makeWrapper
Expand Down Expand Up @@ -77,12 +86,14 @@ rustPlatform.buildRustPackage rec {
meta = {
description = "Tactical 2D shooter played by up to 4 players online or on a shared screen";
mainProgram = "jumpy";
homepage = "https://fishfight.org/";
changelog = "https://github.com/fishfolk/jumpy/releases/tag/v${version}";
homepage = "https://fishfolk.org/games/jumpy";
changelog = "https://github.com/fishfolk/jumpy/releases/tag/v${finalAttrs.version}";
license = with lib.licenses; [
mit # or
asl20
Comment thread
liberodark marked this conversation as resolved.
Outdated
# Assets
cc-by-nc-40
];
maintainers = with lib.maintainers; [ figsoda ];
};
}
})