From bde92aee46e707e7d615baef9eab3b4bbd64d3a1 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 18 May 2024 14:06:43 +0200 Subject: [PATCH] python312Packages.niapy: format with nixftm --- .../python-modules/niapy/default.nix | 33 ++++++++----------- 1 file changed, 14 insertions(+), 19 deletions(-) diff --git a/pkgs/development/python-modules/niapy/default.nix b/pkgs/development/python-modules/niapy/default.nix index 30ac98560882..60308f21573f 100644 --- a/pkgs/development/python-modules/niapy/default.nix +++ b/pkgs/development/python-modules/niapy/default.nix @@ -1,13 +1,14 @@ -{ lib -, buildPythonPackage -, fetchFromGitHub -, matplotlib -, numpy -, openpyxl -, pandas -, poetry-core -, pytestCheckHook -, pythonOlder +{ + lib, + buildPythonPackage, + fetchFromGitHub, + matplotlib, + numpy, + openpyxl, + pandas, + poetry-core, + pytestCheckHook, + pythonOlder, }: buildPythonPackage rec { @@ -24,9 +25,7 @@ buildPythonPackage rec { hash = "sha256-cT5CU1r3LZ9ValJwRUA0PaISmF6kXAz40alXbWYogGA="; }; - build-system = [ - poetry-core - ]; + build-system = [ poetry-core ]; dependencies = [ matplotlib @@ -35,13 +34,9 @@ buildPythonPackage rec { pandas ]; - nativeCheckInputs = [ - pytestCheckHook - ]; + nativeCheckInputs = [ pytestCheckHook ]; - pythonImportsCheck = [ - "niapy" - ]; + pythonImportsCheck = [ "niapy" ]; meta = with lib; { description = "Micro framework for building nature-inspired algorithms";