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
68
pkgs/development/python-modules/msrest/default.nix
Normal file
68
pkgs/development/python-modules/msrest/default.nix
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
{ lib
|
||||
, aiodns
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, certifi
|
||||
, fetchFromGitHub
|
||||
, httpretty
|
||||
, isodate
|
||||
, pytest-aiohttp
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, requests
|
||||
, requests-oauthlib
|
||||
, trio
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "msrest";
|
||||
version = "0.6.21";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Azure";
|
||||
repo = "msrest-for-python";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-IlBwlVQ/v+vJmCWNbFZKGL6a9K09z4AYrPm3kwaA/nI=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiodns
|
||||
aiohttp
|
||||
certifi
|
||||
isodate
|
||||
requests
|
||||
requests-oauthlib
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
httpretty
|
||||
pytest-aiohttp
|
||||
pytestCheckHook
|
||||
trio
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# Test require network access
|
||||
"test_basic_aiohttp"
|
||||
"test_basic_aiohttp"
|
||||
"test_basic_async_requests"
|
||||
"test_basic_async_requests"
|
||||
"test_conf_async_requests"
|
||||
"test_conf_async_requests"
|
||||
"test_conf_async_trio_requests"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"msrest"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "The runtime library for AutoRest generated Python clients";
|
||||
homepage = "https://github.com/Azure/msrest-for-python";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ bendlas jonringer maxwilson ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue