summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/gdb-pt-dump/default.nix
blob: ea6a379bf531c61694645181394ac50b2b59b936 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  poetry-core,
}:

buildPythonPackage {
  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 = {
    description = "GDB script to enhance debugging of a QEMU-based virtual machine";
    homepage = "https://github.com/martinradev/gdb-pt-dump";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ msanft ];
  };
}