From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.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 qBNwLlRGumbDTQAAqHPOHw:P1 (envelope-from ) for ; Mon, 12 Aug 2024 17:28:52 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id qBNwLlRGumbDTQAAqHPOHw (envelope-from ) for ; Mon, 12 Aug 2024 19:28:52 +0200 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=ryWPnaiE; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=Xn+zIxaM; 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"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1723483732; 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=6ZThleq7xLIOvOY++i3x0WB1BVHU0LyCp9ngMkTU8l8=; b=OVDm2TA/wx9Hl1oXcNojM5VY37fzc425A/LISoK1WVUEiDFYYeV5kNHAVr2fZB79HQ4ohU wxu6mPpo+2V4gB95ee3OorAn8s5Por+yppMx1T33W4Vjl79Ov9ks8sIX6+v7xrDtQZk1V6 I2MN8ttaFSHRg2/sko2FiRp34lujVNfhCmOQu2y2H1i+LbimhEFmgw2LgzTvmcp3qWeaLa jVhlnu+bDYTAaso/EduGBo//QEhN+x+TzC4a8v6eb+pfsndejX3gpZqtNeIeZW4vKqhILf fbAtS19rPL5rTjUE0J2dd3kpqN5QCY2lrUwxUWjPkWKeCRssTK+e7l6D7WtUeA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=ryWPnaiE; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=Xn+zIxaM; 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"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1723483732; a=rsa-sha256; cv=none; b=n52QQjAZL2VI8YoUstBHYrtFo+YjhlI1BccUgQZzEHpp7So6GUhnZwy+0yBoPbBhA5PcPK k2i5xUu3Ow7vGQ1LNfAYG495qS+5gwUJvPEXhn+nYHHYXPuPNfZfajF2HRGcVI3/YkP+UL pj+o1zDhi8cKeUEp76hDX2N0fkd1fKeoKhRELwPnVIKBqXVFGd0zxulHlATFA4vqyJrvsk wFj9YDS2z2dodwvt+O6gHV/FnvfbmLexzPQY+GHlgCFTNBOuSfbvMkmYVaZQ1hwzRO4nb3 8z9OBU9WM76pay21qaB5omB8mR4GJUd8Eo2C/ZqwuPgnXX0vCq9WEUxUVqI97Q== 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 894CF25D9F for ; Mon, 12 Aug 2024 19:28:52 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sdYqN-00063s-Gu; Mon, 12 Aug 2024 13:28:31 -0400 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 1sdYqL-00061L-SR for guix-patches@gnu.org; Mon, 12 Aug 2024 13:28:29 -0400 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 1sdYqL-0001XY-JU for guix-patches@gnu.org; Mon, 12 Aug 2024 13:28:29 -0400 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=6ZThleq7xLIOvOY++i3x0WB1BVHU0LyCp9ngMkTU8l8=; b=ryWPnaiEI3b0Y7u5bZAN/KBGCp1cZg4Pq+mTEEYVgfk/PPwVQi0JS56A87G9BkiTRw1j1kmE4n5qBFBd1iice8pqKuOLPxx4zOTY2q8Gh66enfDzwuN+NAJj0Bit3tjztawQ9NP+PjcvGt6oCvTA++DeFenZJxFOIlIn1o39JaVSpX+sj5EiJ0ETize/Ny5wZQ0O++1nmGSZZH35d5tiUMLsxtwO6P3IS+kQSI/FUMZZBt2aD3K+JMTl0yJTK7e0R0YQX/vjGvfMGW9oejXWEJU5NCffmY47ekwthBh7rE9OVNL59vU0guxbVtqKofGI53u+kWLWGYrh90szFn+wAw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sdYqr-0004vE-QO for guix-patches@gnu.org; Mon, 12 Aug 2024 13:29:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72594] [PATCH 1/7] gnu: Add go-github-com-gofrs-flock. Resent-From: "Artyom V. Poptsov" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 12 Aug 2024 17:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72594 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72594@debbugs.gnu.org Cc: "Artyom V. Poptsov" Received: via spool by 72594-submit@debbugs.gnu.org id=B72594.172348369518767 (code B ref 72594); Mon, 12 Aug 2024 17:29:01 +0000 Received: (at 72594) by debbugs.gnu.org; 12 Aug 2024 17:28:15 +0000 Received: from localhost ([127.0.0.1]:43738 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sdYq7-0004sc-CA for submit@debbugs.gnu.org; Mon, 12 Aug 2024 13:28:15 -0400 Received: from mail-lf1-f53.google.com ([209.85.167.53]:45200) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sdYq4-0004s0-M5 for 72594@debbugs.gnu.org; Mon, 12 Aug 2024 13:28:13 -0400 Received: by mail-lf1-f53.google.com with SMTP id 2adb3069b0e04-52f025ab3a7so793557e87.2 for <72594@debbugs.gnu.org>; Mon, 12 Aug 2024 10:27:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723483594; x=1724088394; 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=6ZThleq7xLIOvOY++i3x0WB1BVHU0LyCp9ngMkTU8l8=; b=Xn+zIxaMmuWluUaxBgVnjafVPC811OtfEmRaWbnJcLtLsoXo4E5OX72ZQmfDI+NIBQ fulrfkd/nHSYGjiIS5jvCP8AeOtCyrz3rCOhTOByNxg7d4+C0KC5k6cVypiwsNzl3KCg 0trEkHO0hhvtoT7VPVFcFees7MzYiDjs8ZaECWdlFSb6BL9VXPmGWk1MyKitB5KSO+Xe dDFPZbbZgScB1djFmGjAZNbMZY4m2V9tL8MzO6LFgJ5QgiogSVL3HeYrHJw0j/eUb4Tz ZbOy5atm2S18cTUacR7nKzJD98EXEFofDNhb106/D3MMu/rQR7FsOK9qCWmaPkTOA17x GSZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723483594; x=1724088394; 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=6ZThleq7xLIOvOY++i3x0WB1BVHU0LyCp9ngMkTU8l8=; b=IYOaLhvYptTgVfjpekB+LnEiOYXZ7EzaA+J6F4G+0AmysOHcaMO0HAWM0NFcigaKLi U6vnAOfPFphvtgtexyFAg+kJqGxFjlWKc4oSEbqrwzSOalde6xQgQpk7YFWyeilG+F8e QjsPoo4gNpobaMlUVnJPlHiTmuv2hQkfqLhbjUtEFd6fr/oXx8rZcRPz/aQqZBQUR8ad E4WTfXD8We8EdZE+rxwSuyhxnFUi/Ofn5Jch8odCqvTdaj+3xVE3ektE+WUPTScrOlsf nMddpDtnKwK5au0cNyVQETMu/lQV/nseiZzKtxaNf2Z2t9GWlCG79Cm10dRdycqHS54B +s0w== X-Gm-Message-State: AOJu0Yzd2998MFX5Qw59Xr/i1SD297FTPLmocQ2loT5mCO58A8HYEvNu Wftlqv+lgaPikySkgAxVMvJs0svOwchrTKiQZMwBTSf9f6GEwQhaUiDPEfmnFy4= X-Google-Smtp-Source: AGHT+IHFsKKVUf6jxlKTTGZ1c/e/bCyI/1fYOKBb7jM2nhanJL5UpO8/q+PgsYZ+VYNmOE9DCIqmJg== X-Received: by 2002:a05:6512:131b:b0:52b:c1cc:51f1 with SMTP id 2adb3069b0e04-532136582e5mr574224e87.23.1723483593234; Mon, 12 Aug 2024 10:26:33 -0700 (PDT) Received: from elephant.. ([95.79.70.170]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53200f121a5sm784045e87.137.2024.08.12.10.26.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Aug 2024 10:26:32 -0700 (PDT) From: "Artyom V. Poptsov" Date: Mon, 12 Aug 2024 20:26:23 +0300 Message-ID: <4a9952c6c7486f38bd83fe9962ce43fa35699f5e.1723483365.git.poptsov.artyom@gmail.com> X-Mailer: git-send-email 2.45.2 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-Spam-Score: -4.99 X-Migadu-Queue-Id: 894CF25D9F X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -4.99 X-TUID: j1TUm57+zVBq * gnu/packages/golang.scm (go-github-com-gofrs-flock): New variable. Change-Id: If6856319258ec93f4119f4f7ec79d206d7e1087d --- gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 799a7d75ce..e74c50f2e7 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -2556,6 +2556,33 @@ (define-public go-github-com-gizak-termui mouse, and terminal resizing events.") (license license:expat))) +(define-public go-github-com-gofrs-flock + (package + (name "go-github-com-gofrs-flock") + (version "0.12.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/gofrs/flock/") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0kfnbcahr9x61k40wsrqzxxr3ybix0jqsm4ibpjgnhfgrln7ag8v")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/gofrs/flock")) + (native-inputs (list go-github-com-stretchr-testify)) + (propagated-inputs (list go-golang-org-x-sys)) + (home-page "https://github.com/gofrs/flock/") + (synopsis "Thread-safe file locking library in Go") + (description + "@code{flock} implements a thread-safe file lock. + +It also includes a non-blocking @code{TryLock} function to allow locking without +blocking execution.") + (license license:bsd-3))) + (define-public go-github-com-golangplus-fmt (package (name "go-github-com-golangplus-fmt") -- 2.45.2