mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-01 00:52:55 -05:00
gnu: Add python-ecos.
* gnu/packages/python-science.scm (python-ecos): New variable. Co-authored-by: Ricardo Wurmus <rekado@elephly.net> Change-Id: I83d9b746f5f3563f417efc5d18911f2eb04f201c
This commit is contained in:
parent
a0971243bc
commit
2c0cf38f04
1 changed files with 24 additions and 0 deletions
|
@ -89,6 +89,30 @@ (define-module (gnu packages python-science)
|
|||
#: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")
|
||||
|
|
Loading…
Reference in a new issue