Archived
1
0
Fork 0

gnu: guile-persist: Update to 1.2.3.

* gnu/packages/guile-xyz.scm (guile-persist): Update to 1.2.3.
[source](modules, snippet): Remove.
[inputs]: Change from GUILE-2.2 to GUILE-3.0.
This commit is contained in:
Marius Bakke 2020-06-23 16:32:06 +02:00
parent 3a71dac02e
commit 09f0bc87a9
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -2523,27 +2523,18 @@ chunks can be expressions as well as simple tokens.")
(license license:lgpl2.0+))) (license license:lgpl2.0+)))
(define-public guile-persist (define-public guile-persist
(let ((commit "b14927b0368af51c024560aee5f55724aee35233")
(revision "1"))
(package (package
(name "guile-persist") (name "guile-persist")
(version (git-version "0" revision commit)) (version "1.2.3")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://gitlab.com/tampe/guile-persist") (url "https://gitlab.com/tampe/guile-persist")
(commit commit))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0z5nf377wh8yj6n3sx2ddn4bdx1qrqnw899dlqjhg0q69qzil522")) "19f8hqcax4v40858kx2j8fy1cvzc2djj99r0n17dy1xxmwa097qi"))))
(modules '((guix build utils)))
(snippet
'(begin
;; Install .go files in the right place.
(substitute* "Makefile.am"
(("/ccache") "/site-ccache"))
#t))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:phases `(#:phases
@ -2556,19 +2547,17 @@ chunks can be expressions as well as simple tokens.")
(("/usr/local/include/guile") (("/usr/local/include/guile")
(string-append (assoc-ref inputs "guile") "/include/guile")) (string-append (assoc-ref inputs "guile") "/include/guile"))
(("-L/usr/local/lib") (("-L/usr/local/lib")
(string-append "-L" (assoc-ref inputs "guile") "/lib")) (string-append "-L" (assoc-ref inputs "guile") "/lib")))
;; Use canonical directory for go files.
(("/ccache") "/site-ccache"))
#t)) #t))
(add-after 'unpack 'patch-library-reference (add-after 'unpack 'patch-library-reference
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))) (let ((out (assoc-ref outputs "out")))
(substitute* "persist/persistance.scm" (substitute* "persist/persistance.scm"
(("\"libguile-persist\"") (("\"libguile-persist\"")
(format #f "\"~a/lib/guile/2.2/extensions/libguile-persist\"" out))) (format #f "\"~a/lib/guile/3.0/extensions/libguile-persist\"" out)))
#t)))))) #t))))))
(inputs (inputs
`(("guile" ,guile-2.2))) `(("guile" ,guile-3.0)))
(native-inputs (native-inputs
`(("autoconf" ,autoconf) `(("autoconf" ,autoconf)
("automake" ,automake) ("automake" ,automake)
@ -2580,7 +2569,7 @@ chunks can be expressions as well as simple tokens.")
"This is a serialization library for serializing objects like classes "This is a serialization library for serializing objects like classes
and objects, closures and structs. This currently does not support and objects, closures and structs. This currently does not support
serializing continuations or delimited continuations.") serializing continuations or delimited continuations.")
(license license:lgpl2.0+)))) (license license:lgpl2.0+)))
(define-public python-on-guile (define-public python-on-guile
(let ((commit "00a51a23247f1edc4ae8eda72b30df5cd7d0015f") (let ((commit "00a51a23247f1edc4ae8eda72b30df5cd7d0015f")