1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/azure-core/default.nix
2020-02-20 15:00:27 -08:00

49 lines
882 B
Nix

{ lib, buildPythonPackage, fetchPypi, isPy27
, aiodns
, aiohttp
, msrest
, pytest
, pytestCheckHook
, requests
, six
, trio
, typing-extensions
}:
buildPythonPackage rec {
version = "1.2.2";
pname = "azure-core";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "0bz4m6kmqymxlxf9qk6jw8v895d13rsggbgsjpsbvi9px6w15nwb";
};
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 ];
};
}