From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id kPuNDjwfQmd3sQAAe85BDQ:P1 (envelope-from ) for ; Sat, 23 Nov 2024 18:30:20 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id kPuNDjwfQmd3sQAAe85BDQ (envelope-from ) for ; Sat, 23 Nov 2024 19:30:20 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=f5FWYBpC; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=IjVqbubr; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1732386620; a=rsa-sha256; cv=none; b=HhCFX4sos9VGamgFgf97YKtvGGnvnwOkuqyCpSKfGjGtyfjuKlh3wzl/2ajQw1LiWqH6UY em0dhs7hVi/vIHFGm4uLDJ+3opFAm89a7UFWn92pNtVmyuGoKUzRuJEUbbBepAhrQaKO34 bgMyYKlga/addBjbGzluXHYY5xGDGJJjkLIIZF2/XF0BRMOH3i/4ifA75CHWUN5gMVAlsR BeNlxXcm+/oA/3+6Mnkjz5CPjB3u53ykm+DvzI1KvvOc9k6FCKmzdTR2OxQVbL0ISvk8Gc 1ICmvQPE3hvK7kNsXrWQ4p6YEn5EJLYrvG/JKqEhKEEG/NXGijvJ+D0M3f2GBA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=f5FWYBpC; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=IjVqbubr; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1732386620; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ra7R3kuotp403pZI1USG80ncvKw9cW3UGfTEeAqEKpo=; b=oLug/CFm68X3x1KSWiXL3EjxF2/EJYU/UPiAyDyScvD4vM48ItAzLYPL1qHLKowtUgBy5E eagX0ZMqftu6/Lj3O/vfBqh7GpVQB/6vVlDjGRwvkWUR8HmGDq3C7ELXwbhXViwdiFDuH2 3o6me1H+ow7uPbgL/YWbABa31Q3af+4gTItp8/Yq6drJ04ds7KsHE+5R/P7lpLg/hbJiFP cNtS4kG4nIvg5yQWWKNsZI2HALtr1cfy8wPSdxrqZX6KzFSao/OjlwUMabzhf9v6yav9sV dPCJNLdHmUMq94H6GIVGEAlziJytaQHECawlwZVejGdia9UBzZoJfGmpcAkoMg== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3B8707D14C for ; Sat, 23 Nov 2024 19:30:19 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEutQ-0008HU-Re; Sat, 23 Nov 2024 13:30:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tEutP-0008G6-6l for guix-patches@gnu.org; Sat, 23 Nov 2024 13:30:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tEutO-0005x9-TY for guix-patches@gnu.org; Sat, 23 Nov 2024 13:30:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=ra7R3kuotp403pZI1USG80ncvKw9cW3UGfTEeAqEKpo=; b=f5FWYBpCxtAGTQ4ohFMw6nQbOaKgk4Gdj0igrSoFj4ErZb7cvpIwCvZ23ZAAA+MjH9B7iqK+UnNrnLNbp/gW5OB+KpwsxqQ/JwzOwm8N2iDBlJyopCGjmxybp09C+oEM50Yd/a/m69QyKeTTQmMsb6fZRz9Tci/ED67QkqINoLiFeATE7ItqAIE3xL9MxNDFx3jP+PuHVHY12tW7vH2+MInm2lcqaDtnIQSrLXz2XOAZvhu4xWlMHgkiOF1Jtb00nQpHOZ3/cl1Mxooki3qosLOX6NGphQhEhMRvQ2PN7RrNIFPTkgDg+JSVBDdmTJ1TTPxVkiu9/rz3ZzfbHwB57g==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tEutO-00064Z-NE for guix-patches@gnu.org; Sat, 23 Nov 2024 13:30:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74495] [PATCH 01/16] gnu: Add go-github-com-atotto-clipboard. Resent-From: "Artyom V. Poptsov" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 23 Nov 2024 18:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74495 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74495@debbugs.gnu.org Cc: "Artyom V. Poptsov" Received: via spool by 74495-submit@debbugs.gnu.org id=B74495.173238659523277 (code B ref 74495); Sat, 23 Nov 2024 18:30:02 +0000 Received: (at 74495) by debbugs.gnu.org; 23 Nov 2024 18:29:55 +0000 Received: from localhost ([127.0.0.1]:59031 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEutG-00063N-Hr for submit@debbugs.gnu.org; Sat, 23 Nov 2024 13:29:54 -0500 Received: from mail-lf1-f48.google.com ([209.85.167.48]:39967) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEutE-00063B-FP for 74495@debbugs.gnu.org; Sat, 23 Nov 2024 13:29:52 -0500 Received: by mail-lf1-f48.google.com with SMTP id 2adb3069b0e04-539f4fb6312so360432e87.0 for <74495@debbugs.gnu.org>; Sat, 23 Nov 2024 10:29:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732386531; x=1732991331; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ra7R3kuotp403pZI1USG80ncvKw9cW3UGfTEeAqEKpo=; b=IjVqbubrUdAobfVrCjn/VslFSD3LAFqCFsv1SAqMFrMVSYV4jUAVc0466FYKrn1JOH 60pvhmcYil3ikHCg0f/0b+WVUeJ2h+otsLIh3c+SPzvXcihTt6ot21XMnumfogTAsId3 Ec1YlY5ZqEmRTOFQxSTN5O6oJ2YShPR7De71VzoqDJndKKWQIvxBCiBGSSbng9iC9Ekz +d7JYJtPzMn9Ne+jS7n+OQCddp7vNzYfBujQJi+nVpmety9/S9LtLfb1rcjEAiHDUqk3 jIAjBm78ZGVd3Y6xj0PPTYgGVgaI+1B7yMvlWxc1uZaLhjSDPvMUYPKtBYuN7mbrGyqe unkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732386531; x=1732991331; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ra7R3kuotp403pZI1USG80ncvKw9cW3UGfTEeAqEKpo=; b=o2Fg1OkFHlN3i3lRXcDFDJ4q667bGxXXKLOF5yDHg3aVmoRnCaDipmWOucZJEAqD5z t7MV/RcEvrWmmNq01UiIvTwydy5Sm9MHWcJJQLSvO/dbD10Bdy9+HhgGWmZxesb+cqIz L/5TwTstd0FBXCt0o4IpvMUQHq5yr82CeZe76m2oKsEE/LqF6rduI35hcNg48ENXv32R B5U9tG/js6Khwft0x88hbJfd2rBBzun9999yeWw3gdc4z+z73fMlPOtcjHkYgiRlGcpf ry4wAQ/vqfkJ6g0yreup5OLzW+MmB2YMHzK8biLW8oZsP8OelhLVSnTqHv0GtjeFKav7 Zc+g== X-Gm-Message-State: AOJu0YyMr804ta9NH3aItjfwcmKOIztZ+Q/F6b4+axmiAosgiXm+exvA WXQ8PLYaGf3uVQdAGsmKaQoMBVrgQeW59cO/UFf13S9ReFrUlXLwcEWCc09C X-Gm-Gg: ASbGnctjQAaJOip2iqeqG83/STDH7C969QmCrNK8RsYUd5IOst6PSb7ZeNK1UdNsR97 ASmHtBPPj3dsVwrq7ANLPHlr+d+jtvqEEYEUgmuLICJ70/2M4ogPnoPnZ4Bln2c4tX/s8tIgVO9 x7jMb2Pr5fuiXsaAPb6+to9tkjhffsFL0z8IWJicFQnYMJmpMVeQD3Qa/UrpEBIHk2DcjYWTm3U ex5LdiN+PNkBLY2FYYZv63VleeMtihcwtxF89r26+u92NGY6UQQ X-Google-Smtp-Source: AGHT+IHFYDwOQrUyX/oH/siHGa0oiku86o0nClYckddv7ed/95X2d8onXp2b3jfueFnxhVErrXdkjQ== X-Received: by 2002:a2e:a58d:0:b0:2fb:6229:c57e with SMTP id 38308e7fff4ca-2ffa71805fdmr9307031fa.9.1732386531015; Sat, 23 Nov 2024 10:28:51 -0800 (PST) Received: from elephant.. ([95.79.145.11]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-2ffa4d1746bsm9516121fa.12.2024.11.23.10.28.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Nov 2024 10:28:49 -0800 (PST) From: "Artyom V. Poptsov" Date: Sat, 23 Nov 2024 21:28:27 +0300 Message-ID: X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.58 X-Spam-Score: -1.58 X-Migadu-Queue-Id: 3B8707D14C X-Migadu-Scanner: mx10.migadu.com X-TUID: jEOP1+bv9fvs * gnu/packages/golang-xyz.scm (go-github-com-atotto-clipboard): New variable. Change-Id: I4a871983f564034045f4b2ba77f2453cfce5cb2b --- gnu/packages/golang-xyz.scm | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 177ab8a20f..b050c285f3 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -85,7 +85,9 @@ (define-module (gnu packages golang-xyz) #:use-module (gnu packages golang-maths) #:use-module (gnu packages golang-web) #:use-module (gnu packages linux) - #:use-module (gnu packages specifications)) + #:use-module (gnu packages specifications) + #:use-module (gnu packages xdisorg) + #:use-module (gnu packages xorg)) ;;; Commentary: ;;; @@ -5735,6 +5737,37 @@ (define-public go-github-com-multiformats-go-varint varints.") (license license:expat))) +(define-public go-github-com-atotto-clipboard + (package + (name "go-github-com-atotto-clipboard") + (version "0.1.4") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/atotto/clipboard") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0ycd8zkgsq9iil9svhlwvhcqwcd7vik73nf8rnyfnn10gpjx97k5")))) + (build-system go-build-system) + (native-inputs (list xorg-server-for-tests)) + (propagated-inputs (list xclip)) + (arguments + (list + #:import-path "github.com/atotto/clipboard" + #:phases #~(modify-phases %standard-phases + (add-before 'check 'start-xorg-server + (lambda* (#:key inputs #:allow-other-keys) + ;; The test suite requires a running X server. + (system "Xvfb :1 &") + (setenv "DISPLAY" ":1")))))) + (home-page "https://github.com/atotto/clipboard") + (synopsis "Clipboard for Golang") + (description + "@code{clipboard} provides copying and pasting to the clipboard for Go.") + (license license:bsd-3))) + (define-public go-github-com-nats-io-nats-go (package (name "go-github-com-nats-io-nats-go") -- 2.46.0