diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-06-15 15:53:00 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-06-20 11:35:58 +0100 |
| commit | 4e20fad9324f44090ae7d81fe8bdcf713012fe58 (patch) | |
| tree | 06487e264275cf77ee82e4f3951e72b23a7bd1c7 /gnu/packages/enlightenment.scm | |
| parent | 036d53d4e3c6c5ea9ab49029bf0568b7993fccef (diff) | |
gnu: epour: Improve style.
* gnu/packages/enlightenment.scm (epour): Improve style.
[source, native-inputs, inputs]: Run guix style.
[arguments]: Run guix style. Rewrite using gexps.
Change-Id: Ife6a56d269f2d1df20b7d9f6928e750c56f8355e
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/enlightenment.scm')
| -rw-r--r-- | gnu/packages/enlightenment.scm | 42 |
1 files changed, 20 insertions, 22 deletions
diff --git a/gnu/packages/enlightenment.scm b/gnu/packages/enlightenment.scm index cf9fe93b27e..422b9c75f92 100644 --- a/gnu/packages/enlightenment.scm +++ b/gnu/packages/enlightenment.scm | |||
| @@ -6,6 +6,7 @@ | |||
| 6 | ;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr> | 6 | ;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr> |
| 7 | ;;; Copyright © 2018 Timo Eisenmann <eisenmann@fn.de> | 7 | ;;; Copyright © 2018 Timo Eisenmann <eisenmann@fn.de> |
| 8 | ;;; Copyright © 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com> | 8 | ;;; Copyright © 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com> |
| 9 | ;;; Copyright © 2025 Nicolas Graves <ngraves@ngraves.fr> | ||
| 9 | ;;; | 10 | ;;; |
| 10 | ;;; This file is part of GNU Guix. | 11 | ;;; This file is part of GNU Guix. |
| 11 | ;;; | 12 | ;;; |
| @@ -26,6 +27,7 @@ | |||
| 26 | #:use-module ((guix licenses) #:prefix license:) | 27 | #:use-module ((guix licenses) #:prefix license:) |
| 27 | #:use-module (guix packages) | 28 | #:use-module (guix packages) |
| 28 | #:use-module (guix download) | 29 | #:use-module (guix download) |
| 30 | #:use-module (guix gexp) | ||
| 29 | #:use-module (guix utils) | 31 | #:use-module (guix utils) |
| 30 | #:use-module (guix build-system meson) | 32 | #:use-module (guix build-system meson) |
| 31 | #:use-module (guix build-system python) | 33 | #:use-module (guix build-system python) |
| @@ -562,30 +564,26 @@ directories. | |||
| 562 | (name "epour") | 564 | (name "epour") |
| 563 | (version "0.7.0") | 565 | (version "0.7.0") |
| 564 | (source | 566 | (source |
| 565 | (origin | 567 | (origin |
| 566 | (method url-fetch) | 568 | (method url-fetch) |
| 567 | (uri (string-append "https://download.enlightenment.org/rel/apps/epour" | 569 | (uri (string-append "https://download.enlightenment.org/rel/apps/epour" |
| 568 | "/epour-" version ".tar.xz")) | 570 | "/epour-" version ".tar.xz")) |
| 569 | (sha256 | 571 | (sha256 |
| 570 | (base32 | 572 | (base32 "0g9f9p01hsq6dcf4cs1pwq95g6fpkyjgwqlvdjk1km1i5gj5ygqw")))) |
| 571 | "0g9f9p01hsq6dcf4cs1pwq95g6fpkyjgwqlvdjk1km1i5gj5ygqw")))) | ||
| 572 | (build-system python-build-system) | 573 | (build-system python-build-system) |
| 573 | (arguments | 574 | (arguments |
| 574 | `(#:tests? #f ; no test target | 575 | (list |
| 575 | #:use-setuptools? #f | 576 | #:tests? #f ;no test target |
| 576 | #:phases | 577 | #:use-setuptools? #f |
| 577 | (modify-phases %standard-phases | 578 | #:phases |
| 578 | (add-after 'unpack 'find-theme-dir | 579 | #~(modify-phases %standard-phases |
| 579 | (lambda* (#:key outputs #:allow-other-keys) | 580 | (add-after 'unpack 'find-theme-dir |
| 580 | (let ((out (assoc-ref outputs "out"))) | 581 | (lambda _ |
| 581 | (substitute* "epour/gui/__init__.py" | 582 | (substitute* "epour/gui/__init__.py" |
| 582 | (("join\\(data_path") | 583 | (("join\\(data_path") |
| 583 | (string-append "join(\"" out "/share/epour\""))) | 584 | (string-append "join(\"" #$output "/share/epour\"")))))))) |
| 584 | #t)))))) | 585 | (native-inputs (list intltool python-distutils-extra)) |
| 585 | (native-inputs | 586 | (inputs (list libtorrent-rasterbar-1.2 python-dbus python-efl python-pyxdg)) |
| 586 | (list intltool python-distutils-extra)) | ||
| 587 | (inputs | ||
| 588 | (list libtorrent-rasterbar-1.2 python-dbus python-efl python-pyxdg)) | ||
| 589 | (home-page "https://www.enlightenment.org") | 587 | (home-page "https://www.enlightenment.org") |
| 590 | (synopsis "EFL Bittorrent client") | 588 | (synopsis "EFL Bittorrent client") |
| 591 | (description "Epour is a BitTorrent client based on the @dfn{Enlightenment | 589 | (description "Epour is a BitTorrent client based on the @dfn{Enlightenment |
