python3Packages.azure-containerregistry: init at 1.0.0

+34
+32
pkgs/development/python-modules/azure-containerregistry/default.nix
···
··· 1 + { lib, buildPythonPackage, fetchPypi, pythonOlder 2 + , azure-core 3 + , msrest 4 + , msrestazure 5 + }: 6 + 7 + buildPythonPackage rec { 8 + pname = "azure-containerregistry"; 9 + version = "1.0.0"; 10 + disabled = pythonOlder "3.6"; 11 + 12 + src = fetchPypi { 13 + inherit pname version; 14 + sha256 = "sha256-DIZCHZM5aeKtmJrgwAk5J26ltaxNxKUn3rR+FbmuyZc="; 15 + extension = "zip"; 16 + }; 17 + 18 + propagatedBuildInputs = [ azure-core msrest msrestazure ]; 19 + 20 + # tests require azure-devtools which are not published (since 2020) 21 + # https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/containerregistry/azure-containerregistry/dev_requirements.txt 22 + doCheck = false; 23 + 24 + pythonImportsCheck = [ "azure.core" "azure.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/tree/main/sdk/containerregistry/azure-containerregistry"; 29 + license = licenses.mit; 30 + maintainers = with maintainers; [ peterromfeldhk ]; 31 + }; 32 + }
+2
pkgs/top-level/python-packages.nix
··· 852 853 azure-common = callPackage ../development/python-modules/azure-common { }; 854 855 azure-core = callPackage ../development/python-modules/azure-core { }; 856 857 azure-cosmos = callPackage ../development/python-modules/azure-cosmos { };
··· 852 853 azure-common = callPackage ../development/python-modules/azure-common { }; 854 855 + azure-containerregistry = callPackage ../development/python-modules/azure-containerregistry { }; 856 + 857 azure-core = callPackage ../development/python-modules/azure-core { }; 858 859 azure-cosmos = callPackage ../development/python-modules/azure-cosmos { };