python3Packages.cutlass: init at 0.4.0 (#519338)

This commit is contained in:
Gaétan Lepage
2026-05-13 08:32:40 +00:00
committed by GitHub
2 changed files with 61 additions and 0 deletions
@@ -0,0 +1,59 @@
{
lib,
buildPythonPackage,
fetchPypi,
# build-system
setuptools,
# dependencies
numpy,
pandas,
# optional-dependencies
matplotlib,
# tests
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "cutlass";
version = "0.4.0";
pyproject = true;
__structuredAttrs = true;
# No tags on GitHub
src = fetchPypi {
inherit (finalAttrs) pname version;
hash = "sha256-+9Y7twguzeqGJP9813hAStzjLVlTeLD+JHrHndzA9AM=";
};
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 ];
};
})
+2
View File
@@ -3456,6 +3456,8 @@ self: super: with self; {
cutie = callPackage ../development/python-modules/cutie { };
cutlass = callPackage ../development/python-modules/cutlass { };
cv2-enumerate-cameras = callPackage ../development/python-modules/cv2-enumerate-cameras { };
cvelib = callPackage ../development/python-modules/cvelib { };