guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: Add python-term-background.


From: guix-commits
Subject: branch master updated: gnu: Add python-term-background.
Date: Wed, 11 Dec 2024 15:46:08 -0500

This is an automated email from the git hooks/post-receive script.

dannym pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 9009cc882d gnu: Add python-term-background.
9009cc882d is described below

commit 9009cc882da509e6049b287ff942d0d2f73f5ab4
Author: Danny Milosavljevic <dannym@friendly-machines.com>
AuthorDate: Wed Dec 11 21:42:58 2024 +0100

    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 @@ a hash value.")
 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]