Merge pull request #257027 from t4ccer/t4/bump-0xtools

oxtools: 1.1.3 -> 1.2.4
This commit is contained in:
Thiago Kenji Okada 2023-09-25 12:47:14 +01:00 committed by GitHub
commit 650b40d888
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,19 +2,19 @@
, glibc, python3
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "0xtools";
version = "1.1.3";
version = "1.2.4";
src = fetchFromGitHub {
owner = "tanelpoder";
repo = pname;
rev = "v${version}";
sha256 = "sha256-pe64st3yhVfZi8/sTEfH1cNjx7JpqxDmxMmodpXnqaU=";
repo = "0xtools";
rev = "v${finalAttrs.version}";
hash = "sha256-h0/HIbwb1CvFUh/NpozDUCjYGCH647lC7JhbpDCvaLk=";
};
postPatch = ''
substituteInPlace lib/0xtools/proc.py \
substituteInPlace lib/0xtools/psnproc.py \
--replace /usr/include/asm/unistd_64.h ${glibc.dev}/include/asm/unistd_64.h
'';
@ -33,4 +33,4 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ astro ];
platforms = [ "x86_64-linux" ];
};
}
})