2018-12-01 10:52:33 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, gdb
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pygdbmi";
|
2020-01-28 06:12:01 +00:00
|
|
|
version = "0.9.0.2";
|
2018-12-01 10:52:33 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
#inherit pname version;
|
|
|
|
#inherit pname version;
|
|
|
|
owner = "cs01";
|
|
|
|
repo = "pygdbmi";
|
|
|
|
rev = version;
|
2020-01-28 06:12:01 +00:00
|
|
|
sha256 = "01isx7912dbalmc3xsafk1a1n6bzzfrjn2363djcq0v57rqii53d";
|
2018-12-01 10:52:33 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ gdb ];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
# tries to execute flake8,
|
|
|
|
# which is likely to break on flake8 updates
|
|
|
|
echo "def main(): return 0" > tests/static_tests.py
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Parse gdb machine interface output with Python";
|
|
|
|
homepage = https://github.com/cs01/pygdbmi;
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.mic92 ];
|
|
|
|
};
|
|
|
|
}
|