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

45 lines
860 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, azure-mgmt-common
, azure-mgmt-core
, pythonOlder
}:
buildPythonPackage rec {
pname = "azure-mgmt-storage";
version = "21.0.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
extension = "zip";
hash = "sha256-brE+7s+JGVsrX0e+Bnnj8niI79e9ITLux+vLznXLE3c=";
};
propagatedBuildInputs = [
azure-mgmt-common
azure-mgmt-core
];
pythonNamespaces = [
"azure.mgmt"
];
pythonImportsCheck = [
"azure.mgmt.storage"
];
# 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 ];
};
}