oxtools: 1.1.3 -> 1.2.4

This commit is contained in:
t4ccer 2023-09-24 00:34:10 -06:00
parent 397b1733f4
commit 0aa3284ced
No known key found for this signature in database
GPG Key ID: 19E5A2D8B1E43F19

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" ];
};
}
})