Merge pull request #164249 from peterromfeldhk/peter-python-packages-azure-containerregistry

python3Packages.azure-containerregistry: init at 1.0.0
This commit is contained in:
Fabian Affolter 2022-03-18 10:31:38 +01:00 committed by GitHub
commit 94000f47f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,32 @@
{ lib, buildPythonPackage, fetchPypi, pythonOlder
, azure-core
, msrest
, msrestazure
}:
buildPythonPackage rec {
pname = "azure-containerregistry";
version = "1.0.0";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-DIZCHZM5aeKtmJrgwAk5J26ltaxNxKUn3rR+FbmuyZc=";
extension = "zip";
};
propagatedBuildInputs = [ azure-core msrest msrestazure ];
# 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 ];
};
}

View file

@ -844,6 +844,8 @@ in {
azure-common = callPackage ../development/python-modules/azure-common { };
azure-containerregistry = callPackage ../development/python-modules/azure-containerregistry { };
azure-core = callPackage ../development/python-modules/azure-core { };
azure-cosmos = callPackage ../development/python-modules/azure-cosmos { };