Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
953 B · 49 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950{ lib, buildPythonPackage, fetchFromGitHub, matplotlib, numpy, openpyxl, pandas, poetry-core, pytest7CheckHook, pytest-xdist, pythonOlder,}:
buildPythonPackage rec { pname = "niapy"; version = "2.3.1"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "NiaOrg"; repo = "NiaPy"; rev = "refs/tags/v${version}"; hash = "sha256-cT5CU1r3LZ9ValJwRUA0PaISmF6kXAz40alXbWYogGA="; };
build-system = [ poetry-core ];
dependencies = [ matplotlib numpy openpyxl pandas ];
nativeCheckInputs = [ pytest7CheckHook pytest-xdist ];
pythonImportsCheck = [ "niapy" ];
meta = with lib; { description = "Micro framework for building nature-inspired algorithms"; homepage = "https://niapy.org/"; changelog = "https://github.com/NiaOrg/NiaPy/releases/tag/${version}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; };}