43 lines
789 B
Nix
43 lines
789 B
Nix
{
|
|
pkgs,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
azure-core,
|
|
typing-extensions,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "1.6.0";
|
|
format = "setuptools";
|
|
pname = "azure-mgmt-core";
|
|
|
|
src = fetchPypi {
|
|
pname = "azure_mgmt_core";
|
|
inherit version;
|
|
extension = "tar.gz";
|
|
hash = "sha256-smIyr4V7Ah5h2BPZ9K5TBGUlXLELPd6UWtN0P3pY55w=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
azure-core
|
|
typing-extensions
|
|
];
|
|
|
|
pythonNamespaces = "azure.mgmt";
|
|
|
|
# not included
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"azure.mgmt.core"
|
|
"azure.core"
|
|
];
|
|
|
|
meta = with pkgs.lib; {
|
|
description = "Microsoft Azure Management Core Library for Python";
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
|
license = licenses.mit;
|
|
maintainers = [ ];
|
|
};
|
|
}
|