diff options
Diffstat (limited to 'pkgs/development/python-modules/fireflyalgorithm')
| -rw-r--r-- | pkgs/development/python-modules/fireflyalgorithm/default.nix | 31 |
1 files changed, 12 insertions, 19 deletions
diff --git a/pkgs/development/python-modules/fireflyalgorithm/default.nix b/pkgs/development/python-modules/fireflyalgorithm/default.nix index 2a51a96f114f..5457ada70649 100644 --- a/pkgs/development/python-modules/fireflyalgorithm/default.nix +++ b/pkgs/development/python-modules/fireflyalgorithm/default.nix @@ -1,10 +1,11 @@ -{ lib -, buildPythonPackage -, fetchFromGitHub -, numpy -, poetry-core -, pytestCheckHook -, pythonOlder +{ + lib, + buildPythonPackage, + fetchFromGitHub, + numpy, + poetry-core, + pytestCheckHook, + pythonOlder, }: buildPythonPackage rec { @@ -21,21 +22,13 @@ buildPythonPackage rec { hash = "sha256-xsTgSHBtN4gGw+9YvprcLubnCXSNRdn4abcz391cMEE="; }; - nativeBuildInputs = [ - poetry-core - ]; + nativeBuildInputs = [ poetry-core ]; - propagatedBuildInputs = [ - numpy - ]; + propagatedBuildInputs = [ numpy ]; - nativeCheckInputs = [ - pytestCheckHook - ]; + nativeCheckInputs = [ pytestCheckHook ]; - pythonImportsCheck = [ - "fireflyalgorithm" - ]; + pythonImportsCheck = [ "fireflyalgorithm" ]; meta = with lib; { description = "An implementation of the stochastic nature-inspired algorithm for optimization"; |
