diff options
author | Max Wilson <max.wilson@insight.com> | 2019-04-29 18:43:05 -0400 |
---|---|---|
committer | Wael M. Nasreddine <wael.nasreddine@gmail.com> | 2019-07-16 14:54:10 -0700 |
commit | ee699b77076a9ee1ac9c01639f3905a007cb8883 (patch) | |
tree | 06f87fa53f1f62fc4ae04d4a8fa851a205c77aa7 /pkgs/development/python-modules/azure-mgmt-iotcentral | |
parent | 977d109254e8249b2e899067828bdee9199ee033 (diff) |
pythonPackages.azure-mgmt-iotcentral: init at 1.0.0
Diffstat (limited to 'pkgs/development/python-modules/azure-mgmt-iotcentral')
-rw-r--r-- | pkgs/development/python-modules/azure-mgmt-iotcentral/default.nix | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/azure-mgmt-iotcentral/default.nix b/pkgs/development/python-modules/azure-mgmt-iotcentral/default.nix new file mode 100644 index 0000000000000..9509911709beb --- /dev/null +++ b/pkgs/development/python-modules/azure-mgmt-iotcentral/default.nix @@ -0,0 +1,38 @@ +{ lib +, buildPythonPackage +, fetchPypi +, msrest +, msrestazure +, azure-common +, azure-mgmt-nspkg +, isPy3k +}: + +buildPythonPackage rec { + pname = "azure-mgmt-iotcentral"; + version = "1.0.0"; + + src = fetchPypi { + inherit pname version; + extension = "zip"; + sha256 = "9aac88ed1f993965015f4e9986931fc08798e09d7b864928681a7cebff053de8"; + }; + + propagatedBuildInputs = [ + msrest + msrestazure + azure-common + ] ++ lib.optionals (!isPy3k) [ + azure-mgmt-nspkg + ]; + + # has no tests + doCheck = false; + + meta = with lib; { + description = "This is the Microsoft Azure IoTCentral Management Client Library"; + homepage = https://docs.microsoft.com/en-us/python/api/overview/azure/iot?view=azure-python; + license = licenses.mit; + maintainers = with maintainers; [ mwilsoninsight ]; + }; +} |