depot/third_party/nixpkgs/pkgs/development/python-modules/azure-mgmt-storage/default.nix

45 lines
862 B
Nix
Raw Normal View History

{
lib,
buildPythonPackage,
fetchPypi,
azure-mgmt-common,
azure-mgmt-core,
pythonOlder,
}:
buildPythonPackage rec {
pname = "azure-mgmt-storage";
version = "21.1.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-1tPA6RfJiLye0Eckd9PvP5CIYAnrHZenEZRPg3VjAWI=";
};
propagatedBuildInputs = [
azure-mgmt-common
azure-mgmt-core
];
pythonNamespaces = [ "azure.mgmt" ];
pythonImportsCheck = [ "azure.mgmt.storage" ];
# Module has no tests
doCheck = false;
meta = with lib; {
description = "This is the Microsoft Azure Storage Management Client Library";
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [
jonringer
olcai
maxwilson
];
};
}