1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, gdb
5}:
6
7buildPythonPackage rec {
8 pname = "pygdbmi";
9 version = "0.9.0.0";
10
11 src = fetchFromGitHub {
12 #inherit pname version;
13 #inherit pname version;
14 owner = "cs01";
15 repo = "pygdbmi";
16 rev = version;
17 sha256 = "12xq9iajgqz23dska5x63hrx75icr5bwwswnmba0y69y39s0jpsj";
18 };
19
20 checkInputs = [ gdb ];
21
22 postPatch = ''
23 # tries to execute flake8,
24 # which is likely to break on flake8 updates
25 echo "def main(): return 0" > tests/static_tests.py
26 '';
27
28 meta = with lib; {
29 description = "Parse gdb machine interface output with Python";
30 homepage = https://github.com/cs01/pygdbmi;
31 license = licenses.mit;
32 maintainers = [ maintainers.mic92 ];
33 };
34}