3
0
Fork 0
forked from mirrors/nixpkgs

devilutionx: 1.4.0 -> 1.4.1

Removed SDL_AUDIOLIB patch as it is included in the 1.4.1 release,
updated libzt dependency to match
https://github.com/diasurgical/devilutionX/commit/6bf474a6ba
This commit is contained in:
Anund 2022-12-29 02:28:13 +11:00
parent 4d5535c90c
commit d3291f4f2a

View file

@ -42,8 +42,8 @@ let
owner = "diasurgical";
repo = "libzt";
fetchSubmodules = true;
rev = "a34ba7f1cc2e41b05badd25d1b01fdc5fd2f4e02";
sha256 = "sha256-tyIPt+7OTi5W+5X/ixQP1puOKdhrqRZtpwXlWFBFpc8=";
rev = "37a2efb0b925df632299ef07dc78c0af5f6b4756";
sha256 = "sha256-+o4ZTVqh4MDZES9m7mkfkMRlRDMBytDBuA0QIlnp73U=";
};
# missing pkg-config and/or cmake file
@ -55,22 +55,15 @@ in
stdenv.mkDerivation rec {
pname = "devilutionx";
version = "1.4.0";
version = "1.4.1";
src = fetchFromGitHub {
owner = "diasurgical";
repo = "devilutionX";
rev = version;
sha256 = "sha256-uuIPTdgGpHA8j1M8b+kfnBuiJ5mdS9rckvEfn2h7lmo=";
sha256 = "sha256-l0BhL+DXtkG2PdFqmkL0KJv41zl3N/AcuLmzw2j3jXY=";
};
patches = [
(fetchpatch {
url = "https://github.com/diasurgical/devilutionX/commit/03b22352fc9e1ecb88b20a053c90c04a50717267.patch";
sha256 = "sha256-5aAwi1NV8P+nLLbEEnlwLGNQCQBb0nQkIVe5tR5Shsw=";
})
];
postPatch = ''
substituteInPlace Source/init.cpp --replace "/usr/share/diasurgical/devilutionx/" "${placeholder "out"}/share/diasurgical/devilutionx/"