Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 47 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ lib, buildPythonPackage, fetchFromGitHub, setuptools, pytestCheckHook, numpy, scipy, statsmodels,}:
buildPythonPackage { pname = "changefinder"; version = "unstable-2024-03-24"; pyproject = true;
src = fetchFromGitHub { owner = "shunsukeaihara"; repo = "changefinder"; rev = "58c8c32f127b9e46f9823f36221f194bdb6f3f8b"; hash = "sha256-1If0gIsMU8673fKSSHVMvDgR1UnYgM/4HiyvZJ9T6VM="; };
patches = [ ./fix_test_invocation.patch ];
build-system = [ setuptools ];
pythonRemoveDeps = [ "nose" ];
dependencies = [ numpy scipy statsmodels ];
nativeCheckInputs = [ pytestCheckHook ]; enabledTestPaths = [ "test/test.py" ];
pythonImportsCheck = [ "changefinder" ];
meta = with lib; { description = "Online Change-Point Detection library based on ChangeFinder algorithm"; homepage = "https://github.com/shunsukeaihara/changefinder"; license = licenses.mit; maintainers = with maintainers; [ raitobezarius ]; };}