From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id UBCdEaJ+ZWAuCAAAgWs5BA (envelope-from ) for ; Thu, 01 Apr 2021 10:04:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id iC2KC6J+ZWDrEQAA1q6Kng (envelope-from ) for ; Thu, 01 Apr 2021 08:04:50 +0000 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 E0683C825 for ; Thu, 1 Apr 2021 10:04:49 +0200 (CEST) Received: from localhost ([::1]:42578 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRsJs-0005rh-V4 for larch@yhetil.org; Thu, 01 Apr 2021 04:04:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60534) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRsII-00043q-B0 for guix-patches@gnu.org; Thu, 01 Apr 2021 04:03:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44645) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lRsII-0000tp-2y for guix-patches@gnu.org; Thu, 01 Apr 2021 04:03:10 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lRsII-0007rZ-0Z for guix-patches@gnu.org; Thu, 01 Apr 2021 04:03:10 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47539] [PATCH 13/28] gnu: Add go-github-com-shurcool-sanitized-anchor-name. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 01 Apr 2021 08:03:09 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47539 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47539@debbugs.gnu.org Received: via spool by 47539-submit@debbugs.gnu.org id=B47539.161726416029996 (code B ref 47539); Thu, 01 Apr 2021 08:03:09 +0000 Received: (at 47539) by debbugs.gnu.org; 1 Apr 2021 08:02:40 +0000 Received: from localhost ([127.0.0.1]:56156 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRsHn-0007nd-DK for submit@debbugs.gnu.org; Thu, 01 Apr 2021 04:02:39 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:54346 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRsHk-0007lp-Fr for 47539@debbugs.gnu.org; Thu, 01 Apr 2021 04:02:36 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1617264150; bh=Rcu1ZNVrCZBGWkDR2CcmAzX4bNy6JPgkTFq56WDIYuI=; h=From:To:Subject:In-Reply-To:References:Date; b=dLqf/7nUCC932q42Rf49mzTdoYSGqtk4XDQUgEsMdEs4NNrcYdb47nJk+TcuuxUsj iduA1q3mKwtOTzAm/5rCEjnI83u9Pa08nl9VgVi+ySlFeW57LUMr6Hds8OV9bxzfxX F9TEMDqmhKUPyW0JXGsNBHQCVIVZk3N8EV6SPjvc= In-Reply-To: References: Message-Id: <5fb9a7349d3e62ca5701c150d5a05e6d0ee4798b.1617262223.git.public@yoctocell.xyz> Date: Thu, 01 Apr 2021 10:02:30 +0200 MIME-Version: 1.0 Content-Type: text/plain 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1617264290; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: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=4znrKkWSWeDAV7WubL8F/BL0/C2LNYQavQVaQowdkPk=; b=t7Skbi1dnF4b79dcxiHjuO8u7n8FOM4HAwHrWx5NDdvEs6l+u5w3LY9l1FPWwOexAXv+2Z d+TD12afJb3BJ+uJccNnIaSnvssiq2Np3BQhJiee3V9WK52oumhFK18sr2wEygiwQ1A9vi JAAirpCrEiyJaIdkmQS3wFm5LdYdP0e7n2Bf3YPwvF4I7SGqbK2sGsAuXUBnPueSyvvV7a Vjb9djgGVZaJM2/zeZuhKAl7Oxwz8Vm0P1AntZYfSKpxrOe7vBoKlTDr2aDhVI8HEYQGpO /mLYXr+v3+9W9H/K9M9MnPBIAutSu5DkbKqQTUcMZLAlrL7Stxmsnz2MqAbVZA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617264290; a=rsa-sha256; cv=none; b=s8LJRUs1n5w+OZddXbL48+YukoLQBVLOvfrXOgc4heBeU9PAVcLreAhI4HnbTfMOrD590Z OVvlnnBAnJJY1/EgFkosrhfjabj1aRZDtD9ZCpFaRUJzKWs52vUzgB8HfSkPkMfQ0s7Dlg 1yJPKHdV1dD8gGEz1PRLIywAMQnUTDdsfSwA5vTbyiU3A+t+Co1bgi+U9N0nxnNkUE5FKy YpBSf1h+k2RqXHjYXS9V5/Om+bb0L6U9RdhFUxvf44puLKJjnuWktk4xLDfQS0WKkN5x5Q 7hy8RbNf4kg6IXY323QJFgYjq72rhSzweFkfHkREtdzyb+zfkkvdVdBwshhqEw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b="dLqf/7nU"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -0.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b="dLqf/7nU"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: E0683C825 X-Spam-Score: -0.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: zW2/fn7sWRpn * gnu/packages/golang.scm (go-github-com-shurcool-sanitized-anchor-name): New variable. --- gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index c7f2cd7083..adeaa7e88d 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -7341,3 +7341,29 @@ is fast, it supports common extensions (tables, smart punctuation substitutions, etc.), and it is safe for all utf-8 (unicode) input.") (license license:bsd-2))) +(define-public go-github-com-shurcool-sanitized-anchor-name + (package + (name "go-github-com-shurcool-sanitized-anchor-name") + (version "1.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/shurcooL/sanitized_anchor_name.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1gv9p2nr46z80dnfjsklc6zxbgk96349sdsxjz05f3z6wb6m5l8f")))) + (build-system go-build-system) + (arguments + '(#:import-path + "github.com/shurcooL/sanitized_anchor_name")) + (home-page + "https://github.com/shurcooL/sanitized_anchor_name") + (synopsis "Create sanitized anchor names") + (description "This package provides a function to create sanitized anchor +names. Its logic can be reused by multiple packages to create interoperable +anchor names and links to those anchors.") + (license license:expat))) + -- 2.31.1