This reverts commit 65a333600d5c88a98d674f637d092807cfc12253. This wasn't tested for correctness with something like fodwatch [0], and should not have been (self-)merged so quickly, especially without further review. It also resulted in the breakage of at least one package [1] (and that's the one we know of and was caught). A few packages that were updated in between this commit and this revert were not reverted back to using `rev`, but other than that, this is a 1:1 revert. [0]: https://codeberg.org/raphaelr/fodwatch [1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e4587d75882aebc21a04bee960418f8ce9
34 lines
879 B
Nix
34 lines
879 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";
|
|
};
|
|
}
|