From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id mJxkOdAPTGcAfQEAqHPOHw:P1 (envelope-from ) for ; Sun, 01 Dec 2024 07:27:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id mJxkOdAPTGcAfQEAqHPOHw (envelope-from ) for ; Sun, 01 Dec 2024 08:27:13 +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=SKeDSZit; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=SCxJeEe2; 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=1733038032; a=rsa-sha256; cv=none; b=rlEuRH+oirU4w0n65pR+X6rf0s4HXBX+qLwmyL8mMFdC63HOzYSSiFMvGstkaoaciQeIMW jaChY2tsgVUAZBVKUSkugWJZ2sxotdek1henNXr0wr6cIxicJfGGrjB1yIRiQavlwN6aHy IN45u5cNtTLKH4oTUL1SGxEJnLQowZz5zBSCVCXna6YQGxL7Q088glhSCvZun6I5bkjG8h th6SVAC2OJa5KIEnZhmJt2yah82BsrDKYEm5QVvnHigWeWWOhdTsgDuBJCFPuV/VyLWFQs Jj+VkIWFm+c5FltSeKExwOgafALgl1Oyzd6AQ2WnoVycq+KZZklU/ME7BPvjwA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=SKeDSZit; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=SCxJeEe2; 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=1733038032; 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=zehosCpjqj2J5dtNut8CNGiyPyY4ytCZVfOpv8uFFks=; b=qVQdDsfnubOP3FsO2TXMUWSAeoZEr+JvP+o54xzeYDEN0s5iWfeRw2Me2H7wxCqJ5alBbm NLIMcOqEs+ZPfSt4OD+qArwqvqfyxq/cEsT8bHyoV43XDlizRTmk1Q6ItyZvObMWQOzYOd kDNqiR8dIlpP0l2Y442e+MOTwzu2rWHj0dGeOc8jX4E+kIWD9Zo/O7CRcbMeFcXXpUiTT5 I8pExzk5ykCSC4yCED2jKWOoCnP1HfxT+XoVg9w+e6PSHcCFtUoOm7x0ZGVsFCU2hBRWnG Hqsd9+W5dNBT+lP3V2jL1NunmFYDl4yKlHPb2RF/nKDj+U9PGPetExHCAO1FYg== 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 882AE4AAC for ; Sun, 01 Dec 2024 08:27:12 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tHeLI-0001WZ-EQ; Sun, 01 Dec 2024 02:26:08 -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 1tHeLF-0001Uo-39 for guix-patches@gnu.org; Sun, 01 Dec 2024 02:26:05 -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 1tHeLD-0007NK-Gz for guix-patches@gnu.org; Sun, 01 Dec 2024 02:26:04 -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:Date:From:To:In-Reply-To:References:Subject; bh=zehosCpjqj2J5dtNut8CNGiyPyY4ytCZVfOpv8uFFks=; b=SKeDSZitK00S2RqpeDjAcOrJT8r2obyAoadMD6qZIc2JnYawIbSvrd9gvCqteIgxXB0TR92rtSzF7YATygSF//qiKfHcbnt+iEkwQtp06uJxjdc8nX+HER6Wf+zvhtnDbtuXwufT0SxTSqWI2pERbRg9rP2eB/pvcnxr8ZaEtmAT3JPoMAGT7tbA1V+GKmdanqxZDFqxK8FhEMjftvFIGseSdAbyg8Hk3Q6w2cHpl68UOcgEFbNYr5fhBRu3o3wyOepjlMJy7/3C/qIeY38jt5WCw8ZJ/DcmvDsRo43ckhhNbg+UmY7Ui8FrjZMGr8on797aMLRnjnVep9m3P9P54g==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tHeLC-0007nC-D9 for guix-patches@gnu.org; Sun, 01 Dec 2024 02:26:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74495] [PATCH v3 01/15] gnu: Add go-github-com-atotto-clipboard. References: In-Reply-To: Resent-From: "Artyom V. Poptsov" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 01 Dec 2024 07:26: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" , Sharlatan Hellseher Received: via spool by 74495-submit@debbugs.gnu.org id=B74495.173303790629334 (code B ref 74495); Sun, 01 Dec 2024 07:26:02 +0000 Received: (at 74495) by debbugs.gnu.org; 1 Dec 2024 07:25:06 +0000 Received: from localhost ([127.0.0.1]:50022 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHeKF-0007cn-3l for submit@debbugs.gnu.org; Sun, 01 Dec 2024 02:25:05 -0500 Received: from mail-lf1-f48.google.com ([209.85.167.48]:41447) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHeKD-0007cF-2D for 74495@debbugs.gnu.org; Sun, 01 Dec 2024 02:25:01 -0500 Received: by mail-lf1-f48.google.com with SMTP id 2adb3069b0e04-53ddf9abc5dso545883e87.1 for <74495@debbugs.gnu.org>; Sat, 30 Nov 2024 23:25:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733037840; x=1733642640; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=zehosCpjqj2J5dtNut8CNGiyPyY4ytCZVfOpv8uFFks=; b=SCxJeEe2WtanCb63qAnqa9GjCPElTWqRJ3oLh7zmKNohXMdzQB8ZbiHtyAEjs0ZByZ CQu0HuutEJTlJuxB/ic7mzdrDtoi3z9tK6CHrNppVNpYFjqSeOKtfPgszoqBuvVNM8y/ GOD3V6ruyewVNFkhDOmz6XyAlngzk7XiIZvJqZibkhxTBPDlntDU94A2TLli9aluebJP WQXlevHW9FYMs8Ss8CSKJn36e9Dan5tKbplEKqoB2mf3ND247vqVrtXMswL7veRwJuI0 GH4jXSkDBSEOpwhAOSBiz1YXour7YedJSmWfb9ICkKRlpED0If6RIsGjTKfdmjgJBfyA gVLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733037840; x=1733642640; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=zehosCpjqj2J5dtNut8CNGiyPyY4ytCZVfOpv8uFFks=; b=BPp60qeTHN5iPybrfkzDiCjyzi359MZYfajc1Qd0EE1HDPt9tISdOQL9XaI8KPJuWW x5YCun/1UF14l51zFnIOWHVH70PhCT2vhpTvvNXyNVaNKJjQmAcrmhS/IYBpwyLvX0HR NPTuhuCW2Xd6EhfQFXYNxUB3QfCfzUTFRCgX5ujnSMCTl7kR8ktp2ohBx5KtlgysfCfJ CG3Gqx3W7qAAWeFh1SLgIMBwI3FcTCO6nAemOUduAj9tBoq32Zmi91KaVdeeoUbiin62 eu09GMV25TVDNi9PZR8uYp5D+jw9hraJyhOVywIZdM/dCv61L8kerXwTulWxoFChcofP Kq3A== X-Gm-Message-State: AOJu0YxKQYBx4KsynJsIyDh1xl43NyaBbQg1ZDlm2rKRwrw5gi/JpBnt +9VhhP3MFCo0oMJ2XMU7R4vXplOSTCChUskuqnhgTuxERfhno7QhlY4+noP2 X-Gm-Gg: ASbGncv6IL7OIAeXkBpAT5i0Gs3NM8GkFSpEel2OVO46TnGhOqyX6KnDcYrBxqGt4bx efB/1hg6gw+4mOf7jGc2SaC3vNBaqihvAHkFKN10PFvt08vOjNUV2si/IYRvTudklsUhdJfGGS9 PsQ2tJ2cF80gDnJgkOUKTkNwg82cYkLmZPSy8BL42evQTLQrmpTRNDqFjEj8ajKvBC8ToUYrLFS QnkQHINP8E7GVElomdR6HtxWmaNI64uT6N7mZ0bRS68I0Xv+AWA X-Google-Smtp-Source: AGHT+IEC4Y+tsWmUP3idvRiNfocqfIdgaGBziLp+fls0gMxHGKcVfsPQN3TePYW+moBLoN6bTpBCIg== X-Received: by 2002:a05:651c:b21:b0:2f7:5c23:98fb with SMTP id 38308e7fff4ca-2ffd60dbc52mr22710861fa.10.1733037839262; Sat, 30 Nov 2024 23:23:59 -0800 (PST) Received: from elephant.. ([95.79.11.131]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-2ffdfc74f88sm8579651fa.72.2024.11.30.23.23.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Nov 2024 23:23:57 -0800 (PST) From: "Artyom V. Poptsov" Date: Sun, 1 Dec 2024 10:23:37 +0300 Message-ID: <70fd8cbea4aa384418b66083166f78acc2774182.1733037809.git.poptsov.artyom@gmail.com> X-Mailer: git-send-email 2.46.0 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 882AE4AAC X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -9.08 X-Spam-Score: -9.08 X-TUID: Qh0YrqqK+MRl * gnu/packages/golang-xyz.scm (go-github-com-atotto-clipboard): New variable. Change-Id: I4a871983f564034045f4b2ba77f2453cfce5cb2b Reviewed-by: Sharlatan Hellseher --- gnu/packages/golang-xyz.scm | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 1dc7849edb..daafc1285c 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: ;;; @@ -981,6 +983,39 @@ (define-public go-github-com-asaskevich-govalidator @url{https://github.com/chriso/validator.js,validator.js}.") (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) + (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")))))) + (native-inputs + (list xorg-server-for-tests)) + (propagated-inputs (list xclip)) + (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-audriusbutkevicius-recli (package (name "go-github-com-audriusbutkevicius-recli") base-commit: 10e99250f49d40563619c849b0d4ada31f985991 -- 2.46.0