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
|
|
@ -0,0 +1,43 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, mock
|
||||
, oauthlib
|
||||
, pytestCheckHook
|
||||
, requests
|
||||
, requests-mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "requests-oauthlib";
|
||||
version = "1.3.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-db6sSkeIHuuU1epdatMe+IhWr/4jMrmq+1LGRSzPDXo=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ oauthlib requests ];
|
||||
|
||||
checkInputs = [
|
||||
mock
|
||||
pytestCheckHook
|
||||
requests-mock
|
||||
];
|
||||
|
||||
# Exclude tests which require network access
|
||||
disabledTests = [
|
||||
"testCanPostBinaryData"
|
||||
"test_content_type_override"
|
||||
"test_url_is_native_str"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "requests_oauthlib" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "OAuthlib authentication support for Requests";
|
||||
homepage = "https://github.com/requests/requests-oauthlib";
|
||||
license = with licenses; [ isc ];
|
||||
maintainers = with maintainers; [ prikhi ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue