summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2026-01-06 17:27:32 +0100
committerRutherther <rutherther@ditigal.xyz>2026-01-25 21:23:58 +0100
commit40386bc4f90de63eb92c98eaae71e1526ac54fd8 (patch)
treecdd6f999a45ae7ef8e8a7171272a84803ec43d0a /gnu
parentaa0c014b92eedea6df1cabe6e26ee7d15114ddad (diff)
gnu: syncplay: Switch to pyproject.
* gnu/packages/video.scm (syncplay): [source]: Delete darkdetect vendored dependency. [build-system]: Switch to pyproject-build-system. [arguments]: Improve style. <#:imported-modules, #:modules, #:phases>: Switch to pyproject-build-system. <#:tests?>: Use it instead of deleting 'check phase. [native-inputs]: Add python-setuptools. Change-Id: Ie5b59aa0b58106d246bd07a3982261018d256e04 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com> Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/video.scm40
1 files changed, 22 insertions, 18 deletions
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index d695d7ed88c..94167cb5a1b 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -7057,30 +7057,34 @@ others.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "08bgndszja4n2kql2qmzl6qrzawxvcwmywsc69lq0dzjnpdk96la"))))
- (build-system python-build-system)
+ (base32 "08bgndszja4n2kql2qmzl6qrzawxvcwmywsc69lq0dzjnpdk96la"))
+ ;; XXX: python-qt.py has to be unbundled too, with additional efforts.
+ ;; Here, darkdetect is never reached and is thus easier to remove.
+ (modules '((guix build utils)))
+ (snippet #~(delete-file-recursively "syncplay/vendor/darkdetect"))))
+ (build-system pyproject-build-system)
(arguments
(list
- #:imported-modules `(,@%python-build-system-modules
+ #:tests? #f ; No tests.
+ #:imported-modules `(,@%pyproject-build-system-modules
(guix build qt-utils)
(guix build utils))
- #:modules '((guix build python-build-system)
+ #:modules '((guix build pyproject-build-system)
(guix build qt-utils)
(guix build utils))
- #:phases #~(modify-phases %standard-phases
- (delete 'check)
- (replace 'install
- (lambda _
- (invoke "make" "install" "DESTDIR="
- (string-append "PREFIX="
- #$output))))
- (add-after 'install 'wrap-qt
- (lambda* (#:key inputs #:allow-other-keys)
- (wrap-qt-program "syncplay"
- #:output #$output
- #:inputs inputs
- #:qt-major-version "6"))))))
- (native-inputs (list python-pyside-6))
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'install
+ (lambda _
+ (invoke "make" "install" "DESTDIR="
+ (string-append "PREFIX=" #$output))))
+ (add-after 'install 'wrap-qt
+ (lambda* (#:key inputs #:allow-other-keys)
+ (wrap-qt-program "syncplay"
+ #:output #$output
+ #:inputs inputs
+ #:qt-major-version "6"))))))
+ (native-inputs (list python-pyside-6 python-setuptools))
(inputs (list bash-minimal
python-certifi
python-idna