2023-08-19 16:34:09 +02:00
|
|
|
{ callPackage
|
|
|
|
, fetchFromGitHub
|
2024-05-05 15:51:00 +02:00
|
|
|
, fetchpatch2
|
2023-08-19 16:34:09 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
callPackage ./build.nix rec {
|
|
|
|
pname = "fallout-ce";
|
2024-03-04 02:43:36 +01:00
|
|
|
version = "1.1.0";
|
2023-08-19 16:34:09 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "alexbatalov";
|
|
|
|
repo = "fallout1-ce";
|
|
|
|
rev = "v${version}";
|
2024-03-04 02:43:36 +01:00
|
|
|
hash = "sha256-ZiBoF3SL00sN0QrD3fkWG9SAknumOvzRB1oQJff6ITA=";
|
2023-08-19 16:34:09 +02:00
|
|
|
};
|
|
|
|
|
2024-05-05 15:51:00 +02:00
|
|
|
patches = [
|
|
|
|
# Fix case-sensitive filesystems issue when save/load games
|
|
|
|
(fetchpatch2 {
|
|
|
|
url = "https://github.com/alexbatalov/fallout1-ce/commit/aa3c5c1e3e3f9642d536406b2d8d6b362c9e402f.patch";
|
|
|
|
sha256 = "sha256-quFRbKMS2pNDCNTWc1ZoB3jnB5qzw0b+2OeJUi8IPBc=";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2023-08-19 16:34:09 +02:00
|
|
|
extraMeta = {
|
|
|
|
description = "Fully working re-implementation of Fallout, with the same original gameplay, engine bugfixes, and some quality of life improvements";
|
|
|
|
homepage = "https://github.com/alexbatalov/fallout1-ce";
|
|
|
|
};
|
|
|
|
}
|