diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2026-06-05 23:05:09 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2026-06-12 18:31:55 +0200 |
| commit | 06c974961c7d7e57f4339d744dd0bf2507208ba1 (patch) | |
| tree | 9008efcbf336f779ab48e1aa4d48507e92c0619e /gnu/packages/plotutils.scm | |
| parent | b5bad3bbe23f588a078fa9c38f35fd1a84faf1a4 (diff) | |
gnu: guile-plotutils: Use gexps.
* gnu/packages/plotutils.scm (guile-plotutils)[arguments]: Use gexps.
Change-Id: I0e66032a665c12a8495d32e7ea6a28a1c1e5558c
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Merges: #9103
Diffstat (limited to 'gnu/packages/plotutils.scm')
| -rw-r--r-- | gnu/packages/plotutils.scm | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/gnu/packages/plotutils.scm b/gnu/packages/plotutils.scm index 3c56b279f18..abe64f63602 100644 --- a/gnu/packages/plotutils.scm +++ b/gnu/packages/plotutils.scm | |||
| @@ -263,29 +263,29 @@ using the Cairo drawing library.") | |||
| 263 | "1d0dq3is7j2grg806ql6y105zv3k0md5ndlpn1xgfshq6fi9yngr")))) | 263 | "1d0dq3is7j2grg806ql6y105zv3k0md5ndlpn1xgfshq6fi9yngr")))) |
| 264 | (build-system gnu-build-system) | 264 | (build-system gnu-build-system) |
| 265 | (arguments | 265 | (arguments |
| 266 | `(#:imported-modules ((guix build guile-build-system) | 266 | (list #:imported-modules `((guix build guile-build-system) |
| 267 | ,@%default-gnu-imported-modules) | 267 | ,@%default-gnu-imported-modules) |
| 268 | #:modules (((guix build guile-build-system) | 268 | #:modules `(((guix build guile-build-system) |
| 269 | #:select (target-guile-effective-version)) | 269 | #:select (target-guile-effective-version)) |
| 270 | (guix build gnu-build-system) | 270 | (guix build gnu-build-system) |
| 271 | (guix build utils)) | 271 | (guix build utils)) |
| 272 | #:configure-flags (list "--with-gnu-filesystem-hierarchy") | 272 | #:configure-flags #~(list "--with-gnu-filesystem-hierarchy") |
| 273 | #:phases | 273 | #:phases |
| 274 | (modify-phases %standard-phases | 274 | #~(modify-phases %standard-phases |
| 275 | (add-before 'install 'set-library-file-name | 275 | (add-before 'install 'set-library-file-name |
| 276 | (lambda* (#:key outputs #:allow-other-keys) | 276 | (lambda* (#:key outputs #:allow-other-keys) |
| 277 | (let ((out (assoc-ref outputs "out")) | 277 | (let ((out (assoc-ref outputs "out")) |
| 278 | (version (target-guile-effective-version))) | 278 | (version (target-guile-effective-version))) |
| 279 | ;; First install libguile-plotutils.so. | 279 | ;; First install libguile-plotutils.so. |
| 280 | (invoke "make" "install-guileextensionLTLIBRARIES" | 280 | (invoke "make" "install-guileextensionLTLIBRARIES" |
| 281 | "-C" "src") | 281 | "-C" "src") |
| 282 | 282 | ||
| 283 | ;; Then change source files to refer to it. | 283 | ;; Then change source files to refer to it. |
| 284 | (substitute* '("module/plotutils/graph.scm" | 284 | (substitute* '("module/plotutils/graph.scm" |
| 285 | "module/plotutils/plot.scm") | 285 | "module/plotutils/plot.scm") |
| 286 | (("\"libguile-plotutils\"") | 286 | (("\"libguile-plotutils\"") |
| 287 | (string-append "\"" out "/lib/guile/" version | 287 | (string-append "\"" out "/lib/guile/" version |
| 288 | "/extensions/libguile-plotutils\""))))))))) | 288 | "/extensions/libguile-plotutils\""))))))))) |
| 289 | (native-inputs (list autoconf-2.71 automake libtool pkg-config texinfo)) | 289 | (native-inputs (list autoconf-2.71 automake libtool pkg-config texinfo)) |
| 290 | (inputs (list plotutils guile-3.0 zlib)) | 290 | (inputs (list plotutils guile-3.0 zlib)) |
| 291 | (synopsis "Guile bindings to the GNU Plotutils plotting libraries") | 291 | (synopsis "Guile bindings to the GNU Plotutils plotting libraries") |
