python310Packages.azure-containerregistry: update disabled

- add format
- add missing input
This commit is contained in:
Fabian Affolter 2023-05-29 08:19:52 +02:00 committed by GitHub
parent 6ff58377bd
commit 4183f2f731
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,13 +1,19 @@
{ lib, buildPythonPackage, fetchPypi, pythonOlder
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, azure-core
, msrest
, msrestazure
, isodate
}:
buildPythonPackage rec {
pname = "azure-containerregistry";
version = "1.1.0";
disabled = pythonOlder "3.6";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
@ -15,13 +21,21 @@ buildPythonPackage rec {
extension = "zip";
};
propagatedBuildInputs = [ azure-core msrest msrestazure ];
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" ];
pythonImportsCheck = [
"azure.core"
"azure.containerregistry"
];
meta = with lib; {
description = "Microsoft Azure Container Registry client library for Python";