From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id iNoEIE2q+WKWeAEAbAwnHQ (envelope-from ) for ; Mon, 15 Aug 2022 04:07:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 2Mf+H02q+WIbdgEAauVa8A (envelope-from ) for ; Mon, 15 Aug 2022 04:07:09 +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 33AF32EADF for ; Mon, 15 Aug 2022 04:07:09 +0200 (CEST) Received: from localhost ([::1]:45084 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oNPVT-0003CK-UW for larch@yhetil.org; Sun, 14 Aug 2022 22:07:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41760) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNPVO-0003CB-VB for guix-patches@gnu.org; Sun, 14 Aug 2022 22:07:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50391) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oNPVO-0005TR-Mp for guix-patches@gnu.org; Sun, 14 Aug 2022 22:07:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oNPVO-0003WW-GB for guix-patches@gnu.org; Sun, 14 Aug 2022 22:07:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57221] [PATCH] gnu: Add python-nanoid. Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Aug 2022 02:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57221 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57221@debbugs.gnu.org Cc: jgart X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166052916313475 (code B ref -1); Mon, 15 Aug 2022 02:07:02 +0000 Received: (at submit) by debbugs.gnu.org; 15 Aug 2022 02:06:03 +0000 Received: from localhost ([127.0.0.1]:40140 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNPUQ-0003VH-Lp for submit@debbugs.gnu.org; Sun, 14 Aug 2022 22:06:02 -0400 Received: from lists.gnu.org ([209.51.188.17]:60602) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNPUO-0003Us-Qh for submit@debbugs.gnu.org; Sun, 14 Aug 2022 22:06:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41640) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNPUO-00033Z-M0 for guix-patches@gnu.org; Sun, 14 Aug 2022 22:06:00 -0400 Received: from mx1.dismail.de ([78.46.223.134]:6255) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNPUM-0005Q9-9g for guix-patches@gnu.org; Sun, 14 Aug 2022 22:06:00 -0400 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id e29842d2 for ; Mon, 15 Aug 2022 04:05:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; s=20190914; bh=43B9LuBdwx19MEmvQvinafcbT7BZkHllTg8UjDLynZc=; b= bRkviqI4HdtLYlavl+c59kYFFKCGJqVTB2BNI4LraPf2FRwAJ3XU2CcqeMI6+KeI 489sCCalqMAkg4wudzilhxcNvS+L7j7ElD6354CTyMRfI+QHM5sKbFg0igwJ30L5 MaXY4sbQGtpqZQgepBw0BD/tHN2vG2nTqu1ypuiAbYeNUXpLBSVi1TcPE92x+FB8 i17x/MUjwse9r8fzCVGD+PZE6wBm2LRWaTIFD78xf2mOOCPgt4kD2XZY5OmppOxh GFLRHpJIAIOuyYRDPZ+HdJ3di8Ui7hplMqQIDHlcNZnbrsKZjgVWNyK/qFc7O8k8 HM7b+GLmuZfOBuGkcvzACA== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 31552fa3 for ; Mon, 15 Aug 2022 04:05:55 +0200 (CEST) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id 1050ab78 for ; Mon, 15 Aug 2022 04:05:55 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 6150c61e (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Mon, 15 Aug 2022 04:05:49 +0200 (CEST) Date: Sun, 14 Aug 2022 21:05:53 -0500 Message-Id: <20220815020553.29149-1-jgart@dismail.de> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=78.46.223.134; envelope-from=jgart@dismail.de; helo=mx1.dismail.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: jgart X-ACL-Warn: , jgart via Guix-patches From: jgart via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1660529229; 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-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=mrEhuwqdVgRVfwBrZpXHrPTJKcgXXqh7v9otDn5Ai6c=; b=ZcrKp9rxrD5DKnivqRkstKlCYhDR71lubXB0zdQBobzmh3fUmWqRI0Lnsf6Hn8QYs1RFWK 9P30r82BLXKPDzlgvIQ7mEwVhy2XZf3OeywvK1yf1JHzx+FP/bX9u4gdrtxbJBGAwyubBl 5D1aRC3MttevdxtLDq/7eAXet04C5YV/E11nQb3BeQjsfwWsaUvp87v0JHk8DrIIOwKd/S GkK7ybLKdVjDOvlHhYx72lKHh1KCYSGN/hri+YnwIjGM0qulgTLE+5haFzbsJTxUY1hwgu +OY9h2QCYh5if3l7ldBj7XxTgTZoWdGpG03usjyg1y3FDwFzZdezPpLC2FZwew== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660529229; a=rsa-sha256; cv=none; b=rphQYS0pN+YrxB6Lyg7vIQFPDYM+rlGrl5BSogU/7oqhcf8M34SdjB9oriRyEVviOcVsB4 IVyLgGlau8MsfBIhDLaeqUZsnwP1TBTJpuQvlzqFTuMv/jrepOBNTX4HDiFFFyn0EMw0MR 0/Hkp8f6wLmVgpXocvWOltBpb0z9sg2mG6WELElCEAsUGopwaFFVm5YEJjHOB1IaCeQgWR 7l8860fSmUK7QFAOzxJ3Bx2qPXaHxE8S4VzjGTK1VpEjtmT28f+4/UBWcJHOxRMldrKeFH dER8W6/fmKfwL/OxhITzauEF2DhlwzNIiNLyyIZ6qJmWYLBxk+9n2qpWO06a4A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=bRkviqI4; 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: -4.26 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=bRkviqI4; 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: 33AF32EADF X-Spam-Score: -4.26 X-Migadu-Scanner: scn0.migadu.com X-TUID: Id9X3TRdzQqB * gnu/packages/python-xyz.scm (python-nanoid): New variable. --- gnu/packages/python-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 13ab2f2c8b..2122db30c6 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -30531,6 +30531,39 @@ (define-public python-types-orjson etc. to check code that uses @code{orjson}.") (license license:asl2.0))) +(define-public python-nanoid + ;; There are no tests on PyPi. + (let ((commit "061f9a598f310b0e2e91b9ed6ce725a22770da64") + (revision "0")) + (package + (name "python-nanoid") + (version "2.0.0") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/puyuan/py-nanoid") + (commit commit))) + (file-name (git-file-name name commit)) + (sha256 + (base32 "0y1bcw0h27g8rkqq7cp33ywn0i0lp0q3rjixzkh4191y1dp9yf8s")))) + (build-system python-build-system) + (native-inputs (list python-pytest)) + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? inputs outputs #:allow-other-keys) + (when tests? + (invoke "pytest"))))))) + (home-page "https://github.com/puyuan/py-nanoid") + (synopsis "Unique string ID generator") + (description +"This package provides a tiny, secure, URL-friendly, unique string ID +generator for Python") + (license license:expat)))) + (define-public python-misskey (package (name "python-misskey") -- 2.37.2