From 6ff58377bd91fddae88ff6c5fb6ac1e5b9dcf609 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 29 May 2023 04:59:58 +0000 Subject: [PATCH 1/2] python310Packages.azure-containerregistry: 1.0.0 -> 1.1.0 --- .../python-modules/azure-containerregistry/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-containerregistry/default.nix b/pkgs/development/python-modules/azure-containerregistry/default.nix index 9da12c53e77..c0dbea68422 100644 --- a/pkgs/development/python-modules/azure-containerregistry/default.nix +++ b/pkgs/development/python-modules/azure-containerregistry/default.nix @@ -6,12 +6,12 @@ buildPythonPackage rec { pname = "azure-containerregistry"; - version = "1.0.0"; + version = "1.1.0"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - hash = "sha256-DIZCHZM5aeKtmJrgwAk5J26ltaxNxKUn3rR+FbmuyZc="; + hash = "sha256-6IU+fzMIL8HJv4rCrWlcJSuYre6cdBa7BjS9KrIbIRU="; extension = "zip"; }; From 4183f2f731173ce03136ce307ac2d9fe587ded84 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 29 May 2023 08:19:52 +0200 Subject: [PATCH 2/2] python310Packages.azure-containerregistry: update disabled - add format - add missing input --- .../azure-containerregistry/default.nix | 22 +++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/azure-containerregistry/default.nix b/pkgs/development/python-modules/azure-containerregistry/default.nix index c0dbea68422..5bc1bde1ad8 100644 --- a/pkgs/development/python-modules/azure-containerregistry/default.nix +++ b/pkgs/development/python-modules/azure-containerregistry/default.nix @@ -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";