jumpy: 0.8.0 -> 0.12.2 (#377607)
This commit is contained in:
commit
6b33302e62
@ -2,6 +2,7 @@
|
|||||||
lib,
|
lib,
|
||||||
rustPlatform,
|
rustPlatform,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
|
fetchpatch2,
|
||||||
makeWrapper,
|
makeWrapper,
|
||||||
pkg-config,
|
pkg-config,
|
||||||
zstd,
|
zstd,
|
||||||
@ -14,19 +15,27 @@
|
|||||||
xorg,
|
xorg,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage (finalAttrs: {
|
||||||
pname = "jumpy";
|
pname = "jumpy";
|
||||||
version = "0.8.0";
|
version = "0.12.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "fishfolk";
|
owner = "fishfolk";
|
||||||
repo = "jumpy";
|
repo = "jumpy";
|
||||||
rev = "v${version}";
|
tag = "v${finalAttrs.version}";
|
||||||
sha256 = "sha256-ggePJH2kKJ17aOWRKUnLyolIdSzlc6Axf5Iw74iFfek=";
|
hash = "sha256-g/CpSycTCM1i6O7Mir+3huabvr4EXghDApquEUNny8c=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# This patch may be removed in the next release
|
||||||
|
cargoPatches = [
|
||||||
|
(fetchpatch2 {
|
||||||
|
url = "https://github.com/fishfolk/jumpy/commit/8234e6d2c0b33c75e2112596ded1734fdba50fb8.patch?full_index=1";
|
||||||
|
hash = "sha256-IWjBw1Wj/6CT/x6xm6vfpUMfk7A5/EsdbPDvWywRFc8=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
useFetchCargoVendor = true;
|
useFetchCargoVendor = true;
|
||||||
cargoHash = "sha256-hVEpTNTXwOQoxlhOewUvHyfBh+APnx8Fox90CmdMRQ4=";
|
cargoHash = "sha256-2I9s1zH94GRqXGBxZYyXOQwNeYrpV1UhUSKGCs9Ce9Q=";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
makeWrapper
|
makeWrapper
|
||||||
@ -77,12 +86,14 @@ rustPlatform.buildRustPackage rec {
|
|||||||
meta = {
|
meta = {
|
||||||
description = "Tactical 2D shooter played by up to 4 players online or on a shared screen";
|
description = "Tactical 2D shooter played by up to 4 players online or on a shared screen";
|
||||||
mainProgram = "jumpy";
|
mainProgram = "jumpy";
|
||||||
homepage = "https://fishfight.org/";
|
homepage = "https://fishfolk.org/games/jumpy";
|
||||||
changelog = "https://github.com/fishfolk/jumpy/releases/tag/v${version}";
|
changelog = "https://github.com/fishfolk/jumpy/releases/tag/v${finalAttrs.version}";
|
||||||
license = with lib.licenses; [
|
license = with lib.licenses; [
|
||||||
mit # or
|
mit # or
|
||||||
asl20
|
asl20
|
||||||
|
# Assets
|
||||||
|
cc-by-nc-40
|
||||||
];
|
];
|
||||||
maintainers = with lib.maintainers; [ figsoda ];
|
maintainers = with lib.maintainers; [ figsoda ];
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user