summary refs log tree commit diff
path: root/gnu/packages/swig.scm
diff options
context:
space:
mode:
authorAndy Tai <atai@atai.org>2023-03-22 22:34:37 -0700
committerLudovic Courtès <ludo@gnu.org>2023-06-08 23:28:52 +0200
commit27fcbf3c818a610af5357367912971c1aee9cb82 (patch)
tree0df07fa3dd48cc2b7b0e357bde51972e85c68008 /gnu/packages/swig.scm
parent8716f33d98d1c5fc967550cb35c459b4fb215518 (diff)
downloadguix-27fcbf3c818a610af5357367912971c1aee9cb82.tar.gz
gnu: Add swig@4.1.
* gnu/packages/swig.scm (swig-next): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/swig.scm')
-rw-r--r--gnu/packages/swig.scm18
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/swig.scm b/gnu/packages/swig.scm
index 51024ef487..6e2fb8b4e9 100644
--- a/gnu/packages/swig.scm
+++ b/gnu/packages/swig.scm
@@ -67,3 +67,21 @@ you tailor the wrapping process to suit your application.")
 
     ;; See http://www.swig.org/Release/LICENSE for details.
     (license gpl3+)))
+
+(define-public swig-next
+  ;; a number of packages using swig do not build with this version
+  ;; so we need to keep swig 4.0.2 above and place the current release
+  ;; as swig-next
+  (package
+    (inherit swig)
+    (name "swig")
+    (version "4.1.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://sourceforge/" name "/" name "/"
+                                 name "-" version "/"
+                                 name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "16xc767gf5ip40jh698wbdrxrghli5v2c966bkdmrmpwv378mw1a"))))
+    (inputs (list pcre2))))