17 buildPythonPackage rec {
22 disabled = pythonOlder "3.9";
24 src = fetchFromGitHub {
25 owner = "firefly-cpp";
27 rev = "refs/tags/${version}";
28 hash = "sha256-rYFfLtPJgIdSjRIzDIQeHwoQm9NrI6nM3/BF7wAMr1Y=";
31 pythonRelaxDeps = [ "scikit-learn" ];
33 nativeBuildInputs = [ poetry-core ];
35 propagatedBuildInputs = [
42 ] ++ lib.optionals (pythonOlder "3.11") [ tomli ];
45 # Test requires extra nltk data dependency
49 nativeCheckInputs = [ pytestCheckHook ];
51 pythonImportsCheck = [ "niaarm" ];
54 description = "Minimalistic framework for Numerical Association Rule Mining";
55 mainProgram = "niaarm";
56 homepage = "https://github.com/firefly-cpp/NiaARM";
57 changelog = "https://github.com/firefly-cpp/NiaARM/blob/${version}/CHANGELOG.md";
58 license = licenses.mit;
59 maintainers = with maintainers; [ firefly-cpp ];