aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorVinicius Monego <monego@posteo.net>2023-07-30 11:17:22 -0300
committerVinicius Monego <monego@posteo.net>2023-09-30 10:37:47 -0300
commit5cb1766ad826b322db10d871ae7a1068d926e40e (patch)
tree6a2c54167a12fdbf7598b94303eb2eeca4efcae7 /gnu/packages
parenteb871ffd761e119026a7c11a69dda5ef0788c2fa (diff)
downloadguix-5cb1766ad826b322db10d871ae7a1068d926e40e.tar.gz
guix-5cb1766ad826b322db10d871ae7a1068d926e40e.zip
gnu: Add cminpack.
* gnu/packages/maths.scm (cminpack): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/maths.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 9881ca9aca..bb60877625 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -1343,6 +1343,31 @@ C++ with a C API. It contains a LU and LLt solver, and a few other things.")
required. primesieve can generate primes and prime k-tuplets up to 264.")
(license license:bsd-2)))
+(define-public cminpack
+ (package
+ (name "cminpack")
+ (version "1.3.8")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/devernay/cminpack")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1bg0954mwry22izsvikpai16pkfp8srz4z34n267bhkmrvvb0zgy"))))
+ (build-system cmake-build-system)
+ (arguments
+ (list #:configure-flags #~(list "-DBUILD_SHARED_LIBS=ON")))
+ (home-page "https://github.com/devernay/cminpack")
+ (synopsis "C/C++ rewrite of the MINPACK software")
+ (description
+ "This is a C version of the minpack minimization package. It has been
+derived from the fortran code using f2c and some limited manual editing.
+Extern C linkage permits the package routines to be called from C++.")
+ (license (license:non-copyleft ; original minpack license
+ "https://github.com/certik/minpack/blob/master/LICENSE"))))
+
(define-public gctp
(package
(name "gctp")