git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #44882 from nonfreeblob/crawl-0.22.0

crawl: 0.21.1 -> 0.22.0

commitc85748baaffb2ce9532cbc9e928e5304c72f9103 authorTimo Kaufmann <timokau@zoho.com> dateSat 11 Aug 2018, 18:22 (8 years ago) parentb26fcaa3d56684
2 files changed+5−6
pkgs/games/crawl/default.nix+4−5 pkgs/top-level/all-packages.nix+1−1
pkgs/games/crawl/default.nix+4−5
@@ -5,15 +5,16 @@
55
66stdenv.mkDerivation rec {
77 name = "crawl-${version}${lib.optionalString tileMode "-tiles"}";
8− version = "0.21.1";
8+ version = "0.22.0";
99
1010 src = fetchFromGitHub {
1111 owner = "crawl-ref";
1212 repo = "crawl-ref";
1313 rev = version;
14− sha256 = "191pmd7vpp9qni5l13fb5s8g1axniah8a6hhi31gp0848c8n7hlh";
14+ sha256 = "1bzhqrc944rgpdnnid3c5h2r3dvyw70cs70hazzm0cv5aipdkhbl";
1515 };
1616
17+ # Patch hard-coded paths in the makefile
1718 patches = [ ./crawl_purify.patch ];
1819
1920 nativeBuildInputs = [ pkgconfig which perl pngcrush advancecomp ];
@@ -25,9 +26,7 @@ stdenv.mkDerivation rec {
2526 preBuild = ''
2627 cd crawl-ref/source
2728 echo "${version}" > util/release_ver
28− for i in util/*; do
29− patchShebangs $i
30− done
29+ patchShebangs 'util'
3130 patchShebangs util/gen-mi-enum
3231 rm -rf contrib
3332 '';
pkgs/top-level/all-packages.nix+1−1
@@ -19499,7 +19499,7 @@ with pkgs;
1949919499
1950019500 crafty = callPackage ../games/crafty { };
1950119501
19502− crawlTiles = crawl.override {
19502+ crawlTiles = callPackage ../games/crawl {
1950319503 tileMode = true;
1950419504 };
1950519505