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

32 lines
766 B
Nix

{ lib, buildPythonPackage, fetchPypi, isPy27
, azure-common
, msrest
, msrestazure
}:
buildPythonPackage rec {
version = "0.4.1";
pname = "azure-mgmt-security";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "08gf401d40bd1kn9wmpxcjxqdh84cd9hxm8rdjd0918483sqs71r";
extension = "zip";
};
propagatedBuildInputs = [ azure-common msrest msrestazure ];
# no tests included
doCheck = false;
pythonImportsCheck = [ "azure.common" "azure.mgmt.security" ];
meta = with lib; {
description = "Microsoft Azure Security Center Management Client Library for Python";
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ jonringer ];
};
}