1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, niapy 5, nltk 6, pandas 7, poetry-core 8, pytestCheckHook 9, pythonOlder 10}: 11 12buildPythonPackage rec { 13 pname = "NiaARM"; 14 version = "0.2.2"; 15 format = "pyproject"; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchFromGitHub { 20 owner = "firefly-cpp"; 21 repo = pname; 22 rev = version; 23 hash = "sha256-IY72hDklPkGjb2zo7Wf0MBiPn/jHtyUKW9D0jxA0P54="; 24 }; 25 26 nativeBuildInputs = [ 27 poetry-core 28 ]; 29 30 propagatedBuildInputs = [ 31 niapy 32 nltk 33 pandas 34 ]; 35 36 checkInputs = [ 37 pytestCheckHook 38 ]; 39 40 pythonImportsCheck = [ 41 "niaarm" 42 ]; 43 44 meta = with lib; { 45 description = "A minimalistic framework for Numerical Association Rule Mining"; 46 homepage = "https://github.com/firefly-cpp/NiaARM"; 47 license = licenses.mit; 48 maintainers = with maintainers; [ firefly-cpp ]; 49 }; 50}