From 72fd7cc73739a3f7dcda7554c56ec5604791e245 Mon Sep 17 00:00:00 2001 From: Moritz Sanft <58110325+msanft@users.noreply.github.com> Date: Mon, 8 Apr 2024 09:57:23 +0200 Subject: [PATCH] python3Packages.gdb-pt-dump: init at 0-unstable-2024-04-01 --- .../python-modules/gdb-pt-dump/default.nix | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 pkgs/development/python-modules/gdb-pt-dump/default.nix diff --git a/pkgs/development/python-modules/gdb-pt-dump/default.nix b/pkgs/development/python-modules/gdb-pt-dump/default.nix new file mode 100644 index 000000000000..5687828e9e50 --- /dev/null +++ b/pkgs/development/python-modules/gdb-pt-dump/default.nix @@ -0,0 +1,29 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, poetry-core +}: + +buildPythonPackage rec { + pname = "gdb-pt-dump"; + version = "0-unstable-2024-04-01"; + pyproject = true; + + src = fetchFromGitHub { + owner = "martinradev"; + repo = "gdb-pt-dump"; + rev = "50227bda0b6332e94027f811a15879588de6d5cb"; + hash = "sha256-yiP3KY1oDwhy9DmNQEht/ryys9vpgkFS+EJcSA6R+cI="; + }; + + build-system = [ poetry-core ]; + + pythonImportsCheck = [ "pt" ]; + + meta = with lib; { + description = "GDB script to enhance debugging of a QEMU-based virtual machine"; + homepage = "https://github.com/martinradev/gdb-pt-dump"; + license = licenses.mit; + maintainers = with maintainers; [ msanft ]; + }; +}