diff options
| author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2024-05-22 16:01:06 +0200 |
|---|---|---|
| committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2024-05-22 17:32:03 +0200 |
| commit | 59b1aef59071cae6e87859dc65de973d2cc595c0 (patch) | |
| tree | 18c3aaf31188cb7430359a1bb130d637a363351e /pkgs/development/python-modules/fireflyalgorithm/default.nix | |
| parent | python312Packages.waitress-django: clean source (diff) | |
| download | nixpkgs-59b1aef59071cae6e87859dc65de973d2cc595c0.tar.gz | |
python3Packages: format with nixfmt
Diffstat (limited to 'pkgs/development/python-modules/fireflyalgorithm/default.nix')
| -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"; |
