python313Packages.fireflyalgorithm: 0.4.5 -> 0.4.6 (#373152)

This commit is contained in:
Martin Weinelt
2025-01-18 17:21:06 +01:00
committed by GitHub
@@ -10,7 +10,7 @@
buildPythonPackage rec {
pname = "fireflyalgorithm";
version = "0.4.5";
version = "0.4.6";
pyproject = true;
disabled = pythonOlder "3.9";
@@ -19,23 +19,28 @@ buildPythonPackage rec {
owner = "firefly-cpp";
repo = "FireflyAlgorithm";
tag = version;
hash = "sha256-dJnjeJN9NI8G/haYeOiMtAl56cExqMk0iTWpaybl4nE=";
hash = "sha256-NMmwjKtIk8KR0YXXSXkJhiQsbjMusaLnstUWx0izCNA=";
};
nativeBuildInputs = [ poetry-core ];
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail 'numpy = "^1.26.1"' ""
'';
propagatedBuildInputs = [ numpy ];
build-system = [ poetry-core ];
dependencies = [ numpy ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "fireflyalgorithm" ];
meta = with lib; {
meta = {
description = "Implementation of the stochastic nature-inspired algorithm for optimization";
mainProgram = "firefly-algorithm";
homepage = "https://github.com/firefly-cpp/FireflyAlgorithm";
changelog = "https://github.com/firefly-cpp/FireflyAlgorithm/blob/${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ firefly-cpp ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ firefly-cpp ];
};
}