Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
993 B · 56 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657{ lib, buildPythonPackage, fetchFromGitHub, matplotlib, numpy, openpyxl, pandas, poetry-core, pytest7CheckHook, pytest-xdist, pythonOlder,}:
buildPythonPackage rec { pname = "niapy"; version = "2.5.2"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "NiaOrg"; repo = "NiaPy"; tag = "v${version}"; hash = "sha256-8hKT0WxnJijm22w4DkzicvtikaTL/mL3VhQX/WVHL58="; };
build-system = [ poetry-core ];
dependencies = [ matplotlib numpy openpyxl pandas ];
pythonRelaxDeps = [ "numpy" ];
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 ]; };}