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

49 lines
1020 B
Nix

{ lib
, azure-common
, azure-mgmt-core
, buildPythonPackage
, fetchPypi
, isodate
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "azure-mgmt-security";
version = "6.0.0";
fpyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-zq/BhpiZBnEQvYMMXMmLybjzLY6oQMofaTsaX1Kl+LA=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
azure-common
azure-mgmt-core
isodate
];
# 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";
changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-security_${version}/sdk/security/azure-mgmt-security/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ jonringer ];
};
}