mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: ephemeralpg: Update to 3.0.
* gnu/packages/databases.scm (ephemeralpg): Update to 3.0. [arguments]: Set #:test-target and use the standard ‘check’ phase.
This commit is contained in:
parent
a1da0fb20b
commit
6c54d06ec1
1 changed files with 6 additions and 7 deletions
|
@ -225,7 +225,7 @@ standard Go idioms.")
|
||||||
(define-public ephemeralpg
|
(define-public ephemeralpg
|
||||||
(package
|
(package
|
||||||
(name "ephemeralpg")
|
(name "ephemeralpg")
|
||||||
(version "2.9")
|
(version "3.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
|
@ -233,17 +233,14 @@ standard Go idioms.")
|
||||||
"https://eradman.com/ephemeralpg/code/ephemeralpg-"
|
"https://eradman.com/ephemeralpg/code/ephemeralpg-"
|
||||||
version ".tar.gz"))
|
version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1ghp3kya4lxvfwz3c022cx9vqf55jbf9sjw60bxjcb5sszklyc89"))))
|
(base32 "1j0g7g114ma7y7sadbng5p1ss1zsm9zpicm77qspym6565733vvh"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:make-flags (list "CC=gcc"
|
'(#:make-flags (list "CC=gcc"
|
||||||
(string-append "PREFIX=" %output))
|
(string-append "PREFIX=" %output))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(delete 'configure)
|
(delete 'configure) ; no configure script
|
||||||
(replace 'check
|
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
|
||||||
(invoke "ruby" "test.rb")))
|
|
||||||
(add-after 'install 'wrap
|
(add-after 'install 'wrap
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(let ((out (assoc-ref outputs "out")))
|
(let ((out (assoc-ref outputs "out")))
|
||||||
|
@ -255,11 +252,13 @@ standard Go idioms.")
|
||||||
"/bin")
|
"/bin")
|
||||||
;; For getsocket.
|
;; For getsocket.
|
||||||
,(string-append out "/bin")))))
|
,(string-append out "/bin")))))
|
||||||
#t)))))
|
#t)))
|
||||||
|
#:test-target "test"))
|
||||||
(inputs
|
(inputs
|
||||||
`(("postgresql" ,postgresql)
|
`(("postgresql" ,postgresql)
|
||||||
("util-linux" ,util-linux)))
|
("util-linux" ,util-linux)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
|
;; For tests.
|
||||||
`(("ruby" ,ruby)
|
`(("ruby" ,ruby)
|
||||||
("which" ,which)))
|
("which" ,which)))
|
||||||
(home-page "https://eradman.com/ephemeralpg/")
|
(home-page "https://eradman.com/ephemeralpg/")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue