1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 01:20:40 +00:00
nixpkgs/pkgs/development/python-modules/pygdbmi/default.nix
2018-12-01 14:13:46 +00:00

35 lines
742 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, gdb
}:
buildPythonPackage rec {
pname = "pygdbmi";
version = "0.9.0.0";
src = fetchFromGitHub {
#inherit pname version;
#inherit pname version;
owner = "cs01";
repo = "pygdbmi";
rev = version;
sha256 = "12xq9iajgqz23dska5x63hrx75icr5bwwswnmba0y69y39s0jpsj";
};
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 ];
};
}