guix-patches
[Top][All Lists]
Advanced

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

[bug#28109] [PATCH 05/10] gnu: Add r-lpsolve.


From: Ricardo Wurmus
Subject: [bug#28109] [PATCH 05/10] gnu: Add r-lpsolve.
Date: Wed, 16 Aug 2017 15:08:54 +0200

* gnu/packages/cran.scm (r-lpsolve): New variable.
---
 gnu/packages/cran.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index ae4d807dc..a912394da 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -762,3 +762,25 @@ Models and Data\", a book presenting maximum likelihood 
estimation and related
 topics for ecologists (ISBN 978-0-691-12522-0).")
     ;; Any GPL version
     (license (list license:gpl2 license:gpl3))))
+
+(define-public r-lpsolve
+  (package
+    (name "r-lpsolve")
+    (version "5.6.13")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "lpSolve" version))
+       (sha256
+        (base32
+         "13a9ry8xf5j1f2j6imqrxdgxqz3nqp9sj9b4ivyx9sid459irm6m"))))
+    (properties `((upstream-name . "lpSolve")))
+    (build-system r-build-system)
+    (home-page "http://cran.r-project.org/web/packages/lpSolve";)
+    (synopsis "R interface to Lp_solve to solve linear/integer programs")
+    (description
+     "Lp_solve is software for solving linear, integer and mixed integer
+programs.  This implementation supplies a \"wrapper\" function in C and some R
+functions that solve general linear/integer problems, assignment problems, and
+transportation problems.")
+    (license license:lgpl2.0)))
-- 
2.13.3







reply via email to

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