Loading pkgs/development/python-modules/fireflyalgorithm/default.nix +12 −7 Original line number Diff line number Diff line Loading @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "fireflyalgorithm"; version = "0.4.5"; version = "0.4.6"; pyproject = true; disabled = pythonOlder "3.9"; Loading @@ -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 ]; }; } Loading
pkgs/development/python-modules/fireflyalgorithm/default.nix +12 −7 Original line number Diff line number Diff line Loading @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "fireflyalgorithm"; version = "0.4.5"; version = "0.4.6"; pyproject = true; disabled = pythonOlder "3.9"; Loading @@ -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 ]; }; }