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

authored by Martin Weinelt and committed by GitHub 0f8d77e7 48aec0eb

+12 -7
+12 -7
pkgs/development/python-modules/fireflyalgorithm/default.nix
··· 10 11 buildPythonPackage rec { 12 pname = "fireflyalgorithm"; 13 - version = "0.4.5"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.9"; ··· 19 owner = "firefly-cpp"; 20 repo = "FireflyAlgorithm"; 21 tag = version; 22 - hash = "sha256-dJnjeJN9NI8G/haYeOiMtAl56cExqMk0iTWpaybl4nE="; 23 }; 24 25 - nativeBuildInputs = [ poetry-core ]; 26 27 - propagatedBuildInputs = [ numpy ]; 28 29 nativeCheckInputs = [ pytestCheckHook ]; 30 31 pythonImportsCheck = [ "fireflyalgorithm" ]; 32 33 - meta = with lib; { 34 description = "Implementation of the stochastic nature-inspired algorithm for optimization"; 35 mainProgram = "firefly-algorithm"; 36 homepage = "https://github.com/firefly-cpp/FireflyAlgorithm"; 37 changelog = "https://github.com/firefly-cpp/FireflyAlgorithm/blob/${version}/CHANGELOG.md"; 38 - license = licenses.mit; 39 - maintainers = with maintainers; [ firefly-cpp ]; 40 }; 41 }
··· 10 11 buildPythonPackage rec { 12 pname = "fireflyalgorithm"; 13 + version = "0.4.6"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.9"; ··· 19 owner = "firefly-cpp"; 20 repo = "FireflyAlgorithm"; 21 tag = version; 22 + hash = "sha256-NMmwjKtIk8KR0YXXSXkJhiQsbjMusaLnstUWx0izCNA="; 23 }; 24 25 + postPatch = '' 26 + substituteInPlace pyproject.toml \ 27 + --replace-fail 'numpy = "^1.26.1"' "" 28 + ''; 29 + 30 + build-system = [ poetry-core ]; 31 32 + dependencies = [ numpy ]; 33 34 nativeCheckInputs = [ pytestCheckHook ]; 35 36 pythonImportsCheck = [ "fireflyalgorithm" ]; 37 38 + meta = { 39 description = "Implementation of the stochastic nature-inspired algorithm for optimization"; 40 mainProgram = "firefly-algorithm"; 41 homepage = "https://github.com/firefly-cpp/FireflyAlgorithm"; 42 changelog = "https://github.com/firefly-cpp/FireflyAlgorithm/blob/${version}/CHANGELOG.md"; 43 + license = lib.licenses.mit; 44 + maintainers = with lib.maintainers; [ firefly-cpp ]; 45 }; 46 }