From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id QJMIM+5+SGM1ZgAAbAwnHQ (envelope-from ) for ; Thu, 13 Oct 2022 23:11:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id YOpLMu5+SGNBbQEAG6o9tA (envelope-from ) for ; Thu, 13 Oct 2022 23:11:10 +0200 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 949377FBA for ; Thu, 13 Oct 2022 23:11:10 +0200 (CEST) Received: from localhost ([::1]:41558 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oj5Tx-0007xK-RB for larch@yhetil.org; Thu, 13 Oct 2022 17:11:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58610) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oj5Tq-0007wx-IV for guix-patches@gnu.org; Thu, 13 Oct 2022 17:11:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36108) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oj5Tq-0008St-9t for guix-patches@gnu.org; Thu, 13 Oct 2022 17:11:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oj5Tp-0005wD-Vi for guix-patches@gnu.org; Thu, 13 Oct 2022 17:11:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58340] [PATCH v2] gnu: Add age and its modules. References: <87czb4naqr.fsf@ngraves.fr> In-Reply-To: <87czb4naqr.fsf@ngraves.fr> Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 13 Oct 2022 21:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58340 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 58340@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 58340-submit@debbugs.gnu.org id=B58340.166569544322791 (code B ref 58340); Thu, 13 Oct 2022 21:11:01 +0000 Received: (at 58340) by debbugs.gnu.org; 13 Oct 2022 21:10:43 +0000 Received: from localhost ([127.0.0.1]:35186 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oj5TX-0005vX-FN for submit@debbugs.gnu.org; Thu, 13 Oct 2022 17:10:43 -0400 Received: from 14.mo581.mail-out.ovh.net ([178.33.251.19]:51111) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oj5TT-0005vA-1h for 58340@debbugs.gnu.org; Thu, 13 Oct 2022 17:10:41 -0400 Received: from player696.ha.ovh.net (unknown [10.110.103.177]) by mo581.mail-out.ovh.net (Postfix) with ESMTP id C9F7624D86 for <58340@debbugs.gnu.org>; Thu, 13 Oct 2022 21:10:37 +0000 (UTC) Received: from ngraves.fr (met42-h01-213-44-161-47.dsl.sta.abo.bbox.fr [213.44.161.47]) (Authenticated sender: ngraves@ngraves.fr) by player696.ha.ovh.net (Postfix) with ESMTPSA id 4E790258086EB; Thu, 13 Oct 2022 21:10:36 +0000 (UTC) X-OVh-ClientIp: 213.44.161.47 Date: Thu, 13 Oct 2022 23:10:31 +0200 Message-Id: <20221013211031.22485-1-ngraves@ngraves.fr> X-Mailer: git-send-email 2.38.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 9136959220685005538 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrfeektddgudeiudcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofggtgfgsehtkeertdertdejnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnheptdeiieegtedtkefgueeuiefhvdejffeggeegfefhjeejtdegiedugffhgeelgedvnecuffhomhgrihhnpehgihhthhhusgdrtghomhdpfhhilhhiphhpohdrihhopdgrghgvqdgvnhgtrhihphhtihhonhdrohhrghenucfkphepuddvjedrtddrtddruddpvddufedrgeegrdduiedurdegjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepheekfeegtdesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekuddpmhhouggvpehsmhhtphhouhht 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" Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches From: Nicolas Graves via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665695470; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: 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; bh=zNAqfzGT2+4kbyBrWffZWtB51wVdyC5inz1VunbQ5c0=; b=hyZt6vzy88UnmUN9exOcdQ5zMkhRvkMfYf0jadaqjs1ULuD7y7b5hPaojBL+iUWFJCquoQ vLhommuf4ddM3oQFnULcljRWjrJU5NNextAh7o0jcOgH/SBwQntpjsT1VMmApldWgnlp/T xJYscpF3xdR8oC8dlbIGn+Y4pNLXYccwcOq8jvaDWRXsIPEHVQiaCj8rHj7UWqMPvjLubh 4bQfI9DfAGN86w4mAcFq38KwMnCU6QRNWCzXakvRiiKlF0Tbq2isK1MVGB/xLIgB0GURvh SRnNLp4ZmuGtiyEZi1C+stjSf6FerugL6z5MxdeKgi5B2ZuQmWOhgpFZcndljw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665695470; a=rsa-sha256; cv=none; b=ug2+mwJ6rcfYp+PiWUl0CrWK1DAI/svYqz+Jya8vAnqMEISOeBo0cO4+weKEYCLMK2BZq7 4OX9dJIfQmqZRoyQs2wHmK3FlEyZRcG6j6/VU3DqtQXZ2GjMYGUCg7IEqE1ELdwf5WwgHT EN66o1nbzLFltyaheEY+bbIKZDddNrINrmHM1nobYKFP4ce+fEuNQoU3fSpJd/SASxGpNb cqatiEg0906dE2dbBns3XW9u18ZfO0kkhWReE5siqgsxCnw5tirReHQytjMrbsip9vnfIu wkuDbAEfD7lS9GeoXzqcZedQD4bpbvd+uJJr1pK9gLj6xz2ED3xxydb8UPYG6Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Spam-Score: -3.20 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Queue-Id: 949377FBA X-Spam-Score: -3.20 X-Migadu-Scanner: scn0.migadu.com X-TUID: /CsYEiLvUTTJ * gnu/packages/golang.scm (age): New variable. (go-filippo-io-cmd-age): New variable. (go-filippo-io-cmd-age-keygen): New variable. --- gnu/packages/golang.scm | 51 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index f404adc646..b9ac942702 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -36,6 +36,7 @@ ;;; Copyright © 2022 Pier-Hugues Pellerin ;;; Copyright © 2022 muradm ;;; Copyright © 2022 Dhruvin Gandhi +;;; Copyright © 2022 Nicolas Graves ;;; ;;; This file is part of GNU Guix. ;;; @@ -950,6 +951,56 @@ (define-public go-filippo-io-edwards25519 the necessary APIs to build a wide array of higher-level primitives.") (license license:bsd-3))) +(define-public age + (package + (name "age") + (version "1.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/FiloSottile/age") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "19fz68n262kvg2ssw4r6nik30zk6g6cy7rdi0fm05czwigqrdz1i")))) + (build-system go-build-system) + (arguments `(#:import-path "filippo.io/age")) + (inputs + (list go-golang-org-x-sys + go-golang-org-x-term + go-golang-org-x-crypto + go-filippo-io-edwards25519)) + (propagated-inputs + (list go-filippo-io-cmd-age + go-filippo-io-cmd-age-keygen)) + (home-page "https://filippo.io/age") + (synopsis "Secure file encryption tool, format, and Go library") + (description + "This package implements file encryption according to the +@code{age-encryption.org/v1} specification. It features small explicit keys, +no config options, and UNIX-style composability.") + (license license:bsd-3))) + +(define-public go-filippo-io-cmd-age + (package + (inherit age) + (name "go-filippo-io-cmd-age") + (propagated-inputs '()) + (arguments + `(#:import-path "filippo.io/age/cmd/age" + #:unpack-path "filippo.io/age" + #:install-source? #f)))) + +(define-public go-filippo-io-cmd-age-keygen + (package + (inherit go-filippo-io-cmd-age) + (name "go-filippo-io-cmd-age-keygen") + (arguments + `(#:import-path "filippo.io/age/cmd/age-keygen" + #:unpack-path "filippo.io/age" + #:install-source? #f)))) + (define-public go-0xacab-org-leap-shapeshifter (let ((commit "0aa6226582efb8e563540ec1d3c5cfcd19200474") (revision "12")) -- 2.38.0