1 { stdenv, lib, callPackage, CoreFoundation, fetchFromGitHub, pkgs, wrapCDDA, attachPkgs
5 , version ? "2022-08-20"
6 , rev ? "f65b2bc4c6dea24bd9a993b8df146e5698e7e36f"
7 , sha256 ? "sha256-00Tp9OmsM39PYwAJXKKRS9zmn7KsGQ9s1eVmEqghkpw="
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
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 ];