nixpkgs/pkgs/development/python-modules/azure-mgmt-iotcentral/default.nix
R. RyanTM a7c473ca0d python27Packages.azure-mgmt-iotcentral: 1.0.0 -> 2.0.0
(cherry picked from commit 2b0e90c7186bdfcf952615a9ebebef6cc2c66378)
2020-01-09 10:09:02 -08:00

39 lines
767 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, msrest
, msrestazure
, azure-common
, azure-mgmt-nspkg
, isPy3k
}:
buildPythonPackage rec {
pname = "azure-mgmt-iotcentral";
version = "2.0.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "1fql0j28d2r6slgabb7b438gdga513iskqh4al6c7dsmj1yzdzwa";
};
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://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ mwilsoninsight ];
};
}