2019-10-23 06:45:07 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy27
|
|
|
|
, azure-common
|
2021-06-09 22:05:42 +01:00
|
|
|
, azure-mgmt-core
|
2019-10-23 06:45:07 +01:00
|
|
|
, msrest
|
|
|
|
, msrestazure
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2021-10-27 17:34:06 +01:00
|
|
|
version = "8.2.0";
|
2019-10-23 06:45:07 +01:00
|
|
|
pname = "azure-mgmt-containerregistry";
|
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-10-27 17:34:06 +01:00
|
|
|
sha256 = "f2bcdbcf0b9fdc2df0df9eccb77cb489091d3c670ed53cba77e5ffd734e9539b";
|
2019-10-23 06:45:07 +01:00
|
|
|
extension = "zip";
|
|
|
|
};
|
|
|
|
|
2021-06-09 22:05:42 +01:00
|
|
|
propagatedBuildInputs = [ azure-common azure-mgmt-core msrest msrestazure ];
|
2019-10-23 06:45:07 +01:00
|
|
|
|
|
|
|
# no tests included
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "azure.common" "azure.mgmt.containerregistry" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Microsoft Azure Container Registry Client Library for Python";
|
|
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ jonringer ];
|
|
|
|
};
|
|
|
|
}
|