From 9009cc882da509e6049b287ff942d0d2f73f5ab4 Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Wed, 11 Dec 2024 21:42:58 +0100 Subject: [PATCH] gnu: Add python-term-background. * gnu/packages/python-xyz.scm (python-term-background): New variable. Change-Id: If3606c0d037afc52842d3adb69af26d35c55f6ce --- gnu/packages/python-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index fa43c8d12f..e91f4156f2 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -17107,6 +17107,30 @@ (define-public python-terminaltables applications from a list of lists of strings. It supports multi-line rows.") (license license:expat))) +(define-public python-term-background + (package + (name "python-term-background") + (version "1.0.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "term_background" version)) + (sha256 + (base32 "0p674silrwc3jncncmdnj1lr6pl2q5qbx0xi3mzjq9sgcs5vmp4n")))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-build + (lambda _ + (delete-file "setup.py")))))) + (build-system pyproject-build-system) + (native-inputs (list python-setuptools python-wrapper python-setuptools-scm python-pkginfo python-pytest)) ; TODO: Remove python-pkginfo + (home-page "http://github.com/rocky/shell-term-background") + (synopsis "Determine if shell has a light or dark background") + (description "This package determines if shell has a light or dark +background.") + (license license:gpl2+))) + (define-public python-libarchive-c (package (name "python-libarchive-c")