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