mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-12 19:48:58 +00:00
53 lines
1019 B
Nix
53 lines
1019 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
isPy3k,
|
|
setuptools,
|
|
msrest,
|
|
msrestazure,
|
|
azure-common,
|
|
azure-mgmt-core,
|
|
azure-mgmt-nspkg,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "azure-mgmt-devtestlabs";
|
|
version = "9.0.0";
|
|
pyproject = true;
|
|
|
|
__structuredAttrs = true;
|
|
|
|
src = fetchPypi {
|
|
inherit (finalAttrs) pname version;
|
|
extension = "zip";
|
|
hash = "sha256-2BYNk/09lH5WE8aRkXaw7fcslKxpZ56juSzyf/c5jmQ=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
msrest
|
|
msrestazure
|
|
azure-common
|
|
azure-mgmt-core
|
|
]
|
|
++ lib.optionals (!isPy3k) [ azure-mgmt-nspkg ];
|
|
|
|
pythonNamespaces = [ "azure.mgmt" ];
|
|
|
|
pythonImportsCheck = [ "azure.mgmt.devtestlabs" ];
|
|
|
|
# has no tests
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "This is the Microsoft Azure DevTestLabs Management Client Library";
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [
|
|
maxwilson
|
|
];
|
|
};
|
|
})
|