nixpkgs-suyu/pkgs/development/python-modules/azure-mgmt-authorization/default.nix
2019-08-05 06:21:48 -07:00

38 lines
803 B
Nix

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