From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 iCVoA5weaGJcCQAAbAwnHQ (envelope-from ) for ; Tue, 26 Apr 2022 18:32:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id MJ2UApweaGK2MAAAG6o9tA (envelope-from ) for ; Tue, 26 Apr 2022 18:32:28 +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 87AFF1129B for ; Tue, 26 Apr 2022 18:32:26 +0200 (CEST) Received: from localhost ([::1]:55714 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1njO6z-0003vY-Gl for larch@yhetil.org; Tue, 26 Apr 2022 12:32:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33326) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njNLC-0004Hy-HQ for guix-patches@gnu.org; Tue, 26 Apr 2022 11:43:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46398) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1njNLC-0004BG-5r for guix-patches@gnu.org; Tue, 26 Apr 2022 11:43:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1njNLC-0000QD-0z for guix-patches@gnu.org; Tue, 26 Apr 2022 11:43:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55129] [PATCH] gnu: Add xschem Resent-From: Konstantinos Agiannis Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 26 Apr 2022 15:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55129 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55129@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16509877601582 (code B ref -1); Tue, 26 Apr 2022 15:43:01 +0000 Received: (at submit) by debbugs.gnu.org; 26 Apr 2022 15:42:40 +0000 Received: from localhost ([127.0.0.1]:40293 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njNKp-0000PR-VD for submit@debbugs.gnu.org; Tue, 26 Apr 2022 11:42:40 -0400 Received: from lists.gnu.org ([209.51.188.17]:60500) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njJNM-0005vJ-7l for submit@debbugs.gnu.org; Tue, 26 Apr 2022 07:29:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49542) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njJNM-0005lL-2X for guix-patches@gnu.org; Tue, 26 Apr 2022 07:29:00 -0400 Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]:37794) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1njJNJ-0001Ak-QV for guix-patches@gnu.org; Tue, 26 Apr 2022 07:28:59 -0400 Received: by mail-ed1-x52f.google.com with SMTP id k27so6752979edk.4 for ; Tue, 26 Apr 2022 04:28:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=vfrWpokKF1bFHO3nZAt1vRrIiOJxqUDTx1ddnfwsrFA=; b=OFMHLvQOiHyGtHUX2VfAuPdCabDyU1OhQnUryVwY3VDjz4osOOBjvNZICQzDuMv+Qz 17Nv/e7aTx4gv4iRyYkPeI7qehB2uiYXNPcUjvozcOUqrI676rqsHlbhZnvsTWZ+MF3L PhdT/j0csRLEXe2GteLnyq7MsUV0p7zuzEk/dD9Kpu/pnJj3og9mEt1Fa2WTyLKC8H+Y Lpdt4HQbAGvl+cNLONBeeF6b+5aanZV2g9sDp6fYiSBP474TvokeRIOXlZ7BMw6z2Scr OgdVTyrKGTofKZl4U3Wnr453JMyJZC8rXCBFp+adOfVfTqXIAPQ/CLNi3yXLW/oDW+d/ g9Jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=vfrWpokKF1bFHO3nZAt1vRrIiOJxqUDTx1ddnfwsrFA=; b=hUl5v5Tfw1F2yBzEEgzsoIKy3jEYpdc9K2HNBcW6lFsiSmkYrK3jv4q+++yDingv7E MRQZLmSH2D161ApuFj6hB/pV4hK/w2MXLUIFKq48uH2/NhcQoG44DifUNI4myXejti5p /NNB6J4xNWrsVyZ3PuSNfSF/hiD3HVf8FbtU/75/CadaCp/2SbEinwieJ8wvtemSdp+B LZ3VA8TpwQcuYicAOt4lLL9MfEHm249YnLJ3iVyQmVOeDNAGJrv4WhMlZ2HLaz7tuGWT AOUdFTZk4ZHJZLYsM4oYeGspOdQBYOAh24es8iZIaxUQ63Gts7b4vpxFEnDgvpAeITkH Vu7Q== X-Gm-Message-State: AOAM5337DsY7C1FU1fOc5XjSDvPC+tyFj+V6Dul9sQShY4TZabGmLLqk +Y2tmROc0zb88736PABIHRt3yvCNByw= X-Google-Smtp-Source: ABdhPJywtVWzM2K4Nw1bnAoozveRnBQHEOPEbm+NFfuUysCIr8EN2qwACgL19g4gEClzR4KygkWOHA== X-Received: by 2002:a05:6402:3553:b0:423:ec56:5c with SMTP id f19-20020a056402355300b00423ec56005cmr24190139edd.8.1650972535870; Tue, 26 Apr 2022 04:28:55 -0700 (PDT) Received: from laptop.home ([2a02:587:f15:7278:e5:8558:b995:485c]) by smtp.gmail.com with ESMTPSA id m5-20020a17090607c500b006f1bf5f545asm4698952ejc.26.2022.04.26.04.28.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Apr 2022 04:28:55 -0700 (PDT) From: Konstantinos Agiannis Date: Tue, 26 Apr 2022 14:27:51 +0300 Message-Id: <20220426112751.630090-1-agiannis.kon@gmail.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::52f; envelope-from=agiannis.kon@gmail.com; helo=mail-ed1-x52f.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 26 Apr 2022 11:42:38 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Tue, 26 Apr 2022 12:30:45 -0400 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 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=1650990746; 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: 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=vfrWpokKF1bFHO3nZAt1vRrIiOJxqUDTx1ddnfwsrFA=; b=HDIWLrKx0rgijnuCavVqXOEq50GHzq4c3lbZD3G/Rrl2MkIojWA7hGe7gvRBn9gLbz2/lM lP3Z5T8NLNo5uPKYmFWTf/VBdVEP+R4AMTvZkj6HIP2CO87VCxEWBErKd99mcDh83ra5VQ ZzxP6vbo1bswDZZaaqBvgXnESLm4GRjvgMnYgFzAsWoUvFpn7M9Q+ahAUTQFu+ovS3lp6V 0NdOFvcH7BHUGso/hePgl4aCnij5uxGn95I/KxIay5fO8DBpj8zdFCQyCLPRoPwrJHM6E8 RpbFTcFxtNNgyJ5QE0L2LYEOQ8KRo2ArpFA1nEvtfM5mtozLOVNA71PaBQpWeA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650990746; a=rsa-sha256; cv=none; b=ny6M8hgox1478UfYmIyNbdhX9f25nRkoYBZMIEsIARBc+8ZWWW9582vYWi4jUgvdX3uG18 4Lg/KhVU+FR6EAJSC3iPL9KutAiiAh2KeRWyp5JzEJUaoNBRcZ1JY21x5fQHx6e8ALNZjO uv5TFLtUXBX9U+2iBXPimNMhQlqVCRA49iR9fYAa7gtnbMArDvm+SesMKZttvNzRtVsMYw vx1y8qEOPUfmvM8fu3wfYmWe/PCOKU0NmZ40+N686/mLpY0Q3aAsQSSfOntbku/limVrXm k8HGlZJ1pw0gcT3z0iNgrINSOvz4HpJHDFphKE/9TJba9kguDXDrHz1VsZ0+Lg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=OFMHLvQO; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 5.79 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=OFMHLvQO; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 87AFF1129B X-Spam-Score: 5.79 X-Migadu-Scanner: scn1.migadu.com X-TUID: 8jJNc/HqZq6M --- gnu/packages/engineering.scm | 46 ++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 1c945eb07b..ec58a92451 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -31,6 +31,7 @@ ;;; Copyright © 2022 Olivier Dion ;;; Copyright © 2022 Peter Polidoro ;;; Copyright © 2022 Malte Frank Gerdes +;;; Copyright © 2022 Konstantinos Agiannis ;;; ;;; This file is part of GNU Guix. ;;; @@ -78,6 +79,7 @@ #:use-module (gnu packages compression) #:use-module (gnu packages cpp) #:use-module (gnu packages curl) + #:use-module (gnu packages gawk) #:use-module (gnu packages dejagnu) #:use-module (gnu packages digest) #:use-module (gnu packages docbook) @@ -3659,3 +3661,47 @@ python bindings. It belongs to the Cura project from Ultimaker.") (description "Cura is a slicing software from Ultimaker. A @emph{slicer} generates G-Code for 3D printers.") (license license:lgpl3+))) + +(define-public xschem + (let ((commit "f574539e21b297fa3bcebd52114555e162a5fc56") + (revision "1")) + (package + (name "xschem") + (version (git-version "3.0.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/StefanSchippers/xschem") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "129kj8m3wcf62plp74kml6pqwld4lnfmxy070a82lvj0rfiy77hb")))) + (native-inputs (list flex bison pkg-config)) + (inputs (list gawk + tcl + tk + libxpm + cairo + libxrender + libxcb)) ; Last 3 are optional, but good to have. + (build-system gnu-build-system) + (arguments + `(#:tests? #f + #:phases + (modify-phases %standard-phases + (delete 'configure) + (add-before 'build 'setenv + (lambda _ + (setenv "CC" + ,(cc-for-target)) + (invoke "./configure" + (string-append "--prefix=" + (assoc-ref %outputs "out"))) #t))))) + (synopsis "Hierarchical schematic editor") + (description + "Xschem is an X11 schematic editor written in C and focused on +hierarchical and parametric design. It can generate VHDL, Verilog or Spice +netlists from the drawn schematic, allowing the simulation of the circuit.") + (home-page "https://xschem.sourceforge.io/stefan/index.html") + (license license:gpl2+)))) -- 2.30.2