mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
51 lines
910 B
Nix
51 lines
910 B
Nix
{ lib, buildPythonPackage, fetchPypi, isPy27
|
|
, aiodns
|
|
, aiohttp
|
|
, mock
|
|
, msrest
|
|
, pytest
|
|
, pytestCheckHook
|
|
, requests
|
|
, six
|
|
, trio
|
|
, typing-extensions
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "1.3.0";
|
|
pname = "azure-core";
|
|
disabled = isPy27;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
extension = "zip";
|
|
sha256 = "98d03a35845fe5b6abaa32f5961214da3e16c4c82b8c601926fc5e7f3a39549e";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
requests
|
|
six
|
|
];
|
|
|
|
checkInputs = [
|
|
aiodns
|
|
aiohttp
|
|
mock
|
|
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 ];
|
|
};
|
|
}
|