From ff6ad139da51b16ebc8bdb4f55c1a2e69f6fa237 Mon Sep 17 00:00:00 2001
From: "R. Ryantm" <ryantm-bot@ryantm.com>
Date: Tue, 24 May 2022 06:31:17 +0000
Subject: [PATCH 1/3] python310Packages.policyuniverse: 1.5.0.20220426 ->
 1.5.0.20220523

---
 pkgs/development/python-modules/policyuniverse/default.nix | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pkgs/development/python-modules/policyuniverse/default.nix b/pkgs/development/python-modules/policyuniverse/default.nix
index b8e6a790f745..ad33f08faad9 100644
--- a/pkgs/development/python-modules/policyuniverse/default.nix
+++ b/pkgs/development/python-modules/policyuniverse/default.nix
@@ -6,12 +6,12 @@
 
 buildPythonPackage rec {
   pname = "policyuniverse";
-  version = "1.5.0.20220426";
+  version = "1.5.0.20220523";
   disabled = pythonOlder "3.7";
 
   src = fetchPypi {
     inherit pname version;
-    sha256 = "sha256-lOis0JE0XI43KsuGgpG20iBRPttVJvRS225PInu7EUM=";
+    sha256 = "sha256-gmcF8KdwGLMU5g1NYgxLKgBLk1yJrWi/dpVETDaY0Vo=";
   };
 
   # Tests are not shipped and there are no GitHub tags

From 17520867b018f0b4df63d85dc5b7ecb141ba9868 Mon Sep 17 00:00:00 2001
From: Fabian Affolter <mail@fabian-affolter.ch>
Date: Tue, 24 May 2022 09:49:38 +0200
Subject: [PATCH 2/3] python310Packages.policyuniverse: add format

---
 .../development/python-modules/policyuniverse/default.nix | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/pkgs/development/python-modules/policyuniverse/default.nix b/pkgs/development/python-modules/policyuniverse/default.nix
index ad33f08faad9..ac7f53a54885 100644
--- a/pkgs/development/python-modules/policyuniverse/default.nix
+++ b/pkgs/development/python-modules/policyuniverse/default.nix
@@ -7,17 +7,21 @@
 buildPythonPackage rec {
   pname = "policyuniverse";
   version = "1.5.0.20220523";
+  format = "setuptools";
+
   disabled = pythonOlder "3.7";
 
   src = fetchPypi {
     inherit pname version;
-    sha256 = "sha256-gmcF8KdwGLMU5g1NYgxLKgBLk1yJrWi/dpVETDaY0Vo=";
+    has = "sha256-gmcF8KdwGLMU5g1NYgxLKgBLk1yJrWi/dpVETDaY0Vo=";
   };
 
   # Tests are not shipped and there are no GitHub tags
   doCheck = false;
 
-  pythonImportsCheck = [ "policyuniverse" ];
+  pythonImportsCheck = [
+    "policyuniverse"
+  ];
 
   meta = with lib; {
     description = "Parse and Process AWS IAM Policies, Statements, ARNs and wildcards";

From 9dc13fb95359fa78d5ad7580d1e52d87cbf11f4d Mon Sep 17 00:00:00 2001
From: Fabian Affolter <mail@fabian-affolter.ch>
Date: Tue, 24 May 2022 10:32:17 +0200
Subject: [PATCH 3/3] python310Packages.policyuniverse: fix typo

---
 pkgs/development/python-modules/policyuniverse/default.nix | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkgs/development/python-modules/policyuniverse/default.nix b/pkgs/development/python-modules/policyuniverse/default.nix
index ac7f53a54885..739b586d0360 100644
--- a/pkgs/development/python-modules/policyuniverse/default.nix
+++ b/pkgs/development/python-modules/policyuniverse/default.nix
@@ -13,7 +13,7 @@ buildPythonPackage rec {
 
   src = fetchPypi {
     inherit pname version;
-    has = "sha256-gmcF8KdwGLMU5g1NYgxLKgBLk1yJrWi/dpVETDaY0Vo=";
+    hash = "sha256-gmcF8KdwGLMU5g1NYgxLKgBLk1yJrWi/dpVETDaY0Vo=";
   };
 
   # Tests are not shipped and there are no GitHub tags