From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id GC02B7rqcmOh5QAAbAwnHQ (envelope-from ) for ; Tue, 15 Nov 2022 02:26:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id gKwXB7rqcmPaZgAAauVa8A (envelope-from ) for ; Tue, 15 Nov 2022 02:26:18 +0100 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 BADFF3E9FD for ; Tue, 15 Nov 2022 02:26:17 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ouiqW-0003CJ-Qd; Mon, 14 Nov 2022 18:26:32 -0500 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 1ouihW-0001BG-WE for guix-patches@gnu.org; Mon, 14 Nov 2022 18:17:20 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ouihL-0002k0-To for guix-patches@gnu.org; Mon, 14 Nov 2022 18:17:08 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ouihL-0000Ua-P2 for guix-patches@gnu.org; Mon, 14 Nov 2022 18:17:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59270] [PATCH] gnu: Add python-pynixutil. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 14 Nov 2022 23:17:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59270 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59270@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16684678071657 (code B ref -1); Mon, 14 Nov 2022 23:17:03 +0000 Received: (at submit) by debbugs.gnu.org; 14 Nov 2022 23:16:47 +0000 Received: from localhost ([127.0.0.1]:51688 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ouih4-0000QV-9F for submit@debbugs.gnu.org; Mon, 14 Nov 2022 18:16:46 -0500 Received: from lists.gnu.org ([209.51.188.17]:59346) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ouigx-0000P6-1B for submit@debbugs.gnu.org; Mon, 14 Nov 2022 18:16:40 -0500 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 1ouigv-0001X6-M4 for guix-patches@gnu.org; Mon, 14 Nov 2022 18:16:38 -0500 Received: from mail.boiledscript.com ([144.168.59.46]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ouSHF-00029j-LA for guix-patches@gnu.org; Mon, 14 Nov 2022 00:45:05 -0500 Date: Mon, 14 Nov 2022 13:44:22 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1668404696; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=yD7AvIilzu0kO3zlr2voHdS+b+vLDVPD6vC+Zzz3PQ0=; b=mUBobujpsU1hEtRbzLxhbEp1U8n7XQJC9Pmjg3mkhVTgCHHX/spSfi5J+lh6jJQAjmQUn8 pgEvjC2wBv7vX0rgnwNqSKTh++6hDlpEMu5a0lqk3RkHuvpZsOuAvkqiD0o13ksCtitEAp iTrDIlPay8S5N4p3YqIyUqsgmS8yYDKV2a0GCWga6Q3Mi1pVr+lQNYcX/FVbplMSTrehO/ fb49QyhAVfms3kAUdfJMX9jy4JtZejlAGxOthZULowTRjaEZPSiNiaPpa9mENrGcj69Juy gBS2Rxx35ODzax9bhQwTfnbSwxQH5wXBGmrZ+wKipBo/vpATs8orOagSJeRSHQ== Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit X-Spamd-Bar: / Received-SPF: pass client-ip=144.168.59.46; envelope-from=hako@ultrarare.space; helo=mail.boiledscript.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, SPF_HELO_NONE=0.001, SPF_PASS=-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: , Reply-to: Hilton Chain X-ACL-Warn: , Hilton Chain via Guix-patches From: Hilton Chain via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org 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=1668475577; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: 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=yD7AvIilzu0kO3zlr2voHdS+b+vLDVPD6vC+Zzz3PQ0=; b=lBFSOX0WrpBfUVNcl5dTTnMTx4XnC/x+ZdTLBEP8WxdfOseUyxas+uMgyHrPp4yesqbi3n LZmif8vAOCYP1mIHMpP6U8eQAnksH67istocdF43cCf2Rce6TcjbK3e+Kbjj0yBhPi26O/ nIBDtaUCpI6R8mrezyH1yA8H4gBYnUNkrvKKaYFjUnzyxzuXNcouHgQ7T7hAhaobDfZE/4 W8kO+2ST6Yut8MgeU+JEsEUgfXGrjNm0o7vs6MWbKcuY3jacBQlrgl8Zqrfpu0Q7Hx5mSS sfoAcLDSyk/pMDTwOsSdCWALqsjN+Vbs3kiW9Q0mZTEBNfoahavfCdF13sHdgg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668475577; a=rsa-sha256; cv=none; b=GS/c1IeqW24ZRsgtO2MzV93zX3CUaISqH0i4/cujDOhLtjexDeX3ekdHHggStk1DtpL2WZ TKC/CtE1+lt4un8LEzYtf2rfvFw90+YlG7rmuTObkiy8kiHLVxzojr1OB0a9nQg4MKK82o EvVQ0UAauQQhWKQXMMqK2qaaOOdWbgPkobn79A9+zndURNErRmM2TTvf2QEcWS5jWpEDiK PtWcIi8O+FfFRLHkBvLIAl0Vqa9e11HuQtPYbB7FPbcueOujPjJj8FIs4uyfoIX9HwS9VW hVY1w3AotiwvattsbckhNspHuuIZ1fraNGjmuO5B41R1ZrJEhaBF6M7uZwvpdw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=mUBobujp; 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.34 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=mUBobujp; 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: BADFF3E9FD X-Spam-Score: -4.34 X-Migadu-Scanner: scn0.migadu.com X-TUID: vn2fzrfqWj0E * gnu/packages/python-xyz.scm (python-pynixutil): New variable. --- gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e26656fa32..00c0d56353 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -23036,6 +23036,32 @@ (define-public python-pynamecheap "PyNamecheap is a Namecheap API client in Python.") (license license:expat))) +(define-public python-pynixutil + (package + (name "python-pynixutil") + (version "0.5.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/nix-community/pynixutil") + (commit version))) + (file-name (git-file-name name version)) + ;; Derivation test uses nix. + (modules '((guix build utils))) + (snippet '(delete-file "tests/test_drv.py")) + (sha256 + (base32 + "1lnspcai7mqpv73bbd8kgyw63fxwgkwvfkl09b2bl5y2g2v7np6m")))) + (build-system pyproject-build-system) + (native-inputs (list poetry python-pytest)) + (home-page "https://github.com/nix-community/pynixutil") + (synopsis "Utility functions for working with data from Nix in Python") + (description + "@code{pynixutil} provides functions for base32 encoding/decoding and +derivation parsing, namingly @code{b32decode()}, @code{b32encode()} and +@code{drvparse()}.") + (license license:expat))) + (define-public python-dns-lexicon (package (name "python-dns-lexicon") base-commit: 775134ebf537895bcb7bf2a6c541846845403737 -- 2.38.1