Skip to content

Commit

Permalink
(python3Packages.)pwndbg: 2024.02.14 -> 2024.08.29 (NixOS#341367)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 authored Sep 18, 2024
2 parents e33debd + d4766c3 commit 6eb9519
Showing 1 changed file with 3 additions and 20 deletions.
23 changes: 3 additions & 20 deletions pkgs/development/python-modules/pwndbg/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,33 +19,16 @@
gdb-pt-dump,
poetry-core,
}:
let
# The newest gdb-pt-dump is incompatible with pwndbg 2024.02.14.
# See https://github.com/martinradev/gdb-pt-dump/issues/29
gdb-pt-dump' = gdb-pt-dump.overrideAttrs (oldAttrs: {
version = "0-unstable-2023-11-11";

src = fetchFromGitHub {
inherit (oldAttrs.src) owner repo;
rev = "89ea252f6efc5d75eacca16fc17ff8966a389690";
hash = "sha256-i+SAcZ/kgfKstJnkyCVMh/lWtrJJOHTYoJH4tVfYHrE=";
};

# This revision relies on the package being imported from within GDB, which
# won't work with pythonImportsCheck.
pythonImportsCheck = [ ];
});
in
buildPythonPackage rec {
pname = "pwndbg";
version = "2024.02.14";
version = "2024.08.29";
pyproject = true;

src = fetchFromGitHub {
owner = "pwndbg";
repo = "pwndbg";
rev = version;
hash = "sha256-/pDo2J5EtpWWCurD7H34AlTlQi7WziIRRxHxGm3K2yk=";
hash = "sha256-mpkUEP0GBwOfbbpogupmDvCo8dkbSGy1YtH8T55rX9g=";
};

nativeBuildInputs = [
Expand All @@ -68,7 +51,7 @@ buildPythonPackage rec {
tabulate
typing-extensions
unicorn
gdb-pt-dump'
gdb-pt-dump
];

meta = {
Expand Down

0 comments on commit 6eb9519

Please sign in to comment.