Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
979 B · 47 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ lib, buildPythonPackage, fetchFromGitHub, numpy, poetry-core, pytestCheckHook, pythonOlder}:
buildPythonPackage rec { pname = "FireflyAlgorithm"; version = "0.3.4"; format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "firefly-cpp"; repo = pname; rev = "refs/tags/${version}"; hash = "sha256-rJOcPQU/oz/qP787OpZsfbjSsT2dWvhJLTs4N5TriWc="; };
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ numpy ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "fireflyalgorithm" ];
meta = with lib; { description = "An implementation of the stochastic nature-inspired algorithm for optimization"; 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 ]; };}