all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Evgeny Pisemsky <mail@pisemsky.site>
To: 72600@debbugs.gnu.org
Subject: [bug#72600] [PATCH] gnu: Add python-pyclip.
Date: Tue, 13 Aug 2024 10:25:08 +0300	[thread overview]
Message-ID: <87plqcx4tn.fsf@pisemsky.site> (raw)

[-- Attachment #1: 0001-gnu-Add-python-pyclip.patch --]
[-- Type: text/x-patch, Size: 2254 bytes --]

From f575d979c16791b438f7b51bddf3fc47886ac0aa Mon Sep 17 00:00:00 2001
Message-ID: <f575d979c16791b438f7b51bddf3fc47886ac0aa.1723533763.git.mail@pisemsky.site>
From: Evgeny Pisemsky <mail@pisemsky.site>
Date: Tue, 13 Aug 2024 10:20:40 +0300
Subject: [PATCH] gnu: Add python-pyclip.

* gnu/packages/xdisorg.scm (python-pyclip): New variable.

Change-Id: Ia0142bb8361e2c7120ea2539f393701aa93d00a9
---
 gnu/packages/xdisorg.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 4c12835b24..4c6beac5d0 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -63,6 +63,7 @@
 ;;; Copyright © 2022 Mehmet Tekman <mtekman89@gmail.com>
 ;;; Copyright © 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com>
 ;;; Copyright © 2024 Igor Goryachev <igor@goryachev.org>
+;;; Copyright © 2024 Evgeny Pisemsky <mail@pisemsky.site>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2556,6 +2557,34 @@ (define-public physlock
     (home-page "https://github.com/xyb3rt/physlock")
     (license license:gpl2+)))
 
+(define-public python-pyclip
+  (package
+    (name "python-pyclip")
+    (version "0.7.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pyclip" version))
+       (sha256
+        (base32 "14940yi7cwz2vk7m8qf1jndk98s9ckg3sbylvjdp1ayfli3j0q2p"))
+       ;; Readme file is at top in pypi source.
+       (modules '((guix build utils)))
+       (snippet '(substitute* "setup.py"
+                   (("docs/README.md")
+                    "README.md")))))
+    (build-system python-build-system)
+    ;; No tests in pypi source.
+    (arguments
+     (list
+      #:tests? #f))
+    (propagated-inputs (list xclip wl-clipboard))
+    (home-page "https://github.com/spyoungtech/pyclip")
+    (synopsis "Cross-platform clipboard module for Python")
+    (description
+     "This library implements cross-platform clipboard utilities supporting
+both binary and text data.")
+    (license license:asl2.0)))
+
 (define-public python-pyperclip
   (package
     (name "python-pyperclip")

base-commit: 99a81b6f2a1386d6ea76a6ecb1942f1f7f891080
-- 
2.45.2





                 reply	other threads:[~2024-08-13  7:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87plqcx4tn.fsf@pisemsky.site \
    --to=mail@pisemsky.site \
    --cc=72600@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.