a7c473ca0d
(cherry picked from commit 2b0e90c7186bdfcf952615a9ebebef6cc2c66378)
39 lines
767 B
Nix
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 ];
|
|
};
|
|
}
|