diff options
| author | Artyom V. Poptsov <poptsov.artyom@gmail.com> | 2023-12-02 17:18:12 +0300 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2023-12-10 22:26:58 +0100 |
| commit | ad0c116508c2ff5e2e69d852ee5bb25202aae070 (patch) | |
| tree | 2d52685dcceeddd4950e18b199fad1220166a6a6 /gnu | |
| parent | 17835e2e0d0603ef2be71da689d0299d8d4b8229 (diff) | |
gnu: guile-gitlab: Improve the package style.
* gnu/packages/guile-xyz.scm (guile-gitlab): Improve the package style.
[inputs]: Remove input labels.
Change-Id: I449a02e1f9d700f678bb09961b896dea1627632e
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/guile-xyz.scm | 64 |
1 files changed, 28 insertions, 36 deletions
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index a45ccd6111b..fcaf788d378 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm | |||
| @@ -5437,49 +5437,41 @@ high-level API for network management that uses rtnetlink.") | |||
| 5437 | (commit (string-append "v" version)))) | 5437 | (commit (string-append "v" version)))) |
| 5438 | (file-name (string-append name "-" version)) | 5438 | (file-name (string-append name "-" version)) |
| 5439 | (sha256 | 5439 | (sha256 |
| 5440 | (base32 | 5440 | (base32 "0srkmchd4kmfa7q65r6fdzwklhgdlck1ll0s7smzs8ddjdgz2lwm")))) |
| 5441 | "0srkmchd4kmfa7q65r6fdzwklhgdlck1ll0s7smzs8ddjdgz2lwm")))) | ||
| 5442 | (build-system gnu-build-system) | 5441 | (build-system gnu-build-system) |
| 5443 | (arguments | 5442 | (arguments |
| 5444 | `(#:make-flags '("GUILE_AUTO_COMPILE=0") ;to prevent guild warnings | 5443 | `(#:make-flags '("GUILE_AUTO_COMPILE=0") ;to prevent guild warnings |
| 5445 | #:modules (((guix build guile-build-system) | 5444 | #:modules (((guix build guile-build-system) |
| 5446 | #:select (target-guile-effective-version)) | 5445 | #:select (target-guile-effective-version)) |
| 5447 | ,@%gnu-build-system-modules) | 5446 | ,@%gnu-build-system-modules) |
| 5448 | #:imported-modules ((guix build guile-build-system) | 5447 | #:imported-modules ((guix build guile-build-system) |
| 5449 | ,@%gnu-build-system-modules) | 5448 | ,@%gnu-build-system-modules) |
| 5450 | #:phases | 5449 | #:phases (modify-phases %standard-phases |
| 5451 | (modify-phases %standard-phases | 5450 | (add-after 'install 'wrap-program |
| 5452 | (add-after 'install 'wrap-program | 5451 | (lambda* (#:key inputs outputs #:allow-other-keys) |
| 5453 | (lambda* (#:key inputs outputs #:allow-other-keys) | 5452 | (let* ((out (assoc-ref outputs "out")) |
| 5454 | (let* ((out (assoc-ref outputs "out")) | 5453 | (bin (string-append out "/bin")) |
| 5455 | (bin (string-append out "/bin")) | 5454 | (guile-lib (assoc-ref inputs "guile2.2-lib")) |
| 5456 | (guile-lib (assoc-ref inputs "guile-lib")) | 5455 | (json (assoc-ref inputs "guile2.2-json")) |
| 5457 | (json (assoc-ref inputs "guile-json")) | 5456 | (tls (assoc-ref inputs "guile2.2-gnutls")) |
| 5458 | (tls (assoc-ref inputs "guile-gnutls")) | 5457 | (version (target-guile-effective-version)) |
| 5459 | (version (target-guile-effective-version)) | 5458 | (scm (string-append "/share/guile/site/" version)) |
| 5460 | (scm (string-append "/share/guile/site/" | 5459 | (go (string-append "/lib/guile/" version |
| 5461 | version)) | 5460 | "/site-ccache"))) |
| 5462 | (go (string-append "/lib/guile/" | 5461 | (wrap-program (string-append bin "/gitlab-cli") |
| 5463 | version "/site-ccache"))) | 5462 | `("GUILE_LOAD_PATH" prefix |
| 5464 | (wrap-program (string-append bin "/gitlab-cli") | 5463 | (,(string-append out scm) ,(string-append |
| 5465 | `("GUILE_LOAD_PATH" prefix | 5464 | guile-lib scm) |
| 5466 | (,(string-append out scm) | 5465 | ,(string-append json scm) |
| 5467 | ,(string-append guile-lib scm) | 5466 | ,(string-append tls scm))) |
| 5468 | ,(string-append json scm) | 5467 | `("GUILE_LOAD_COMPILED_PATH" prefix |
| 5469 | ,(string-append tls scm))) | 5468 | (,(string-append out go) ,(string-append guile-lib |
| 5470 | `("GUILE_LOAD_COMPILED_PATH" prefix | 5469 | go) |
| 5471 | (,(string-append out go) | 5470 | ,(string-append json go) |
| 5472 | ,(string-append guile-lib go) | 5471 | ,(string-append tls go)))))))))) |
| 5473 | ,(string-append json go) | 5472 | (native-inputs (list autoconf automake pkg-config texinfo)) |
| 5474 | ,(string-append tls go)))))))))) | 5473 | (inputs (list bash-minimal guile-2.2 guile2.2-json guile2.2-lib |
| 5475 | (native-inputs | 5474 | guile2.2-gnutls)) |
| 5476 | (list autoconf automake pkg-config texinfo)) | ||
| 5477 | (inputs | ||
| 5478 | `(("bash" ,bash-minimal) | ||
| 5479 | ("guile" ,guile-2.2) | ||
| 5480 | ("guile-json" ,guile2.2-json) | ||
| 5481 | ("guile-lib" ,guile2.2-lib) | ||
| 5482 | ("guile-gnutls" ,guile2.2-gnutls))) | ||
| 5483 | (home-page "https://github.com/artyom-poptsov/guile-gitlab") | 5475 | (home-page "https://github.com/artyom-poptsov/guile-gitlab") |
| 5484 | (synopsis "Guile interface to GitLab") | 5476 | (synopsis "Guile interface to GitLab") |
| 5485 | (description | 5477 | (description |
