From patchwork Mon Sep 26 18:43:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Kandur X-Patchwork-Id: 42994 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id DA0B427BBEA; Mon, 26 Sep 2022 20:03:53 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS,TVD_SPACE_RATIO autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 616D827BBE9 for ; Mon, 26 Sep 2022 20:03:53 +0100 (BST) Received: from localhost ([::1]:48128 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1octOS-0002D5-JF for patchwork@mira.cbaines.net; Mon, 26 Sep 2022 15:03:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40740) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oct6E-0002Vd-BA for guix-patches@gnu.org; Mon, 26 Sep 2022 14:45:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52685) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oct6D-0003qA-Tk for guix-patches@gnu.org; Mon, 26 Sep 2022 14:45:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oct6D-0004Aa-Oo for guix-patches@gnu.org; Mon, 26 Sep 2022 14:45:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58099] [PATCH] gnu: Add go-github-com-savsgio-gotils. Resent-From: Adam Kandur Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 26 Sep 2022 18:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58099 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58099@debbugs.gnu.org Cc: Adam Kandur X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166421784615947 (code B ref -1); Mon, 26 Sep 2022 18:45:01 +0000 Received: (at submit) by debbugs.gnu.org; 26 Sep 2022 18:44:06 +0000 Received: from localhost ([127.0.0.1]:51763 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oct5J-000498-Tr for submit@debbugs.gnu.org; Mon, 26 Sep 2022 14:44:06 -0400 Received: from lists.gnu.org ([209.51.188.17]:39328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oct5H-000490-9b for submit@debbugs.gnu.org; Mon, 26 Sep 2022 14:44:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35214) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oct5H-0001PR-31 for guix-patches@gnu.org; Mon, 26 Sep 2022 14:44:03 -0400 Received: from mail-lj1-x244.google.com ([2a00:1450:4864:20::244]:43877) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oct5F-0003jh-5e for guix-patches@gnu.org; Mon, 26 Sep 2022 14:44:02 -0400 Received: by mail-lj1-x244.google.com with SMTP id b6so8449140ljr.10 for ; Mon, 26 Sep 2022 11:44:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date; bh=S2RNyjV5fK7x/4y6iLy0xP8LywrUr6a46kh5k/NwTvA=; b=TwSmvZ0Vs9OVgLfgmv18Wrs9ty9XSe4v/RgHYVEXiHn04vAOi2OryWz0+fICOnawJl CrOJDuxelPWEAllbe3B5FwHh0y1DHEsYDWqnPrEzFVwhi2iDSFXmj3ZK5dQtWyFQNJ+R 3eIzyzO+zUR49at3/jpIL3TtJiD7vtDyG/tIxrQ4+DEoO1P1gJyja5+LVO+FC9ckZM5B PqdB5yedwpjoGnlHKB9AT0O0+ksOGIxSitPxewGQJtA57U0q+2gddpxkQYFpZ8BnCGc9 HYWPeSwgHJy68n3BGypQlWZ6PE6KLd8qd9bhX0wev+l9G24Lz9dYZ/xrABhMLJ8iQRgo hT8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date; bh=S2RNyjV5fK7x/4y6iLy0xP8LywrUr6a46kh5k/NwTvA=; b=VM7YGqWtMzJJLSDKuvo//7+/7FANt9V05hOZdeDHQ7Lx1hF1n7DYgCyc5vGi1leHPw kRBLYmlmqlcntlmNHpUvMiT9mJ5wKj+JPVut42xEHfwUbajxPlr9tHWsVpRKR1qoyK8c lFs2DeLVwTnUgMeObEG+Xes4uvIas8/UKfB8mVAuCF9ncZeh6FzCpZE7L0Zubsp7xWW/ FqigH+Y0uVxIy0kjnZQooUJAhMaRhHGqqdNZM9Dya9/iNG4u2wZaHEGjfMjL5jIOtb0W scKC9CZsU2anfFJdoIdCfnZ+5hb6Aq2JYEZcXNkSkWjuZEQNjhqsIw8qCf+cV7NVkUat 4iVQ== X-Gm-Message-State: ACrzQf3yp6wbArZj4wJ9F2sP59gFWODeSvmPgsQ/sFYPQIovEzh1zugb 0nD6SVci7TwVyiiW4KiH2xA7/8zXs10= X-Google-Smtp-Source: AMsMyM7hfdo3WRqjY3fPaBV1u61U61MyNOLCoBvm6ptZ3pbAM/b8aHpAlhVWax898PC3KhDddklA8w== X-Received: by 2002:a2e:a595:0:b0:26c:50ec:ede7 with SMTP id m21-20020a2ea595000000b0026c50ecede7mr7659944ljp.174.1664217838667; Mon, 26 Sep 2022 11:43:58 -0700 (PDT) Received: from localhost.localdomain (79-139-128-112.dynamic.spd-mgts.ru. [79.139.128.112]) by smtp.googlemail.com with ESMTPSA id y29-20020a19641d000000b0048b1b2233ddsm2604323lfb.120.2022.09.26.11.43.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Sep 2022 11:43:58 -0700 (PDT) From: Adam Kandur Date: Mon, 26 Sep 2022 21:43:45 +0300 Message-Id: <20220926184345.802-1-kefironpremise@gmail.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::244; envelope-from=kefironpremise@gmail.com; helo=mail-lj1-x244.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, TVD_SPACE_RATIO=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-github-com-savsgio-gotils): New variable. --- gnu/packages/golang.scm | 77 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 29a11a4..af6a66a 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -1215,6 +1215,83 @@ (define-public go-github-com-schachmat-ingo configuration file.") (license license:isc))) +(define-public go-github-com-savsgio-gotils + (let ((commit "52f3993e8d6d2629f18e7b7383b7f54a3d3f1d1f") + (revision "0")) + (package + (name "go-github-com-savsgio-gotils") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/savsgio/gotils") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0qr7i62h53frcig26vj027r2hn9zxsjzd7113wvbxy7qpprjjbjb")))) + (build-system go-build-system) + (native-inputs + (list go-github-com-google-uuid + go-github-com-valyala-bytebufferpool)) + (arguments + '(#:import-path "github.com/savsgio/gotils" + #:phases + (modify-phases %standard-phases + (replace 'build + (lambda arguments + (for-each + (lambda (directory) + (apply (assoc-ref %standard-phases 'build) + `(,@arguments #:import-path ,directory))) + (list + "github.com/savsgio/gotils/bytes" + "github.com/savsgio/gotils/encoding/base64" + "github.com/savsgio/gotils/math" + "github.com/savsgio/gotils/nocopy" + "github.com/savsgio/gotils/strconv" + "github.com/savsgio/gotils/strings" + "github.com/savsgio/gotils/sync" + "github.com/savsgio/gotils/time" + "github.com/savsgio/gotils/uuid")))) + (replace 'check + (lambda arguments + (for-each + (lambda (directory) + (apply (assoc-ref %standard-phases 'check) + `(,@arguments #:import-path ,directory))) + (list + "github.com/savsgio/gotils/bytes" + "github.com/savsgio/gotils/encoding/base64" + "github.com/savsgio/gotils/math" + "github.com/savsgio/gotils/nocopy" + "github.com/savsgio/gotils/strconv" + "github.com/savsgio/gotils/strings" + "github.com/savsgio/gotils/sync" + "github.com/savsgio/gotils/time" + "github.com/savsgio/gotils/uuid")))) + (replace 'install + (lambda arguments + (for-each + (lambda (directory) + (apply (assoc-ref %standard-phases 'install) + `(,@arguments #:import-path ,directory))) + (list + "github.com/savsgio/gotils/bytes" + "github.com/savsgio/gotils/encoding/base64" + "github.com/savsgio/gotils/math" + "github.com/savsgio/gotils/nocopy" + "github.com/savsgio/gotils/strconv" + "github.com/savsgio/gotils/strings" + "github.com/savsgio/gotils/sync" + "github.com/savsgio/gotils/time" + "github.com/savsgio/gotils/uuid"))))))) + (home-page "https://github.com/savsgio/gotils") + (synopsis "Golang utlities") + (description + "Golang utlities to make your life easier with zero allocations.") + (license license:asl2.0)))) + (define-public go-github-com-riobard-go-bloom (let ((commit "cdc8013cb5b3eb0efebec85f0e904efccac42df9") (revision "0"))