mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: Add cl-postgres+local-time.
The local-time extension for cl-postgres has to be put in a separate package to solve a dependency cycle between local-time and postmodern. * gnu/packages/lisp-xyz.scm (sbcl-local-time)[arguments]: Add 'delete-local-time' phase. (sbcl-cl-postgres+local-time): New variable. Co-authored-by: Guillaume Le Vaillant <glv@posteo.net>
This commit is contained in:
parent
9a3cd4a969
commit
ec2b5784ab
1 changed files with 39 additions and 1 deletions
|
@ -37,6 +37,7 @@
|
||||||
;;; Copyright © 2022 Arun Isaac <arunisaac@systemreboot.net>
|
;;; Copyright © 2022 Arun Isaac <arunisaac@systemreboot.net>
|
||||||
;;; Copyright © 2022 Trevor Richards <trev@trevdev.ca>
|
;;; Copyright © 2022 Trevor Richards <trev@trevdev.ca>
|
||||||
;;; Copyright © 2022, 2023 Artyom Bologov <mail@aartaka.me>
|
;;; Copyright © 2022, 2023 Artyom Bologov <mail@aartaka.me>
|
||||||
|
;;; Copyright © 2023 Roman Scherer <roman@burningswell.com>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -6875,7 +6876,7 @@ (define-public ecl-cl-isaac
|
||||||
|
|
||||||
(define-public sbcl-local-time
|
(define-public sbcl-local-time
|
||||||
(let ((commit "40169fe26d9639f3d9560ec0255789bf00b30036")
|
(let ((commit "40169fe26d9639f3d9560ec0255789bf00b30036")
|
||||||
(revision "3"))
|
(revision "4"))
|
||||||
(package
|
(package
|
||||||
(name "sbcl-local-time")
|
(name "sbcl-local-time")
|
||||||
(version (git-version "1.0.6" revision commit))
|
(version (git-version "1.0.6" revision commit))
|
||||||
|
@ -6889,6 +6890,14 @@ (define-public sbcl-local-time
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1dbp33zmkqzzshmf5k76pxqgli285wvy0p0dhcz816fdikpwn2jg"))))
|
(base32 "1dbp33zmkqzzshmf5k76pxqgli285wvy0p0dhcz816fdikpwn2jg"))))
|
||||||
(build-system asdf-build-system/sbcl)
|
(build-system asdf-build-system/sbcl)
|
||||||
|
(arguments
|
||||||
|
`(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
;; Delete the extension provided by sbcl-cl-postgres+local-time
|
||||||
|
(add-after 'unpack 'delete-local-time
|
||||||
|
(lambda _
|
||||||
|
(delete-file "cl-postgres+local-time.asd")
|
||||||
|
(delete-file "src/integration/cl-postgres.lisp"))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list sbcl-hu.dwim.stefil))
|
(list sbcl-hu.dwim.stefil))
|
||||||
(home-page "https://common-lisp.net/project/local-time/")
|
(home-page "https://common-lisp.net/project/local-time/")
|
||||||
|
@ -6905,6 +6914,35 @@ (define-public cl-local-time
|
||||||
(define-public ecl-local-time
|
(define-public ecl-local-time
|
||||||
(sbcl-package->ecl-package sbcl-local-time))
|
(sbcl-package->ecl-package sbcl-local-time))
|
||||||
|
|
||||||
|
(define-public sbcl-cl-postgres+local-time
|
||||||
|
(package
|
||||||
|
(inherit sbcl-local-time)
|
||||||
|
(name "sbcl-cl-postgres+local-time")
|
||||||
|
(inputs (list sbcl-local-time sbcl-postmodern))
|
||||||
|
(arguments
|
||||||
|
`(#:asd-systems '("cl-postgres+local-time")
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'delete-local-time
|
||||||
|
(lambda _
|
||||||
|
(delete-file "local-time.asd")
|
||||||
|
(delete-file "src/package.lisp")
|
||||||
|
(delete-file "src/local-time.lisp")
|
||||||
|
(delete-file-recursively "doc")
|
||||||
|
(delete-file-recursively "test")
|
||||||
|
(delete-file-recursively "zoneinfo"))))))
|
||||||
|
(synopsis "Integration between cl-postgres and local-time")
|
||||||
|
(description
|
||||||
|
"This package provides the LOCAL-TIME extensions for the cl-postgres
|
||||||
|
ASDF system of postmodern.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public cl-postgres+local-time
|
||||||
|
(sbcl-package->cl-source-package sbcl-cl-postgres+local-time))
|
||||||
|
|
||||||
|
(define-public ecl-cl-postgres+local-time
|
||||||
|
(sbcl-package->ecl-package sbcl-cl-postgres+local-time))
|
||||||
|
|
||||||
(define-public sbcl-chronicity
|
(define-public sbcl-chronicity
|
||||||
(package
|
(package
|
||||||
(name "sbcl-chronicity")
|
(name "sbcl-chronicity")
|
||||||
|
|
Loading…
Reference in a new issue