git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #43578 from rardiol/cdda

cataclysm dda 2018-07-15

commita2eb1703e15bb809fb2ecffeaba8ff532447c4b7 authorFranz Pletz <fpletz@fnordicwalking.de> dateSun 15 Jul 2018, 21:10 (8 years ago) parentc6736435901dae
1 file changed+9−5
pkgs/games/cataclysm-dda/git.nix+9−5
pkgs/games/cataclysm-dda/git.nix+9−5
@@ -1,16 +1,16 @@
11{ fetchFromGitHub, stdenv, pkgconfig, ncurses, lua, SDL2, SDL2_image, SDL2_ttf,
22SDL2_mixer, freetype, gettext, CoreFoundation, Cocoa,
3−tiles ? true }:
3+tiles ? true, debug ? false }:
44
55stdenv.mkDerivation rec {
6− version = "2017-12-09";
6+ version = "2018-07-15";
77 name = "cataclysm-dda-git-${version}";
88
99 src = fetchFromGitHub {
1010 owner = "CleverRaven";
1111 repo = "Cataclysm-DDA";
12− rev = "24e92956db5587809750283873c242cc0796d7e6";
13− sha256 = "1a7kdmx76na4g65zra01qaq98lxp9j2dl9ddv09r0p5yxaizw68z";
12+ rev = "e1e5d81";
13+ sha256 = "198wfj8l1p8xlwicj92cq237pzv2ha9pcf240y7ijhjpmlc9jkr1";
1414 };
1515
1616 nativeBuildInputs = [ pkgconfig ];
@@ -31,7 +31,6 @@ stdenv.mkDerivation rec {
3131 makeFlags = with stdenv.lib; [
3232 "PREFIX=$(out)"
3333 "LUA=1"
34− "RELEASE=1"
3534 "USE_HOME_DIR=1"
3635 "LANGUAGES=all"
3736 "VERSION=git-${version}-${substring 0 8 src.rev}"
@@ -41,6 +40,8 @@ stdenv.mkDerivation rec {
4140 ] ++ optionals stdenv.isDarwin [
4241 "NATIVE=osx"
4342 "CLANG=1"
43+ ] ++ optionals (! debug) [
44+ "RELEASE=1"
4445 ];
4546
4647 postInstall = with stdenv.lib; optionalString (tiles && !stdenv.isDarwin) ''
@@ -64,6 +65,8 @@ stdenv.mkDerivation rec {
6465 # make: *** [Makefile:687: obj/tiles/weather_data.o] Error 1
6566 enableParallelBuilding = false;
6667
68+ dontStrip = debug;
69+
6770 meta = with stdenv.lib; {
6871 description = "A free, post apocalyptic, zombie infested rogue-like";
6972 longDescription = ''
@@ -89,6 +92,7 @@ stdenv.mkDerivation rec {
8992 substances or radiation, now more closely resemble insects, birds or fish
9093 than their original form.
9194 '';
95+ maintainers = with maintainers; [ rardiol ];
9296 homepage = https://cataclysmdda.org/;
9397 license = licenses.cc-by-sa-30;
9498 platforms = platforms.unix;