nixpkgs/pkgs/development/python-modules/changefinder/default.nix
Raito Bezarius 6a63a4ad8b pkgs/*: drop maintenanceship of various packages
I have effectively renounced on maintaining all these packages and I do
not plan to return them except if I'm forced to.

I am also fine with most of these packages being dropped for next
releases if no maintainer shows up.

Change-Id: I8d167c8029b6991181bd7a094af21c3313af2b51
Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2026-06-24 20:34:45 +02:00

47 lines
965 B
Nix

{
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 = {
description = "Online Change-Point Detection library based on ChangeFinder algorithm";
homepage = "https://github.com/shunsukeaihara/changefinder";
license = lib.licenses.mit;
maintainers = [ ];
};
}