fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
47 lines
1.1 KiB
Nix
47 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
pythonOlder,
|
|
azure-core,
|
|
msrest,
|
|
msrestazure,
|
|
isodate,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "azure-containerregistry";
|
|
version = "1.2.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-Ss0ygh0IZVPqvV3f7Lsh+5FbXRPvg3XRWvyyyAvclqM=";
|
|
extension = "zip";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
azure-core
|
|
msrest
|
|
msrestazure
|
|
isodate
|
|
];
|
|
|
|
# tests require azure-devtools which are not published (since 2020)
|
|
# https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/containerregistry/azure-containerregistry/dev_requirements.txt
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"azure.core"
|
|
"azure.containerregistry"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Microsoft Azure Container Registry client library for Python";
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/containerregistry/azure-containerregistry";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ peterromfeldhk ];
|
|
};
|
|
}
|