diff options
Diffstat (limited to 'pkgs/games')
-rw-r--r-- | pkgs/games/crawl/default.nix | 13 | ||||
-rw-r--r-- | pkgs/games/eidolon/cargo-lock.patch | 19 | ||||
-rw-r--r-- | pkgs/games/eidolon/default.nix | 26 | ||||
-rw-r--r-- | pkgs/games/shattered-pixel-dungeon/default.nix | 4 | ||||
-rw-r--r-- | pkgs/games/tome4/default.nix | 4 |
5 files changed, 53 insertions, 13 deletions
diff --git a/pkgs/games/crawl/default.nix b/pkgs/games/crawl/default.nix index 2179c2bff76..47632408e79 100644 --- a/pkgs/games/crawl/default.nix +++ b/pkgs/games/crawl/default.nix @@ -8,22 +8,17 @@ stdenv.mkDerivation rec { name = "crawl-${version}${lib.optionalString tileMode "-tiles"}"; - version = "0.23.2"; + version = "0.24.0"; src = fetchFromGitHub { owner = "crawl"; repo = "crawl"; rev = version; - sha256 = "1d6mip4rvp81839yf2xm63hf34aza5wg4g5z5hi5275j94szaacs"; + sha256 = "1cdjd33z04gj70manavihc3lj9ckpmd75n09vvyw01z41s33fzs0"; }; - patches = [ - ./crawl_purify.patch # Patch hard-coded paths and remove force library builds - (fetchpatch { # Use a nice high-res app icon - url = "https://github.com/crawl/crawl/commit/2aa1166087e44e6585b26cedf1fe81b3f3ba547f.patch"; - sha256 = "1jqrdv4wy18shg1fdabdb421232hg5micphkixcyzxd1lrmvadg0"; - }) - ]; + # Patch hard-coded paths and remove force library builds + patches = [ ./crawl_purify.patch ]; nativeBuildInputs = [ pkgconfig which perl pngcrush advancecomp ]; diff --git a/pkgs/games/eidolon/cargo-lock.patch b/pkgs/games/eidolon/cargo-lock.patch new file mode 100644 index 00000000000..5aa09c52683 --- /dev/null +++ b/pkgs/games/eidolon/cargo-lock.patch @@ -0,0 +1,19 @@ +diff --git a/Cargo.lock b/Cargo.lock +index 8abf781..62511ef 100644 +--- a/Cargo.lock ++++ b/Cargo.lock +@@ -1,3 +1,5 @@ ++# This file is automatically @generated by Cargo. ++# It is not intended for manual editing. + [[package]] + name = "adler32" + version = "1.0.3" +@@ -229,7 +231,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" + + [[package]] + name = "eidolon" +-version = "1.4.5" ++version = "1.4.6" + dependencies = [ + "butlerd 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", + "dirs 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/pkgs/games/eidolon/default.nix b/pkgs/games/eidolon/default.nix new file mode 100644 index 00000000000..ab3d9647dc8 --- /dev/null +++ b/pkgs/games/eidolon/default.nix @@ -0,0 +1,26 @@ +{ stdenv, fetchgit, rustPlatform, pkgconfig, openssl }: + +rustPlatform.buildRustPackage rec { + pname = "eidolon"; + version = "1.4.6"; + + src = fetchgit { + url = "https://git.sr.ht/~nicohman/eidolon"; + rev = "${version}"; + sha256 = "1yn3k569pxzw43mmsk97088xpkdc714rks3ncchbb6ccx25kgxrr"; + }; + cargoPatches = [ ./cargo-lock.patch ]; + + cargoSha256 = "1887fjkk641cn6dpmyc5r3r2li61yw1nvfb0f2dp3169gycka15h"; + + nativeBuildInputs = [ pkgconfig ]; + buildInputs = [ openssl ]; + + meta = with stdenv.lib; { + description = "A single TUI-based registry for drm-free, wine and steam games on linux, accessed through a rofi launch menu"; + homepage = "https://github.com/nicohman/eidolon"; + license = licenses.gpl3; + maintainers = [ maintainers."0x4A6F" ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/games/shattered-pixel-dungeon/default.nix b/pkgs/games/shattered-pixel-dungeon/default.nix index 1bf4bde9ef2..f96f61764b5 100644 --- a/pkgs/games/shattered-pixel-dungeon/default.nix +++ b/pkgs/games/shattered-pixel-dungeon/default.nix @@ -11,13 +11,13 @@ let pname = "shattered-pixel-dungeon"; - version = "0.7.5e"; + version = "0.7.5f"; src = fetchFromGitHub { owner = "00-Evan"; repo = "shattered-pixel-dungeon-gdx"; rev = "v${version}"; - sha256 = "1wy5qlfsq7dqvn4g0glm1v60xildv44ww3p396wmgi390c9zg18d"; + sha256 = "05awbbc7np9li50shdbpv9dgdgry6lra8d5gibwn578m2g9srbxx"; }; postPatch = '' diff --git a/pkgs/games/tome4/default.nix b/pkgs/games/tome4/default.nix index c4d5dcb41e7..af13ae2e7e1 100644 --- a/pkgs/games/tome4/default.nix +++ b/pkgs/games/tome4/default.nix @@ -18,11 +18,11 @@ let in stdenv.mkDerivation rec { name = "${pname}-${version}"; - version = "1.5.10"; + version = "1.6.0"; src = fetchurl { url = "https://te4.org/dl/t-engine/t-engine4-src-${version}.tar.bz2"; - sha256 = "0mc5dgh2x9nbili7gy6srjhb23ckalf08wqq2amyjr5rq392jvd7"; + sha256 = "1z1w4ycgl5wbm0sv7577vcdfwwf4k7vaf2njzyb21rvqjizpbkwr"; }; prePatch = '' |