summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-06-15 15:53:00 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-06-20 11:35:58 +0100
commit4e20fad9324f44090ae7d81fe8bdcf713012fe58 (patch)
tree06487e264275cf77ee82e4f3951e72b23a7bd1c7
parent036d53d4e3c6c5ea9ab49029bf0568b7993fccef (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>
-rw-r--r--gnu/packages/enlightenment.scm42
1 files changed, 20 insertions, 22 deletions
diff --git a/gnu/packages/enlightenment.scm b/gnu/packages/enlightenment.scm
index cf9fe93b27..422b9c75f9 100644
--- a/gnu/packages/enlightenment.scm
+++ b/gnu/packages/enlightenment.scm
@@ -6,6 +6,7 @@
;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018 Timo Eisenmann <eisenmann@fn.de>
;;; Copyright © 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2025 Nicolas Graves <ngraves@ngraves.fr>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -26,6 +27,7 @@
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
+ #:use-module (guix gexp)
#:use-module (guix utils)
#:use-module (guix build-system meson)
#:use-module (guix build-system python)
@@ -562,30 +564,26 @@ directories.
(name "epour")
(version "0.7.0")
(source
- (origin
- (method url-fetch)
- (uri (string-append "https://download.enlightenment.org/rel/apps/epour"
- "/epour-" version ".tar.xz"))
- (sha256
- (base32
- "0g9f9p01hsq6dcf4cs1pwq95g6fpkyjgwqlvdjk1km1i5gj5ygqw"))))
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://download.enlightenment.org/rel/apps/epour"
+ "/epour-" version ".tar.xz"))
+ (sha256
+ (base32 "0g9f9p01hsq6dcf4cs1pwq95g6fpkyjgwqlvdjk1km1i5gj5ygqw"))))
(build-system python-build-system)
(arguments
- `(#:tests? #f ; no test target
- #:use-setuptools? #f
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'find-theme-dir
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- (substitute* "epour/gui/__init__.py"
- (("join\\(data_path")
- (string-append "join(\"" out "/share/epour\"")))
- #t))))))
- (native-inputs
- (list intltool python-distutils-extra))
- (inputs
- (list libtorrent-rasterbar-1.2 python-dbus python-efl python-pyxdg))
+ (list
+ #:tests? #f ;no test target
+ #:use-setuptools? #f
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'find-theme-dir
+ (lambda _
+ (substitute* "epour/gui/__init__.py"
+ (("join\\(data_path")
+ (string-append "join(\"" #$output "/share/epour\""))))))))
+ (native-inputs (list intltool python-distutils-extra))
+ (inputs (list libtorrent-rasterbar-1.2 python-dbus python-efl python-pyxdg))
(home-page "https://www.enlightenment.org")
(synopsis "EFL Bittorrent client")
(description "Epour is a BitTorrent client based on the @dfn{Enlightenment