diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2024-04-12 09:58:43 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2024-04-12 09:58:43 +0200 |
commit | 573b674cbab5d844aad989ac3f35171fc93b1a5b (patch) | |
tree | 578e12ea240934dc0929f893c78f70978a08eaff | |
parent | 8d24f24690c3b3107d6c1c5db2e29d062f5bbf86 (diff) |
pacu: format with nixfmt
-rw-r--r-- | pkgs/by-name/pa/pacu/package.nix | 69 |
1 files changed, 31 insertions, 38 deletions
diff --git a/pkgs/by-name/pa/pacu/package.nix b/pkgs/by-name/pa/pacu/package.nix index 8e43b56e987f3..78491c24c6973 100644 --- a/pkgs/by-name/pa/pacu/package.nix +++ b/pkgs/by-name/pa/pacu/package.nix @@ -1,17 +1,16 @@ -{ lib -, awscli -, fetchFromGitHub -, python3 +{ + lib, + awscli, + fetchFromGitHub, + python3, }: - let python = python3.override { - packageOverrides = self: super: { - sqlalchemy = super.sqlalchemy_1_4; - }; + packageOverrides = self: super: { sqlalchemy = super.sqlalchemy_1_4; }; }; -in python.pkgs.buildPythonApplication rec { +in +python.pkgs.buildPythonApplication rec { pname = "pacu"; version = "1.5.2"; pyproject = true; @@ -31,34 +30,30 @@ in python.pkgs.buildPythonApplication rec { "urllib3" ]; - build-system = with python.pkgs; [ - poetry-core - ]; + build-system = with python.pkgs; [ poetry-core ]; - nativeBuildInputs = with python.pkgs; [ - pythonRelaxDepsHook - ]; + nativeBuildInputs = with python.pkgs; [ pythonRelaxDepsHook ]; - dependencies = [ - awscli - ] ++ (with python.pkgs; [ - awscli - boto3 - botocore - chalice - dsnap - jq - policyuniverse - pycognito - pyyaml - qrcode - requests - sqlalchemy - sqlalchemy-utils - toml - typing-extensions - urllib3 - ]); + dependencies = + [ awscli ] + ++ (with python.pkgs; [ + awscli + boto3 + botocore + chalice + dsnap + jq + policyuniverse + pycognito + pyyaml + qrcode + requests + sqlalchemy + sqlalchemy-utils + toml + typing-extensions + urllib3 + ]); nativeCheckInputs = with python.pkgs; [ moto @@ -69,9 +64,7 @@ in python.pkgs.buildPythonApplication rec { export HOME=$(mktemp -d) ''; - pythonImportsCheck = [ - "pacu" - ]; + pythonImportsCheck = [ "pacu" ]; disabledTests = [ # sAttributeError: module 'moto' has no attribute 'mock_s3' |