1 { lib, callPackage, CoreFoundation, fetchFromGitHub, fetchpatch, pkgs, wrapCDDA, attachPkgs
5 , version ? "2024-07-28"
6 , rev ? "bfeb1fffc4179fed242a042f24b1c97f6cfaff3d"
7 , sha256 ? "sha256-IodXEA+pWfDdR9huRXieP3+J3WZJO19C8PUPT18dFBw="
11 common = callPackage ./common.nix {
12 inherit CoreFoundation tiles Cocoa debug useXdgDir;
15 self = common.overrideAttrs (common: rec {
16 pname = common.pname + "-git";
19 src = fetchFromGitHub {
20 owner = "CleverRaven";
21 repo = "Cataclysm-DDA";
26 # Unconditionally look for translation files in $out/share/locale
27 ./locale-path-git.patch
30 makeFlags = common.makeFlags ++ [
31 "VERSION=git-${version}-${lib.substring 0 8 src.rev}"
34 meta = common.meta // {
35 maintainers = with lib.maintainers;
36 common.meta.maintainers ++ [ rardiol ];