diff options
| author | Ghislain Vaillant <ghislain.vaillant@inria.fr> | 2025-09-28 11:37:25 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-01 20:33:55 +0100 |
| commit | 1f33dd1afaf9ee1c0330a0599ce63c40e68f182b (patch) | |
| tree | 91a117e2303911dfc2f57167c08755c325217ca2 /gnu/packages/python-xyz.scm | |
| parent | 44db09e0d132b02c3ae10895406a6b7d3ece42df (diff) | |
gnu: Add python-darkdetect.
* gnu/packages/python-xyz.scm (python-darkdetect): New variable.
Change-Id: I3c991b8fa03700f7114a44b3d3df576df0d15b6f
Reviewed-by: Nicolas Graves <ngraves@ngraves.fr>
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index dd0ad27238..baa2ab78eb 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -171,6 +171,7 @@ ;;; Copyright © 2025 Luis Felipe López Acevedo <sirgazil@zoho.com> ;;; Copyright © 2025 Josep Bigorra <jjbigorra@gmail.com> ;;; Copyright © 2025 Matthias Riße <matrss@0px.xyz> +;;; Copyright © 2025 Ghislain Vaillant <ghislain.vaillant@inria.fr> ;;; ;;; This file is part of GNU Guix. ;;; @@ -731,6 +732,27 @@ features string-like objects which carry formatting information, per-line fullscreen terminal rendering, and keyboard input event reporting.") (license license:expat))) +(define-public python-darkdetect + (package + (name "python-darkdetect") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "darkdetect" version)) + (sha256 + (base32 "1cgqgpz36dfn7hsqc29ha9pmxmzdjlwdq9aclkgbagi6f08qwhmm")))) + (build-system pyproject-build-system) + (arguments + (list + #:tests? #f)) ;no tests in PyPI or Git. + (native-inputs (list python-setuptools)) + (home-page "https://github.com/albertosottile/darkdetect") + (synopsis "Detect OS dark mode from Python") + (description + "This package allows to detect if the user is using Dark Mode.") + (license license:bsd-3))) + (define-public python-distance (let ((commit "ad7f9dc7e9b0e88a08d0cefd1442f4ab1dd1779b") (revision "0")) |
