mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 20:55:31 +03:00
rebels-in-the-sky: 1.0.29 -> 1.0.30
Signed-off-by: Marcin Serwin <marcin@serwin.dev>
This commit is contained in:
parent
7bd10130ab
commit
6bf8ab3ded
1 changed files with 6 additions and 15 deletions
|
@ -3,7 +3,6 @@
|
||||||
lib,
|
lib,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
rustPlatform,
|
rustPlatform,
|
||||||
fetchpatch,
|
|
||||||
cmake,
|
cmake,
|
||||||
pkg-config,
|
pkg-config,
|
||||||
alsa-lib,
|
alsa-lib,
|
||||||
|
@ -15,28 +14,20 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage (finalAttrs: {
|
rustPlatform.buildRustPackage (finalAttrs: {
|
||||||
pname = "rebels-in-the-sky";
|
pname = "rebels-in-the-sky";
|
||||||
version = "1.0.29";
|
version = "1.0.30";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ricott1";
|
owner = "ricott1";
|
||||||
repo = "rebels-in-the-sky";
|
repo = "rebels-in-the-sky";
|
||||||
tag = "v${finalAttrs.version}";
|
tag = "v${finalAttrs.version}";
|
||||||
hash = "sha256-rWBaD4nxSmr1RZRbc51Sz9Xl2Te2yv4HNuFqWj8KayM=";
|
hash = "sha256-eC8n9g2kFErTRWWNo6jwAMGBX3+xGjtzq23+r3w0n0I=";
|
||||||
};
|
};
|
||||||
useFetchCargoVendor = true;
|
useFetchCargoVendor = true;
|
||||||
cargoHash = "sha256-ZRxq6/mgXZ33o1AEHnSOt4HJAI1y+F+ysVNvvbb9M28=";
|
cargoHash = "sha256-dGD0RpelENEWe9W/3CXUS2GhOXRaWhCoD8AI2n4mUfs=";
|
||||||
|
|
||||||
patches =
|
patches = lib.optionals (!withRadio) [
|
||||||
lib.optionals (!withRadio) [
|
./disable-radio.patch
|
||||||
./disable-radio.patch
|
];
|
||||||
]
|
|
||||||
++ [
|
|
||||||
# https://github.com/ricott1/rebels-in-the-sky/pull/25
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://github.com/ricott1/rebels-in-the-sky/commit/31778fee783637fe8af09f71754f35c5d15b800a.patch";
|
|
||||||
hash = "sha256-PO/aY+fB72gQpxE5eaIP/s4xevfQ/Ac1TH5ZEKwpw1I=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs =
|
nativeBuildInputs =
|
||||||
[
|
[
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue