nixpkgs/pkgs/development/python-modules/azure-mgmt-resource/default.nix
2020-11-18 12:00:31 -08:00

40 lines
800 B
Nix

{ pkgs
, buildPythonPackage
, fetchPypi
, azure-mgmt-core
, azure-mgmt-common
, isPy3k
}:
buildPythonPackage rec {
version = "15.0.0";
pname = "azure-mgmt-resource";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "80ecb69aa21152b924edf481e4b26c641f11aa264120bc322a14284811df9c14";
};
propagatedBuildInputs = [
azure-mgmt-common
azure-mgmt-core
];
# has no tests
doCheck = false;
pythonNamespaces = [ "azure.mgmt" ];
pythonImportsCheck = [ "azure.mgmt.resource" ];
meta = with pkgs.lib; {
description = "Microsoft Azure SDK for Python";
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ olcai maxwilson jonringer ];
};
}