diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2019-12-20 20:47:39 -0800 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2019-12-30 16:46:49 +0100 |
commit | e1b79e394ff01a5a90a0f0271a76ba9644be83b2 (patch) | |
tree | 946368ce56e6e2c1a227138114efe56b96aae374 /pkgs/development/python-modules/azure-core/default.nix | |
parent | 0797536602b8f23bb32630ca02f75d58a29849ef (diff) | |
download | nixpkgs-e1b79e394ff01a5a90a0f0271a76ba9644be83b2.tar nixpkgs-e1b79e394ff01a5a90a0f0271a76ba9644be83b2.tar.gz nixpkgs-e1b79e394ff01a5a90a0f0271a76ba9644be83b2.tar.bz2 nixpkgs-e1b79e394ff01a5a90a0f0271a76ba9644be83b2.tar.lz nixpkgs-e1b79e394ff01a5a90a0f0271a76ba9644be83b2.tar.xz nixpkgs-e1b79e394ff01a5a90a0f0271a76ba9644be83b2.tar.zst nixpkgs-e1b79e394ff01a5a90a0f0271a76ba9644be83b2.zip |
python3Packages.azure-core: init at 1.1.1
Diffstat (limited to 'pkgs/development/python-modules/azure-core/default.nix')
-rw-r--r-- | pkgs/development/python-modules/azure-core/default.nix | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/azure-core/default.nix b/pkgs/development/python-modules/azure-core/default.nix new file mode 100644 index 00000000000..ee134762149 --- /dev/null +++ b/pkgs/development/python-modules/azure-core/default.nix @@ -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 ]; + }; +} |