python3Packages.azure-core: init at 1.1.1
This commit is contained in:
parent
0797536602
commit
e1b79e394f
2 changed files with 50 additions and 0 deletions
48
pkgs/development/python-modules/azure-core/default.nix
Normal file
48
pkgs/development/python-modules/azure-core/default.nix
Normal file
|
@ -0,0 +1,48 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, isPy27
|
||||
, aiodns
|
||||
, aiohttp
|
||||
, msrest
|
||||
, pytest
|
||||
, pytestCheckHook
|
||||
, requests
|
||||
, six
|
||||
, trio
|
||||
, typing-extensions
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "1.1.1";
|
||||
pname = "azure-core";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "00jm43gw89n446zdm18qziwd85lsx1gandxpmw62dc1bdnsfakxl";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
six
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
aiodns
|
||||
aiohttp
|
||||
msrest
|
||||
pytest
|
||||
pytestCheckHook
|
||||
trio
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
pytestFlagsArray = [ "tests/" ];
|
||||
disabledTests = [ "response" "request" "timeout" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Microsoft Azure Core Library for Python";
|
||||
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jonringer ];
|
||||
};
|
||||
}
|
|
@ -268,6 +268,8 @@ in {
|
|||
|
||||
azure-batch = callPackage ../development/python-modules/azure-batch { };
|
||||
|
||||
azure-core = callPackage ../development/python-modules/azure-core { };
|
||||
|
||||
azure-cosmosdb-nspkg = callPackage ../development/python-modules/azure-cosmosdb-nspkg { };
|
||||
|
||||
azure-cosmosdb-table = callPackage ../development/python-modules/azure-cosmosdb-table { };
|
||||
|
|
Loading…
Reference in a new issue