73a29e0b97
GitOrigin-RevId: 5bb20f9dc70e9ee16e21cc404b6508654931ce41
39 lines
800 B
Nix
39 lines
800 B
Nix
{ pkgs
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, azure-mgmt-core
|
|
, azure-mgmt-common
|
|
, isPy3k
|
|
}:
|
|
|
|
|
|
buildPythonPackage rec {
|
|
version = "20.1.0";
|
|
pname = "azure-mgmt-resource";
|
|
disabled = !isPy3k;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
extension = "zip";
|
|
sha256 = "4fbb2158320e0bdd367882642f266a6dfb3b4b8610792b3afbbca39089f212d7";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|