From 8457a384df3358e83eab5e080eb0e46f70c9585d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 4 Apr 2024 01:47:05 +0200 Subject: [PATCH] python312Packages.policy-sentry: use nixfmt --- .../python-modules/policy-sentry/default.nix | 35 ++++++++----------- 1 file changed, 15 insertions(+), 20 deletions(-) diff --git a/pkgs/development/python-modules/policy-sentry/default.nix b/pkgs/development/python-modules/policy-sentry/default.nix index 381b2e5f639f..09e909eaa142 100644 --- a/pkgs/development/python-modules/policy-sentry/default.nix +++ b/pkgs/development/python-modules/policy-sentry/default.nix @@ -1,14 +1,15 @@ -{ lib -, beautifulsoup4 -, buildPythonPackage -, click -, fetchFromGitHub -, pytestCheckHook -, pythonOlder -, pyyaml -, requests -, schema -, setuptools +{ + lib, + beautifulsoup4, + buildPythonPackage, + click, + fetchFromGitHub, + pytestCheckHook, + pythonOlder, + pyyaml, + requests, + schema, + setuptools, }: buildPythonPackage rec { @@ -25,9 +26,7 @@ buildPythonPackage rec { hash = "sha256-1LYcUlGoSalbdo4tiNIYbdA04IHRTImhdWScpiCZk50="; }; - build-system = [ - setuptools - ]; + build-system = [ setuptools ]; dependencies = [ beautifulsoup4 @@ -37,13 +36,9 @@ buildPythonPackage rec { schema ]; - nativeCheckInputs = [ - pytestCheckHook - ]; + nativeCheckInputs = [ pytestCheckHook ]; - pythonImportsCheck = [ - "policy_sentry" - ]; + pythonImportsCheck = [ "policy_sentry" ]; meta = with lib; { description = "Python module for generating IAM least privilege policies";