nixpkgs/pkgs/games/fallout-ce/fallout2-ce.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
873 B
Nix
Raw Permalink Normal View History

2023-08-19 14:34:46 +00:00
{ callPackage
, fetchFromGitHub
, fetchpatch2
2023-08-19 14:34:46 +00:00
, zlib
}:
callPackage ./build.nix rec {
pname = "fallout2-ce";
2024-04-21 12:54:05 +00:00
version = "1.3.0";
2023-08-19 14:34:46 +00:00
src = fetchFromGitHub {
owner = "alexbatalov";
repo = "fallout2-ce";
rev = "v${version}";
2024-04-21 12:54:05 +00:00
hash = "sha256-r1pnmyuo3uw2R0x9vGScSHIVNA6t+txxABzgHkUEY5U=";
2023-08-19 14:34:46 +00:00
};
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=";
})
];
2023-08-19 14:34:46 +00:00
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";
};
}