aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMarco Baggio <marco.baggio@mdc-berlin.de>2024-04-29 15:09:53 +0200
committerRicardo Wurmus <rekado@elephly.net>2024-05-05 22:38:15 +0200
commit2c0cf38f04a2bca6e8057bf934db3d80bf246266 (patch)
tree669edd3ef3be213381cea1564840d46c02532b31 /gnu/packages
parenta0971243bce66ee738be8cbca3c8e023b6ff68e0 (diff)
downloadguix-2c0cf38f04a2bca6e8057bf934db3d80bf246266.tar.gz
guix-2c0cf38f04a2bca6e8057bf934db3d80bf246266.zip
gnu: Add python-ecos.
* gnu/packages/python-science.scm (python-ecos): New variable. Co-authored-by: Ricardo Wurmus <rekado@elephly.net> Change-Id: I83d9b746f5f3563f417efc5d18911f2eb04f201c
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/python-science.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 5a9666fb47..875b31d7c5 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -89,6 +89,30 @@
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject))
+(define-public python-ecos
+ (package
+ (name "python-ecos")
+ (version "2.0.13")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/embotech/ecos-python")
+ (commit (string-append "v" version))
+ (recursive? #true)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "16ljq8maflfkgbw16rldg6cy14vgz2pb3b2iga60i7yzkq2ikmyw"))))
+ (build-system pyproject-build-system)
+ (propagated-inputs (list python-numpy python-scipy))
+ (native-inputs (list python-pytest python-setuptools python-wheel))
+ (home-page "https://github.com/embotech/ecos")
+ (synopsis "Embedded Cone Solver")
+ (description
+ "This is the Python package for ECOS: Embedded Cone Solver. ECOS is
+numerical software for solving convex second-order cone programs (SOCPs).")
+ (license license:gpl3)))
+
(define-public python-osqp
(package
(name "python-osqp")