depot/third_party/nixpkgs/pkgs/development/python-modules/mrsqm/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

47 lines
909 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
cython,
fftw,
pandas,
scikit-learn,
numpy,
}:
buildPythonPackage rec {
pname = "mrsqm";
version = "0.0.7";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-kZwgRazvPCmARcfhLByh1E8VPurrb8gVZc96hFfDOvs=";
};
buildInputs = [ fftw ];
nativeBuildInputs = [ cython ];
propagatedBuildInputs = [
pandas
scikit-learn
numpy
];
# Package has no tests
doCheck = false;
pythonImportsCheck = [ "mrsqm" ];
meta = with lib; {
description = "MrSQM (Multiple Representations Sequence Miner) is a time series classifier";
homepage = "https://pypi.org/project/mrsqm";
changelog = "https://github.com/mlgig/mrsqm/releases/tag/v.${version}";
license = licenses.gpl3Only;
maintainers = with maintainers; [ mbalatsko ];
};
}