guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

18/64: gnu: Add python-qdldl.


From: guix-commits
Subject: 18/64: gnu: Add python-qdldl.
Date: Thu, 2 May 2024 10:52:25 -0400 (EDT)

rekado pushed a commit to branch wip-python-team
in repository guix.

commit 59f75f94f28a48da6f34d7acfc26e3dac515c8bc
Author: Marco Baggio <marco.baggio@mdc-berlin.de>
AuthorDate: Mon Apr 29 14:23:50 2024 +0200

    gnu: Add python-qdldl.
    
    * gnu/packages/python-science.scm (python-qdldl): New variable.
    
    Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
    Change-Id: I523ecb2292c9b514b548e2130d0d43bb77317b00
---
 gnu/packages/python-science.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]