diff options
author | firefly-cpp <iztok@iztok-jr-fister.eu> | 2022-09-14 14:33:46 +0200 |
---|---|---|
committer | firefly-cpp <iztok@iztok-jr-fister.eu> | 2022-09-14 14:33:46 +0200 |
commit | 854cbbc3f4c2d4fc0cf66cc8716f78cddefb2364 (patch) | |
tree | 6b639814de4baf3c320b322352b90a80cf58785a /pkgs/development/python-modules/niaarm | |
parent | efdea4930cc0ba2cf778f5c74b9632c04151f27f (diff) |
python310Packages.niaarm: init at 0.2.0
Diffstat (limited to 'pkgs/development/python-modules/niaarm')
-rw-r--r-- | pkgs/development/python-modules/niaarm/default.nix | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/niaarm/default.nix b/pkgs/development/python-modules/niaarm/default.nix new file mode 100644 index 0000000000000..155fa2c78c0ee --- /dev/null +++ b/pkgs/development/python-modules/niaarm/default.nix @@ -0,0 +1,50 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, niapy +, nltk +, pandas +, poetry-core +, pytestCheckHook +, pythonOlder +}: + +buildPythonPackage rec { + pname = "NiaARM"; + version = "0.2.0"; + format = "pyproject"; + + disabled = pythonOlder "3.6"; + + src = fetchFromGitHub { + owner = "firefly-cpp"; + repo = pname; + rev = version; + sha256 = "sha256-tO/9dDgPPL5fkFm/U9AhyydXW+dtem+Q3H2uKPAXzno="; + }; + + nativeBuildInputs = [ + poetry-core + ]; + + propagatedBuildInputs = [ + niapy + nltk + pandas + ]; + + checkInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "niaarm" + ]; + + meta = with lib; { + description = "A minimalistic framework for Numerical Association Rule Mining"; + homepage = "https://github.com/firefly-cpp/NiaARM"; + license = licenses.mit; + maintainers = with maintainers; [ firefly-cpp ]; + }; +} |