Files
nixpkgs/pkgs/development/python-modules/cutlass/default.nix
Fabian Affolter 444623526a python3Packages.cutlass: 0.5.0 -> 0.9.0
This commit was automatically generated using update-python-libraries.
2026-08-25 01:24:17 +02:00

60 lines
969 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
# build-system
setuptools,
# dependencies
numpy,
pandas,
# optional-dependencies
matplotlib,
# tests
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "cutlass";
version = "0.9.0";
pyproject = true;
__structuredAttrs = true;
# No tags on GitHub
src = fetchPypi {
inherit (finalAttrs) pname version;
hash = "sha256-LknpjOJU9qdiGuxbjgJgOAPZeuOxP8z67fMM9ga835E=";
};
build-system = [
setuptools
];
dependencies = [
numpy
pandas
];
optional-dependencies = {
plots = [
matplotlib
];
};
pythonImportsCheck = [ "cutlass" ];
nativeCheckInputs = [
pytestCheckHook
];
meta = {
description = "Rectified L1 logistic regression with CUTLASS critical range encoding";
homepage = "https://github.com/jworender/cutlass";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ GaetanLepage ];
};
})