1{ lib, buildPythonPackage, fetchPypi, isPy27
2, azure-common
3, azure-mgmt-core
4, msrest
5, msrestazure
6}:
7
8buildPythonPackage rec {
9 version = "10.0.0";
10 pname = "azure-mgmt-containerregistry";
11 disabled = isPy27;
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "sha256-HjejK28Em5AeoQ20o4fucnXTlAwADF/SEpVfHn9anZk=";
16 extension = "zip";
17 };
18
19 propagatedBuildInputs = [ azure-common azure-mgmt-core msrest msrestazure ];
20
21 # no tests included
22 doCheck = false;
23
24 pythonImportsCheck = [ "azure.common" "azure.mgmt.containerregistry" ];
25
26 meta = with lib; {
27 description = "Microsoft Azure Container Registry Client Library for Python";
28 homepage = "https://github.com/Azure/azure-sdk-for-python";
29 license = licenses.mit;
30 maintainers = with maintainers; [ jonringer ];
31 };
32}