nixpkgs/pkgs/development/python-modules/azure-mgmt-managementgroups/default.nix

39 lines
819 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, msrest
, msrestazure
, azure-common
, azure-mgmt-nspkg
, isPy3k
}:
buildPythonPackage rec {
pname = "azure-mgmt-managementgroups";
version = "0.2.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "3d5237947458dc94b4a392141174b1c1258d26611241ee104e9006d1d798f682";
};
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 Management Groups Client Library";
homepage = https://github.com/Azure/azure-sdk-for-python/tree/master/azure-mgmt-managementgroups;
license = licenses.mit;
maintainers = with maintainers; [ mwilsoninsight ];
};
}