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:
parent
3a71dac02e
commit
09f0bc87a9
1 changed files with 45 additions and 56 deletions
|
@ -2523,64 +2523,53 @@ 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")
|
(package
|
||||||
(revision "1"))
|
(name "guile-persist")
|
||||||
(package
|
(version "1.2.3")
|
||||||
(name "guile-persist")
|
(source (origin
|
||||||
(version (git-version "0" revision commit))
|
(method git-fetch)
|
||||||
(source (origin
|
(uri (git-reference
|
||||||
(method git-fetch)
|
(url "https://gitlab.com/tampe/guile-persist")
|
||||||
(uri (git-reference
|
(commit (string-append "v" version))))
|
||||||
(url "https://gitlab.com/tampe/guile-persist")
|
(file-name (git-file-name name version))
|
||||||
(commit commit)))
|
(sha256
|
||||||
(file-name (git-file-name name version))
|
(base32
|
||||||
(sha256
|
"19f8hqcax4v40858kx2j8fy1cvzc2djj99r0n17dy1xxmwa097qi"))))
|
||||||
(base32
|
(build-system gnu-build-system)
|
||||||
"0z5nf377wh8yj6n3sx2ddn4bdx1qrqnw899dlqjhg0q69qzil522"))
|
(arguments
|
||||||
(modules '((guix build utils)))
|
`(#:phases
|
||||||
(snippet
|
(modify-phases %standard-phases
|
||||||
'(begin
|
(add-after 'unpack 'patch-prefix
|
||||||
;; Install .go files in the right place.
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(substitute* "Makefile.am"
|
(substitute* "src/Makefile.am"
|
||||||
(("/ccache") "/site-ccache"))
|
(("/usr/local/lib/guile")
|
||||||
#t))))
|
(string-append (assoc-ref outputs "out") "/lib/guile"))
|
||||||
(build-system gnu-build-system)
|
(("/usr/local/include/guile")
|
||||||
(arguments
|
(string-append (assoc-ref inputs "guile") "/include/guile"))
|
||||||
`(#:phases
|
(("-L/usr/local/lib")
|
||||||
(modify-phases %standard-phases
|
(string-append "-L" (assoc-ref inputs "guile") "/lib")))
|
||||||
(add-after 'unpack 'patch-prefix
|
#t))
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(add-after 'unpack 'patch-library-reference
|
||||||
(substitute* "src/Makefile.am"
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(("/usr/local/lib/guile")
|
(let ((out (assoc-ref outputs "out")))
|
||||||
(string-append (assoc-ref outputs "out") "/lib/guile"))
|
(substitute* "persist/persistance.scm"
|
||||||
(("/usr/local/include/guile")
|
(("\"libguile-persist\"")
|
||||||
(string-append (assoc-ref inputs "guile") "/include/guile"))
|
(format #f "\"~a/lib/guile/3.0/extensions/libguile-persist\"" out)))
|
||||||
(("-L/usr/local/lib")
|
#t))))))
|
||||||
(string-append "-L" (assoc-ref inputs "guile") "/lib"))
|
(inputs
|
||||||
;; Use canonical directory for go files.
|
`(("guile" ,guile-3.0)))
|
||||||
(("/ccache") "/site-ccache"))
|
(native-inputs
|
||||||
#t))
|
`(("autoconf" ,autoconf)
|
||||||
(add-after 'unpack 'patch-library-reference
|
("automake" ,automake)
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
("libtool" ,libtool)
|
||||||
(let ((out (assoc-ref outputs "out")))
|
("pkg-config" ,pkg-config)))
|
||||||
(substitute* "persist/persistance.scm"
|
(home-page "https://gitlab.com/tampe/guile-persist")
|
||||||
(("\"libguile-persist\"")
|
(synopsis "Persistence programming framework for Guile")
|
||||||
(format #f "\"~a/lib/guile/2.2/extensions/libguile-persist\"" out)))
|
(description
|
||||||
#t))))))
|
"This is a serialization library for serializing objects like classes
|
||||||
(inputs
|
|
||||||
`(("guile" ,guile-2.2)))
|
|
||||||
(native-inputs
|
|
||||||
`(("autoconf" ,autoconf)
|
|
||||||
("automake" ,automake)
|
|
||||||
("libtool" ,libtool)
|
|
||||||
("pkg-config" ,pkg-config)))
|
|
||||||
(home-page "https://gitlab.com/tampe/guile-persist")
|
|
||||||
(synopsis "Persistence programming framework for Guile")
|
|
||||||
(description
|
|
||||||
"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")
|
||||||
|
|
Reference in a new issue