Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 55 lines
Nix
at llvm-cleanup
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556{ lib, buildPythonPackage, fetchFromGitHub, niapy, nltk, numpy, pandas, poetry-core, pytestCheckHook, pythonOlder, tomli,}:
buildPythonPackage rec { pname = "niaarm"; version = "0.3.9"; format = "pyproject";
disabled = pythonOlder "3.9";
src = fetchFromGitHub { owner = "firefly-cpp"; repo = "NiaARM"; rev = "refs/tags/${version}"; hash = "sha256-J3126RSJYBCSyxoPsvsDgmx9E+9fP2h6avPiCHISL7c="; };
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ niapy nltk numpy pandas ] ++ lib.optionals (pythonOlder "3.11") [ tomli ];
disabledTests = [ # Test requires extra nltk data dependency "test_text_mining" ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "niaarm" ];
meta = with lib; { description = "A minimalistic framework for Numerical Association Rule Mining"; mainProgram = "niaarm"; homepage = "https://github.com/firefly-cpp/NiaARM"; changelog = "https://github.com/firefly-cpp/NiaARM/blob/${version}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ firefly-cpp ]; };}