nixpkgs/pkgs/games/cataclysm-dda/default.nix
Mitsuhiro Nakamura bf71f12cb5 cataclysm-dda{,-git}: apply locale patch dynamically
Each time src/translations.cpp is modified, we have to update the locale
patch. Using sed to patch dynamically should be handy.
2020-07-18 14:21:12 +09:00

23 lines
530 B
Nix

{ stdenv, callPackage, CoreFoundation
, tiles ? true, Cocoa
, debug ? false
}:
let
inherit (callPackage ./common.nix { inherit tiles CoreFoundation Cocoa debug; }) common utils;
inherit (utils) fetchFromCleverRaven;
in
stdenv.mkDerivation (common // rec {
version = "0.E-2";
src = fetchFromCleverRaven {
rev = version;
sha256 = "15l6w6lxays7qmsv0ci2ry53asb9an9dh7l7fc13256k085qcg68";
};
meta = with stdenv.lib.maintainers; common.meta // {
maintainers = common.meta.maintainers ++ [ skeidel ];
};
})