Merge pull request #191185 from firefly-cpp/niaarm
python310Packages.niaarm: init at 0.2.0
This commit is contained in:
commit
c73a68f6dd
2 changed files with 52 additions and 0 deletions
50
pkgs/development/python-modules/niaarm/default.nix
Normal file
50
pkgs/development/python-modules/niaarm/default.nix
Normal file
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -6105,6 +6105,8 @@ in {
|
|||
enablePython = true; # ... and its Python bindings
|
||||
})).python;
|
||||
|
||||
niaarm = callPackage ../development/python-modules/niaarm { };
|
||||
|
||||
niapy = callPackage ../development/python-modules/niapy { };
|
||||
|
||||
nibabel = callPackage ../development/python-modules/nibabel { };
|
||||
|
|
Loading…
Reference in a new issue