aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Baggio <marco.baggio@mdc-berlin.de>2024-04-29 14:23:50 +0200
committerRicardo Wurmus <rekado@elephly.net>2024-05-05 22:38:15 +0200
commitd051ef0913c74d4b498ed67c165afdc0c2b2d4d5 (patch)
tree320d1f813eb49f1ddeadbbc8ee929b4023df7377
parentd470a9aa543b8e9330b4aad4e2402aa50c357d42 (diff)
downloadguix-d051ef0913c74d4b498ed67c165afdc0c2b2d4d5.tar.gz
guix-d051ef0913c74d4b498ed67c165afdc0c2b2d4d5.zip
gnu: Add python-qdldl.
* gnu/packages/python-science.scm (python-qdldl): New variable. Co-authored-by: Ricardo Wurmus <rekado@elephly.net> Change-Id: I523ecb2292c9b514b548e2130d0d43bb77317b00
-rw-r--r--gnu/packages/python-science.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 26bc86d133..37ffcf188e 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -50,6 +50,7 @@
#:use-module (gnu packages build-tools)
#:use-module (gnu packages check)
#:use-module (gnu packages chemistry)
+ #:use-module (gnu packages cmake)
#:use-module (gnu packages cpp)
#:use-module (gnu packages crates-io)
#:use-module (gnu packages crypto)
@@ -88,6 +89,25 @@
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject))
+(define-public python-qdldl
+ (package
+ (name "python-qdldl")
+ (version "0.1.7.post2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "qdldl" version))
+ (sha256
+ (base32 "1lspam0k8gnw1yglqxvdv350fq00nkgdfmkizmx7bk0hxjjkj5ab"))))
+ (build-system pyproject-build-system)
+ (native-inputs (list cmake-minimal pybind11))
+ (propagated-inputs (list python-numpy python-scipy))
+ (home-page "https://github.com/oxfordcontrol/qdldl-python/")
+ (synopsis "QDLDL LDL factorization routine")
+ (description "This package provides a Python interface to the QDLDL LDL
+factorization routine for quasi-definite linear system.")
+ (license license:asl2.0)))
+
(define-public python-scipy
(package
(name "python-scipy")