depot/pkgs/games/fallout-ce/fallout2-ce.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

32 lines
873 B
Nix

{ callPackage
, fetchFromGitHub
, fetchpatch2
, zlib
}:
callPackage ./build.nix rec {
pname = "fallout2-ce";
version = "1.3.0";
src = fetchFromGitHub {
owner = "alexbatalov";
repo = "fallout2-ce";
rev = "v${version}";
hash = "sha256-r1pnmyuo3uw2R0x9vGScSHIVNA6t+txxABzgHkUEY5U=";
};
patches = [
# Fix case-sensitive filesystems issue when save/load games
(fetchpatch2 {
url = "https://github.com/alexbatalov/fallout2-ce/commit/d843a662b3ceaf01ac363e9abb4bfceb8b805c36.patch";
sha256 = "sha256-u4E9+DE6sGYikIGwKDmSBj3ErCfIo6YzIw2eMiqXw/E=";
})
];
extraBuildInputs = [ zlib ];
extraMeta = {
description = "Fully working re-implementation of Fallout 2, with the same original gameplay, engine bugfixes, and some quality of life improvements";
homepage = "https://github.com/alexbatalov/fallout2-ce";
};
}