summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2023-05-09 22:59:05 +0200
committerRicardo Wurmus <rekado@elephly.net>2023-05-10 19:27:07 +0200
commite4480090e2a6d742a7ecae1076aa7e570a25bb74 (patch)
treed433ee6efb0eaae2d920fa2515f2cc47f57aa3fb /gnu
parent7afddfbfa04906038376f7c55cb6055919ecc9f7 (diff)
downloadguix-e4480090e2a6d742a7ecae1076aa7e570a25bb74.tar.gz
gnu: Add python-lightning-utilities.
* gnu/packages/machine-learning.scm (python-lightning-utilities): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/machine-learning.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 2e135bb068..de49e25c28 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -3445,6 +3445,26 @@ Note: currently this package does not provide GPU support.")
 AI services.")
     (license license:asl2.0)))
 
+(define-public python-lightning-utilities
+  (package
+    (name "python-lightning-utilities")
+    (version "0.8.0")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "lightning-utilities" version))
+              (sha256
+               (base32
+                "084pn8fizxrcn1699jb8x2jsg4wcx01l65bwxpgnq0kzqp3rapcf"))))
+    (build-system python-build-system)
+    (propagated-inputs (list python-importlib-metadata python-packaging
+                             python-typing-extensions))
+    (native-inputs (list python-coverage))
+    (home-page "https://github.com/Lightning-AI/utilities")
+    (synopsis "PyTorch Lightning sample project")
+    (description "This package provides common Python utilities and GitHub
+Actions for the Lightning suite of libraries.")
+    (license license:asl2.0)))
+
 ;; Keep this in sync with python-pytorch
 (define-public python-torchvision
   (package