gnu: Add swig@4.1.

* gnu/packages/swig.scm (swig-next): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Andy Tai 2023-03-22 22:34:37 -07:00 committed by Ludovic Courtès
parent 8716f33d98
commit 27fcbf3c81
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -67,3 +67,21 @@ (define-public swig
;; See http://www.swig.org/Release/LICENSE for details. ;; See http://www.swig.org/Release/LICENSE for details.
(license gpl3+))) (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))))