Something went wrong. Try again.
lol
Something went wrong. Try again.
862 B · 49 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950{ lib, buildPythonPackage, fetchFromGitHub, hatchling, numpy, scipy, matplotlib, pytestCheckHook, pytest-cov-stub,}:
buildPythonPackage rec { pname = "kneed"; version = "0.8.6"; pyproject = true;
src = fetchFromGitHub { owner = "arvkevi"; repo = "kneed"; tag = "v${version}"; sha256 = "sha256-A9d5igX9Eqr3rgx93VMee9yFEs6WfO0bb/eCEFCxUJg="; };
build-system = [ hatchling ];
dependencies = [ numpy scipy ];
checkInputs = [ pytestCheckHook pytest-cov-stub matplotlib ];
disabledTestPaths = [ # Fails when matplotlib is installed "tests/test_no_matplotlib.py" ];
meta = { description = "Knee point detection in Python"; homepage = "https://github.com/arvkevi/kneed"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ tm-drtina ]; };}