From patchwork Tue Feb 1 14:16:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Evgeny Pisemsky X-Patchwork-Id: 36919 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 E490227BBEA; Tue, 1 Feb 2022 16:54:52 +0000 (GMT) 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_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,URIBL_BLOCKED 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 AB7ED27BBE9 for ; Tue, 1 Feb 2022 16:54:52 +0000 (GMT) Received: from localhost ([::1]:44806 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nEwQd-0005NX-Om for patchwork@mira.cbaines.net; Tue, 01 Feb 2022 11:54:51 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36540) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEumE-000886-Sq for guix-patches@gnu.org; Tue, 01 Feb 2022 10:09:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:50844) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nEumE-0008Tn-HO for guix-patches@gnu.org; Tue, 01 Feb 2022 10:09:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nEumE-0005dI-Dq for guix-patches@gnu.org; Tue, 01 Feb 2022 10:09:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53697] [PATCH] Add wireviz Resent-From: Evgeny Pisemsky Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 01 Feb 2022 15:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53697 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53697@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164372812621622 (code B ref -1); Tue, 01 Feb 2022 15:09:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 Feb 2022 15:08:46 +0000 Received: from localhost ([127.0.0.1]:43747 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEulx-0005cg-V7 for submit@debbugs.gnu.org; Tue, 01 Feb 2022 10:08:46 -0500 Received: from lists.gnu.org ([209.51.188.17]:56396) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEulw-0005cY-61 for submit@debbugs.gnu.org; Tue, 01 Feb 2022 10:08:45 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36240) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEulv-0007q2-LN for guix-patches@gnu.org; Tue, 01 Feb 2022 10:08:43 -0500 Received: from sofi-shared.hosting.energy ([146.59.29.125]:46863 helo=sofi.hosting.energy) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEuls-0008K6-IW for guix-patches@gnu.org; Tue, 01 Feb 2022 10:08:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=pisemsky.com; s=dkim; h=Content-Transfer-Encoding:Content-Type:MIME-Version :Message-ID:Date:Subject:To:From:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=gU9Ylpio4gdCZVwyinDS4Phx/9mwgCQEJxfZKl62JMk=; b=g1rKkhkdTk7ols1LnMO2rft29b w3gjSJ7xsnDGusOYjEd0IEsGsUlbuV72dSN8gK0sdx2O8Xxucf1zO3UfVtkVnsYUgR1FNdwesoLiV Kx4n1Z1waGYgkLN79zk7MFHGZr4ahO5JWN4asRQ89V9Rs84Bjh7EurzwRPJg3cFfDvh0=; Received: from node-80-183-35-212.domolink.tula.net ([212.35.183.80] helo=desktop) by sofi.hosting.energy with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1nEtxE-0008Hy-1F for guix-patches@gnu.org; Tue, 01 Feb 2022 17:16:20 +0300 From: Evgeny Pisemsky Date: Tue, 01 Feb 2022 17:16:19 +0300 Message-ID: <87r18msmdo.fsf@pisemsky.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Disposition: inline; filename=0001-gnu-Add-wireviz.patch Received-SPF: pass client-ip=146.59.29.125; envelope-from=evgeny@pisemsky.com; helo=sofi.hosting.energy 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_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_HELO_PERMERROR=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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches From be078f09ce8d417188e13e097ec4687a27cc5261 Mon Sep 17 00:00:00 2001 From: Evgeny Pisemsky Date: Tue, 1 Feb 2022 16:45:45 +0300 Subject: [PATCH] gnu: Add wireviz. * gnu/packages/engineering.scm (wireviz): New variable. --- gnu/packages/engineering.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 8e4614590b..6e889f6eea 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -27,6 +27,7 @@ ;;; Copyright © 2021 Ivan Gankevich ;;; Copyright © 2021 Petr Hodina ;;; Copyright © 2021 Foo Chuan Wei +;;; Copyright © 2022 Evgeny Pisemsky ;;; ;;; This file is part of GNU Guix. ;;; @@ -3270,3 +3271,24 @@ (define-public prusa-slicer ;; Mark as tunable to take advantage of SIMD code in Eigen and in libigl. (properties '((tunable? . #t))))) + +(define-public wireviz + (package + (name "wireviz") + (version "0.3.2") + (source (origin + (method url-fetch) + (uri (pypi-uri "wireviz" version)) + (sha256 + (base32 + "1dgnlxxlna2m1fh0ybivw0psym0sa5cqsl72mjl79bwfspnif61h")))) + (build-system python-build-system) + (propagated-inputs (list python-graphviz python-pillow python-pyyaml)) + (home-page "https://github.com/formatc1702/WireViz") + (synopsis "Easily document cables and wiring harnesses") + (description + "WireViz is a tool for easily documenting cables, wiring harnesses and +connector pinouts. It takes plain text, YAML-formatted files as input and +produces beautiful graphical output thanks to GraphViz. It handles automatic +BOM creation and has a lot of extra features.") + (license license:gpl3))) base-commit: 087cdafc9f8ef1d73780ab3e0b4dd340b9e0bce0 -- 2.34.0