Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 34 lines 742 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, gdb 5}: 6 7buildPythonPackage rec { 8 pname = "pygdbmi"; 9 version = "0.9.0.2"; 10 11 src = fetchFromGitHub { 12 #inherit pname version; 13 #inherit pname version; 14 owner = "cs01"; 15 repo = "pygdbmi"; 16 rev = version; 17 sha256 = "01isx7912dbalmc3xsafk1a1n6bzzfrjn2363djcq0v57rqii53d"; 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}