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
53
pkgs/development/python-modules/gidgethub/default.nix
Normal file
53
pkgs/development/python-modules/gidgethub/default.nix
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, uritemplate
|
||||
, pyjwt
|
||||
, pytestCheckHook
|
||||
, aiohttp
|
||||
, httpx
|
||||
, importlib-resources
|
||||
, pytest-asyncio
|
||||
, pytest-tornasync
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "gidgethub";
|
||||
version = "5.1.0";
|
||||
format = "flit";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-kNGTb6mA2XBaljYvpOWaKFEks3NigsiPgmdIgSMKTiU=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
uritemplate
|
||||
pyjwt
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
aiohttp
|
||||
httpx
|
||||
importlib-resources
|
||||
pytest-asyncio
|
||||
pytest-tornasync
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# Require internet connection
|
||||
"test__request"
|
||||
"test_get"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "An async GitHub API library";
|
||||
homepage = "https://github.com/brettcannon/gidgethub";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue