uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
36
pkgs/development/python-modules/pygdbmi/default.nix
Normal file
36
pkgs/development/python-modules/pygdbmi/default.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, gdb
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pygdbmi";
|
||||
version = "0.10.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cs01";
|
||||
repo = "pygdbmi";
|
||||
rev = version;
|
||||
sha256 = "0a6b3zyxwdcb671c6lrwxm8fhvsbjh0m8hf1r18m9dha86laimjr";
|
||||
};
|
||||
|
||||
checkInputs = [ gdb ];
|
||||
|
||||
# tests require gcc for some reason
|
||||
doCheck = !stdenv.hostPlatform.isDarwin;
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue