me
/
guix
Archived
1
0
Fork 0

gnu: laminar: Update to 1.2.

* gnu/packages/ci.scm (laminar): Update to 1.2.
[arguments]: Do not return #t from custom phases.
master
Arun Isaac 2022-08-25 13:14:21 +05:30
parent 98457ba47b
commit a36fb3d131
No known key found for this signature in database
GPG Key ID: 2E25EE8B61802BB3
1 changed files with 5 additions and 7 deletions

View File

@ -5,6 +5,7 @@
;;; Copyright © 2017, 2020, 2021 Mathieu Othacehe <m.othacehe@gmail.com> ;;; Copyright © 2017, 2020, 2021 Mathieu Othacehe <m.othacehe@gmail.com>
;;; Copyright © 2017, 2019, 2020 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2017, 2019, 2020 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2018 Clément Lassieur <clement@lassieur.org> ;;; Copyright © 2018 Clément Lassieur <clement@lassieur.org>
;;; Copyright © 2022 Arun Isaac <arunisaac@systemreboot.net>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -193,7 +194,7 @@ intended as a replacement for Hydra.")
(define-public laminar (define-public laminar
(package (package
(name "laminar") (name "laminar")
(version "1.1") (version "1.2")
(source (source
(origin (method url-fetch) (origin (method url-fetch)
(uri (string-append "https://github.com/ohwgiles/laminar/archive/" (uri (string-append "https://github.com/ohwgiles/laminar/archive/"
@ -202,7 +203,7 @@ intended as a replacement for Hydra.")
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"1lzfmfjygmbdr2n1q49kwwffw8frz5y6iczhdz5skwmzwg0chbsf")))) "0vcgpp8g67mlhqnyhkihxz9j5jz1pal79jrdhnmjl5ddbhkvji8i"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
`(#:tests? #f ; TODO Can't build tests `(#:tests? #f ; TODO Can't build tests
@ -223,8 +224,7 @@ intended as a replacement for Hydra.")
(("install\\(FILES \\$\\{CMAKE\\_CURRENT\\_BINARY\\_DIR\\}\\/laminar\\.service DESTINATION \\$\\{SYSTEMD\\_UNITDIR\\}\\)") (("install\\(FILES \\$\\{CMAKE\\_CURRENT\\_BINARY\\_DIR\\}\\/laminar\\.service DESTINATION \\$\\{SYSTEMD\\_UNITDIR\\}\\)")
"") "")
(("install\\(FILES etc/laminar\\.conf DESTINATION \\/etc\\)") "") (("install\\(FILES etc/laminar\\.conf DESTINATION \\/etc\\)") "")
(("\\/usr\\/") "")) (("\\/usr\\/") ""))))
#t))
(add-after 'configure 'copy-in-javascript-and-css (add-after 'configure 'copy-in-javascript-and-css
(lambda* (#:key inputs outputs #:allow-other-keys) (lambda* (#:key inputs outputs #:allow-other-keys)
(use-modules (ice-9 popen)) (use-modules (ice-9 popen))
@ -253,9 +253,7 @@ intended as a replacement for Hydra.")
;; ansi_up.js isn't minified ;; ansi_up.js isn't minified
(copy-file (assoc-ref inputs "ansi_up.js") (copy-file (assoc-ref inputs "ansi_up.js")
"../build/js/ansi_up.js") "../build/js/ansi_up.js"))))))
#t)))))
(inputs (inputs
(list capnproto rapidjson sqlite boost zlib)) (list capnproto rapidjson sqlite boost zlib))
(native-inputs (native-inputs