diff --git a/pkgs/development/python-modules/saiph/default.nix b/pkgs/development/python-modules/saiph/default.nix new file mode 100644 index 0000000000000..b90b0ef501e16 --- /dev/null +++ b/pkgs/development/python-modules/saiph/default.nix @@ -0,0 +1,47 @@ +{ + lib, + buildPythonPackage, + poetry-core, + fetchPypi, + msgspec, + numpy, + pandas, + pydantic, + scikit-learn, + scipy, + toolz, +}: + +buildPythonPackage rec { + + pname = "saiph"; + version = "2.0.0"; + + src = fetchPypi { + inherit pname version; + hash = "sha256-+qwiLP+uac9PPyZ0wYs4WbDRSaS77nRqS2PazZvjTug="; + }; + + pyproject = true; + + build-system = [ + poetry-core + ]; + + propagatedBuildInputs = [ + msgspec + numpy + pandas + pydantic + scikit-learn + scipy + toolz + ]; + + meta = with lib; { + description = "A projection package"; + homepage = "https://github.com/octopize/saiph/tree/main"; + license = licenses.asl20; + maintainers = with maintainers; [ b-rodrigues ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index cdfaf4646b5a0..5c9a003b9ce76 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -14037,6 +14037,8 @@ self: super: with self; { sagemaker-mlflow = callPackage ../development/python-modules/sagemaker-mlflow { }; + saiph = callPackage ../development/python-modules/saiph { }; + salib = callPackage ../development/python-modules/salib { }; salmon-mail = callPackage ../development/python-modules/salmon-mail { };