Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 30 lines 836 B view raw
1{ 2 callPackage, 3 fetchFromGitHub, 4 fetchpatch2, 5}: 6 7callPackage ./build.nix rec { 8 pname = "fallout-ce"; 9 version = "1.1.0"; 10 11 src = fetchFromGitHub { 12 owner = "alexbatalov"; 13 repo = "fallout1-ce"; 14 rev = "v${version}"; 15 hash = "sha256-ZiBoF3SL00sN0QrD3fkWG9SAknumOvzRB1oQJff6ITA="; 16 }; 17 18 patches = [ 19 # Fix case-sensitive filesystems issue when save/load games 20 (fetchpatch2 { 21 url = "https://github.com/alexbatalov/fallout1-ce/commit/aa3c5c1e3e3f9642d536406b2d8d6b362c9e402f.patch"; 22 sha256 = "sha256-quFRbKMS2pNDCNTWc1ZoB3jnB5qzw0b+2OeJUi8IPBc="; 23 }) 24 ]; 25 26 extraMeta = { 27 description = "Fully working re-implementation of Fallout, with the same original gameplay, engine bugfixes, and some quality of life improvements"; 28 homepage = "https://github.com/alexbatalov/fallout1-ce"; 29 }; 30}