2015-03-04 08:46:04 +00:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2023-03-12 20:20:44 +00:00
|
|
|
|
;;; Copyright © 2015-2023 Ricardo Wurmus <rekado@elephly.net>
|
2015-07-21 19:51:29 +00:00
|
|
|
|
;;; Copyright © 2015 Federico Beffa <beffa@fbengineering.ch>
|
2024-02-25 13:29:56 +00:00
|
|
|
|
;;; Copyright © 2016, 2018, 2020-2024 Efraim Flashner <efraim@flashner.co.il>
|
2016-04-13 14:41:57 +00:00
|
|
|
|
;;; Copyright © 2016 David Thompson <davet@gnu.org>
|
2023-08-10 07:23:32 +00:00
|
|
|
|
;;; Copyright © 2016-2019, 2021, 2023 Ludovic Courtès <ludo@gnu.org>
|
2018-06-07 19:24:54 +00:00
|
|
|
|
;;; Copyright © 2016, 2017, 2018 Theodoros Foradis <theodoros@foradis.org>
|
2017-08-11 18:41:39 +00:00
|
|
|
|
;;; Copyright © 2017 Julien Lepiller <julien@lepiller.eu>
|
2021-03-30 09:30:01 +00:00
|
|
|
|
;;; Copyright © 2018–2021 Tobias Geerinckx-Rice <me@tobias.gr>
|
2018-05-29 13:40:28 +00:00
|
|
|
|
;;; Copyright © 2018 Clément Lassieur <clement@lassieur.org>
|
2019-02-27 17:01:48 +00:00
|
|
|
|
;;; Copyright © 2018, 2019 Jonathan Brielmaier <jonathan.brielmaier@web.de>
|
2019-05-21 11:07:05 +00:00
|
|
|
|
;;; Copyright © 2018, 2019, 2020 Arun Isaac <arunisaac@systemreboot.net>
|
2019-02-07 21:33:08 +00:00
|
|
|
|
;;; Copyright © 2019 Tim Stahel <swedneck@swedneck.xyz>
|
2019-07-20 11:30:22 +00:00
|
|
|
|
;;; Copyright © 2019 Jovany Leandro G.C <bit4bit@riseup.net>
|
2019-08-23 22:23:00 +00:00
|
|
|
|
;;; Copyright © 2019 Steve Sprang <scs@stevesprang.com>
|
2019-07-07 02:05:37 +00:00
|
|
|
|
;;; Copyright © 2019 John Soo <jsoo1@asu.edu>
|
2020-02-16 21:28:29 +00:00
|
|
|
|
;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
|
2021-01-18 18:03:49 +00:00
|
|
|
|
;;; Copyright © 2020,2021 Vincent Legoll <vincent.legoll@gmail.com>
|
2023-01-09 09:49:26 +00:00
|
|
|
|
;;; Copyright © 2020, 2023 Marius Bakke <marius@gnu.org>
|
gnu: freecad: Update to 0.19.1.
* gnu/packages/engineering.scm (freecad): Update to 0.19.1
[inputs]: Add double-conversion, gl2ps, jsoncpp, libjpeg-turbo, libtheora,
libtiff, libxmlplusplus, lz4, netcdf, proj, python-gitpython, python-pyyaml,
sqlite, and vtk-8. Remove vtk.
[arguments]: Add "-DBUILD_FLAT_MESH:BOOL=ON" to #:configure-flags.
2021-04-14 13:49:53 +00:00
|
|
|
|
;;; Copyright © 2020, 2021 Ekaitz Zarraga <ekaitz@elenq.tech>
|
2020-06-19 14:08:40 +00:00
|
|
|
|
;;; Copyright © 2020 B. Wilson <elaexuotee@wilsonb.com>
|
2023-12-29 18:48:35 +00:00
|
|
|
|
;;; Copyright © 2020, 2021, 2022, 2023, 2024 Vinicius Monego <monego@posteo.net>
|
2023-05-10 17:46:16 +00:00
|
|
|
|
;;; Copyright © 2020, 2021, 2023 Morgan Smith <Morgan.J.Smith@outlook.com>
|
2021-02-23 01:13:09 +00:00
|
|
|
|
;;; Copyright © 2021 qblade <qblade@protonmail.com>
|
2021-02-21 22:42:10 +00:00
|
|
|
|
;;; Copyright © 2021 Gerd Heber <gerd.heber@gmail.com>
|
2022-01-11 14:09:50 +00:00
|
|
|
|
;;; Copyright © 2021, 2022 Guillaume Le Vaillant <glv@posteo.net>
|
2021-09-20 22:15:52 +00:00
|
|
|
|
;;; Copyright © 2021 Ivan Gankevich <i.gankevich@spbu.ru>
|
2022-01-09 22:04:57 +00:00
|
|
|
|
;;; Copyright © 2021, 2022 Petr Hodina <phodina@protonmail.com>
|
2021-11-21 10:40:50 +00:00
|
|
|
|
;;; Copyright © 2021 Foo Chuan Wei <chuanwei.foo@hotmail.com>
|
2022-02-01 13:45:45 +00:00
|
|
|
|
;;; Copyright © 2022 Evgeny Pisemsky <evgeny@pisemsky.com>
|
2022-03-16 16:19:31 +00:00
|
|
|
|
;;; Copyright © 2022 Olivier Dion <olivier.dion@polymtl.ca>
|
2022-04-05 17:43:26 +00:00
|
|
|
|
;;; Copyright © 2022 Peter Polidoro <peter@polidoro.io>
|
2022-04-07 13:25:05 +00:00
|
|
|
|
;;; Copyright © 2022 Malte Frank Gerdes <malte.f.gerdes@gmail.com>
|
2022-04-26 11:27:51 +00:00
|
|
|
|
;;; Copyright © 2022 Konstantinos Agiannis <agiannis.kon@gmail.com>
|
2022-05-03 16:31:25 +00:00
|
|
|
|
;;; Copyright © 2022 Greg Hogan <code@greghogan.com>
|
2022-06-21 19:24:37 +00:00
|
|
|
|
;;; Copyright © 2022 Artyom V. Poptsov <poptsov.artyom@gmail.com>
|
2022-07-13 04:32:23 +00:00
|
|
|
|
;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
2023-04-02 17:45:50 +00:00
|
|
|
|
;;; Copyright © 2022, 2023 Felix Gruber <felgru@posteo.net>
|
2023-04-01 12:19:28 +00:00
|
|
|
|
;;; Copyright © 2023 Theofilos Pechlivanis <theofilos.pechlivanis@gmail.com>
|
2023-04-18 20:20:00 +00:00
|
|
|
|
;;; Copyright © 2023 Sharlatan Hellseher <sharlatanus@gmail.com>
|
gnu: librepcb: Update to 1.0.0.
* gnu/packages/engineering.scm (librepcb): Update to 1.0.0.
[source]: Add snippet to remove some vendored dependencies.
[build-system]: Use cmake-build-system.
[inputs]: Add fontconfig, fontobene-qt5, glu, hoedown, muparser,
opencascade-occt, clipper, qtdeclarative-5, qtquickcontrols2-5, quazip.
[native-inputs]: Add googletest, pkg-config.
[arguments]<#:configure-flags>: Add "-DUNBUNDLE_FONTOBENE_QT5=ON",
"-DUNBUNDLE_GTEST=ON", "-DUNBUNDLE_HOEDOWN=ON", "-DUNBUNDLE_MUPARSER=ON",
"-DUNBUNDLE_POLYCLIPPING=ON", "-DUNBUNDLE_QUAZIP=ON".
<#:phases>: Don't override the configure phase. Override the check phase and
skip failing tests.
[license]: Remove licenses from unbundled dependencies.
Signed-off-by: Vinicius Monego <monego@posteo.net>
2023-10-04 00:15:22 +00:00
|
|
|
|
;;; Copyright © 2023 pinoaffe <pinoaffe@gmail.com>
|
2015-03-04 08:46:04 +00:00
|
|
|
|
;;;
|
|
|
|
|
;;; This file is part of GNU Guix.
|
|
|
|
|
;;;
|
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
|
;;; your option) any later version.
|
|
|
|
|
;;;
|
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
|
;;;
|
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
2015-03-08 10:12:16 +00:00
|
|
|
|
(define-module (gnu packages engineering)
|
2015-03-04 08:46:04 +00:00
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
2019-03-08 20:45:29 +00:00
|
|
|
|
#:use-module (guix build-system ant)
|
2016-11-15 20:53:23 +00:00
|
|
|
|
#:use-module (guix build-system cmake)
|
2023-04-18 20:19:58 +00:00
|
|
|
|
#:use-module (guix build-system copy)
|
2021-01-15 21:24:32 +00:00
|
|
|
|
#:use-module (guix build-system emacs)
|
2015-03-04 08:46:04 +00:00
|
|
|
|
#:use-module (guix build-system gnu)
|
2022-08-11 06:37:49 +00:00
|
|
|
|
#:use-module (guix build-system meson)
|
2022-12-03 14:06:12 +00:00
|
|
|
|
#:use-module (guix build-system pyproject)
|
2017-08-11 18:49:04 +00:00
|
|
|
|
#:use-module (guix build-system python)
|
2020-02-22 05:15:38 +00:00
|
|
|
|
#:use-module (guix build-system qt)
|
2023-04-18 20:20:00 +00:00
|
|
|
|
#:use-module (guix download)
|
|
|
|
|
#:use-module (guix gexp)
|
|
|
|
|
#:use-module (guix git-download)
|
|
|
|
|
#:use-module (guix monads)
|
|
|
|
|
#:use-module (guix packages)
|
|
|
|
|
#:use-module (guix store)
|
|
|
|
|
#:use-module (guix svn-download)
|
|
|
|
|
#:use-module (guix utils)
|
2015-03-04 08:46:04 +00:00
|
|
|
|
#:use-module (gnu packages)
|
2016-10-19 08:39:59 +00:00
|
|
|
|
#:use-module (gnu packages algebra)
|
2015-08-31 06:47:09 +00:00
|
|
|
|
#:use-module (gnu packages autotools)
|
2015-03-08 10:13:57 +00:00
|
|
|
|
#:use-module (gnu packages base)
|
2022-01-09 22:04:57 +00:00
|
|
|
|
#:use-module (gnu packages bash)
|
2020-06-19 14:08:40 +00:00
|
|
|
|
#:use-module (gnu packages bdw-gc)
|
2015-03-06 20:11:01 +00:00
|
|
|
|
#:use-module (gnu packages bison)
|
2015-03-04 08:46:04 +00:00
|
|
|
|
#:use-module (gnu packages boost)
|
2022-09-06 08:24:01 +00:00
|
|
|
|
#:use-module (gnu packages c)
|
2016-10-19 08:39:59 +00:00
|
|
|
|
#:use-module (gnu packages check)
|
2019-07-07 17:03:38 +00:00
|
|
|
|
#:use-module (gnu packages cmake)
|
2023-01-09 09:49:26 +00:00
|
|
|
|
#:use-module (gnu packages code)
|
2015-07-21 19:51:29 +00:00
|
|
|
|
#:use-module (gnu packages compression)
|
2022-04-07 20:01:22 +00:00
|
|
|
|
#:use-module (gnu packages cpp)
|
2016-11-15 20:53:23 +00:00
|
|
|
|
#:use-module (gnu packages curl)
|
2023-02-13 18:08:55 +00:00
|
|
|
|
#:use-module (gnu packages databases)
|
2020-06-19 14:08:40 +00:00
|
|
|
|
#:use-module (gnu packages dejagnu)
|
2020-05-25 20:01:31 +00:00
|
|
|
|
#:use-module (gnu packages digest)
|
2020-07-04 16:01:24 +00:00
|
|
|
|
#:use-module (gnu packages docbook)
|
2019-07-07 17:32:10 +00:00
|
|
|
|
#:use-module (gnu packages documentation)
|
2022-08-11 06:37:49 +00:00
|
|
|
|
#:use-module (gnu packages file)
|
2015-03-06 20:11:01 +00:00
|
|
|
|
#:use-module (gnu packages flex)
|
2015-03-04 08:46:04 +00:00
|
|
|
|
#:use-module (gnu packages fontutils)
|
2017-10-27 14:18:18 +00:00
|
|
|
|
#:use-module (gnu packages fpga)
|
2017-06-05 19:22:01 +00:00
|
|
|
|
#:use-module (gnu packages freedesktop)
|
2023-04-18 20:20:00 +00:00
|
|
|
|
#:use-module (gnu packages gawk)
|
2017-06-22 19:09:54 +00:00
|
|
|
|
#:use-module (gnu packages gcc)
|
2015-03-06 20:11:01 +00:00
|
|
|
|
#:use-module (gnu packages gd)
|
2019-05-21 11:07:05 +00:00
|
|
|
|
#:use-module (gnu packages geo)
|
2015-08-31 06:47:09 +00:00
|
|
|
|
#:use-module (gnu packages gettext)
|
2015-07-21 19:51:29 +00:00
|
|
|
|
#:use-module (gnu packages ghostscript)
|
2015-03-06 20:11:01 +00:00
|
|
|
|
#:use-module (gnu packages gl)
|
2015-03-05 07:38:46 +00:00
|
|
|
|
#:use-module (gnu packages glib)
|
|
|
|
|
#:use-module (gnu packages gnome)
|
2017-10-27 14:18:18 +00:00
|
|
|
|
#:use-module (gnu packages gperf)
|
2019-09-10 23:22:57 +00:00
|
|
|
|
#:use-module (gnu packages graphics)
|
2019-07-07 17:32:10 +00:00
|
|
|
|
#:use-module (gnu packages graphviz)
|
2018-08-26 17:29:25 +00:00
|
|
|
|
#:use-module (gnu packages groff)
|
2015-03-05 07:38:46 +00:00
|
|
|
|
#:use-module (gnu packages gtk)
|
|
|
|
|
#:use-module (gnu packages guile)
|
2016-10-19 08:39:59 +00:00
|
|
|
|
#:use-module (gnu packages image)
|
2017-05-06 06:56:39 +00:00
|
|
|
|
#:use-module (gnu packages imagemagick)
|
2023-04-18 20:20:00 +00:00
|
|
|
|
#:use-module (gnu packages image-processing)
|
2021-12-18 16:53:39 +00:00
|
|
|
|
#:use-module (gnu packages kde-frameworks)
|
2020-05-25 20:01:31 +00:00
|
|
|
|
#:use-module (gnu packages libevent)
|
2021-09-20 22:15:52 +00:00
|
|
|
|
#:use-module (gnu packages libusb)
|
2015-04-20 13:50:59 +00:00
|
|
|
|
#:use-module (gnu packages linux) ;FIXME: for pcb
|
2020-06-19 14:08:40 +00:00
|
|
|
|
#:use-module (gnu packages lisp)
|
2016-04-13 14:41:57 +00:00
|
|
|
|
#:use-module (gnu packages m4)
|
2020-06-19 14:08:40 +00:00
|
|
|
|
#:use-module (gnu packages man)
|
gnu: librepcb: Update to 1.0.0.
* gnu/packages/engineering.scm (librepcb): Update to 1.0.0.
[source]: Add snippet to remove some vendored dependencies.
[build-system]: Use cmake-build-system.
[inputs]: Add fontconfig, fontobene-qt5, glu, hoedown, muparser,
opencascade-occt, clipper, qtdeclarative-5, qtquickcontrols2-5, quazip.
[native-inputs]: Add googletest, pkg-config.
[arguments]<#:configure-flags>: Add "-DUNBUNDLE_FONTOBENE_QT5=ON",
"-DUNBUNDLE_GTEST=ON", "-DUNBUNDLE_HOEDOWN=ON", "-DUNBUNDLE_MUPARSER=ON",
"-DUNBUNDLE_POLYCLIPPING=ON", "-DUNBUNDLE_QUAZIP=ON".
<#:phases>: Don't override the configure phase. Override the check phase and
skip failing tests.
[license]: Remove licenses from unbundled dependencies.
Signed-off-by: Vinicius Monego <monego@posteo.net>
2023-10-04 00:15:22 +00:00
|
|
|
|
#:use-module (gnu packages markup)
|
2023-04-18 20:20:00 +00:00
|
|
|
|
#:use-module (gnu packages maths)
|
gnu: librepcb: Update to 1.0.0.
* gnu/packages/engineering.scm (librepcb): Update to 1.0.0.
[source]: Add snippet to remove some vendored dependencies.
[build-system]: Use cmake-build-system.
[inputs]: Add fontconfig, fontobene-qt5, glu, hoedown, muparser,
opencascade-occt, clipper, qtdeclarative-5, qtquickcontrols2-5, quazip.
[native-inputs]: Add googletest, pkg-config.
[arguments]<#:configure-flags>: Add "-DUNBUNDLE_FONTOBENE_QT5=ON",
"-DUNBUNDLE_GTEST=ON", "-DUNBUNDLE_HOEDOWN=ON", "-DUNBUNDLE_MUPARSER=ON",
"-DUNBUNDLE_POLYCLIPPING=ON", "-DUNBUNDLE_QUAZIP=ON".
<#:phases>: Don't override the configure phase. Override the check phase and
skip failing tests.
[license]: Remove licenses from unbundled dependencies.
Signed-off-by: Vinicius Monego <monego@posteo.net>
2023-10-04 00:15:22 +00:00
|
|
|
|
#:use-module (gnu packages multiprecision)
|
2017-06-22 19:10:00 +00:00
|
|
|
|
#:use-module (gnu packages mpi)
|
2023-04-18 20:20:00 +00:00
|
|
|
|
#:use-module (gnu packages multiprecision)
|
2017-06-10 14:06:34 +00:00
|
|
|
|
#:use-module (gnu packages ncurses)
|
2023-04-18 20:20:00 +00:00
|
|
|
|
#:use-module (gnu packages openkinect)
|
|
|
|
|
#:use-module (gnu packages openkinect)
|
2020-08-09 15:53:46 +00:00
|
|
|
|
#:use-module (gnu packages parallel)
|
|
|
|
|
#:use-module (gnu packages pcre)
|
2015-03-05 07:38:46 +00:00
|
|
|
|
#:use-module (gnu packages perl)
|
2015-03-04 08:46:04 +00:00
|
|
|
|
#:use-module (gnu packages pkg-config)
|
2020-07-04 16:01:24 +00:00
|
|
|
|
#:use-module (gnu packages pretty-print)
|
2022-04-07 13:25:05 +00:00
|
|
|
|
#:use-module (gnu packages protobuf)
|
2023-03-30 20:39:40 +00:00
|
|
|
|
#:use-module (gnu packages pulseaudio)
|
2016-11-15 20:53:23 +00:00
|
|
|
|
#:use-module (gnu packages python)
|
2023-04-16 03:34:01 +00:00
|
|
|
|
#:use-module (gnu packages python-build)
|
2022-04-07 15:15:28 +00:00
|
|
|
|
#:use-module (gnu packages python-check)
|
2021-02-23 01:13:09 +00:00
|
|
|
|
#:use-module (gnu packages python-crypto)
|
2022-04-07 15:15:28 +00:00
|
|
|
|
#:use-module (gnu packages python-science)
|
|
|
|
|
#:use-module (gnu packages python-web)
|
gnu: Separate Python core packages from the rest.
* gnu/packages/python.scm: Move hundreds of package definitions from here...
* gnu/packages/python-xyz.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/android.scm,
gnu/packages/audio.scm,
gnu/packages/backup.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/calendar.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/cluster.scm,
gnu/packages/compression.scm,
gnu/packages/connman.scm,
gnu/packages/crypto.scm,
gnu/packages/cups.scm,
gnu/packages/databases.scm,
gnu/packages/dav.scm,
gnu/packages/direct-connect.scm,
gnu/packages/disk.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/docker.scm,
gnu/packages/ebook.scm,
gnu/packages/elf.scm,
gnu/packages/emacs.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm,
gnu/packages/finance.scm,
gnu/packages/fltk.scm,
gnu/packages/fontutils.scm,
gnu/packages/freedesktop.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/geo.scm,
gnu/packages/gl.scm,
gnu/packages/glib.scm,
gnu/packages/gnome.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/gtk.scm,
gnu/packages/ham-radio.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/irc.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/kde-frameworks.scm,
gnu/packages/key-mon.scm,
gnu/packages/libffi.scm,
gnu/packages/libreoffice.scm,
gnu/packages/libusb.scm,
gnu/packages/lirc.scm,
gnu/packages/logging.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/mate.scm,
gnu/packages/maths.scm,
gnu/packages/medical.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mp3.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/nutrition.scm,
gnu/packages/openldap.scm,
gnu/packages/openstack.scm,
gnu/packages/package-management.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/photo.scm,
gnu/packages/polkit.scm,
gnu/packages/protobuf.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/qt.scm,
gnu/packages/rdf.scm,
gnu/packages/ruby.scm,
gnu/packages/search.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/simulation.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/storage.scm,
gnu/packages/sync.scm,
gnu/packages/terminals.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tls.scm,
gnu/packages/tor.scm,
gnu/packages/tryton.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/virtualization.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wicd.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xorg.scm: Update module references.
2019-01-15 13:21:30 +00:00
|
|
|
|
#:use-module (gnu packages python-xyz)
|
2015-03-04 08:46:04 +00:00
|
|
|
|
#:use-module (gnu packages qt)
|
2017-06-22 19:09:56 +00:00
|
|
|
|
#:use-module (gnu packages readline)
|
2022-01-09 22:04:57 +00:00
|
|
|
|
#:use-module (gnu packages ruby)
|
gnu: freecad: Update to 0.19.1.
* gnu/packages/engineering.scm (freecad): Update to 0.19.1
[inputs]: Add double-conversion, gl2ps, jsoncpp, libjpeg-turbo, libtheora,
libtiff, libxmlplusplus, lz4, netcdf, proj, python-gitpython, python-pyyaml,
sqlite, and vtk-8. Remove vtk.
[arguments]: Add "-DBUILD_FLAT_MESH:BOOL=ON" to #:configure-flags.
2021-04-14 13:49:53 +00:00
|
|
|
|
#:use-module (gnu packages serialization)
|
|
|
|
|
#:use-module (gnu packages sqlite)
|
2022-04-07 13:40:47 +00:00
|
|
|
|
#:use-module (gnu packages stb)
|
2016-11-15 20:53:23 +00:00
|
|
|
|
#:use-module (gnu packages swig)
|
2019-07-07 17:32:10 +00:00
|
|
|
|
#:use-module (gnu packages tbb)
|
2015-03-06 20:11:01 +00:00
|
|
|
|
#:use-module (gnu packages tcl)
|
2023-04-18 20:20:00 +00:00
|
|
|
|
#:use-module (gnu packages tex)
|
2018-08-26 17:29:25 +00:00
|
|
|
|
#:use-module (gnu packages texinfo)
|
2022-08-11 06:37:49 +00:00
|
|
|
|
#:use-module (gnu packages text-editors)
|
2023-08-01 16:40:59 +00:00
|
|
|
|
#:use-module (gnu packages time)
|
2016-11-15 20:53:23 +00:00
|
|
|
|
#:use-module (gnu packages tls)
|
2023-04-18 20:20:00 +00:00
|
|
|
|
#:use-module (gnu packages tree-sitter)
|
2019-03-26 22:58:33 +00:00
|
|
|
|
#:use-module (gnu packages version-control)
|
2020-06-19 14:08:40 +00:00
|
|
|
|
#:use-module (gnu packages web)
|
2016-11-15 20:53:23 +00:00
|
|
|
|
#:use-module (gnu packages wxwidgets)
|
2021-12-03 20:37:32 +00:00
|
|
|
|
#:use-module (gnu packages xdisorg)
|
2023-04-18 20:20:00 +00:00
|
|
|
|
#:use-module (gnu packages xiph)
|
|
|
|
|
#:use-module (gnu packages xml)
|
|
|
|
|
#:use-module (gnu packages xorg)
|
|
|
|
|
#:use-module ((srfi srfi-1) #:hide (zip)))
|
2015-03-04 08:46:04 +00:00
|
|
|
|
|
|
|
|
|
(define-public librecad
|
|
|
|
|
(package
|
|
|
|
|
(name "librecad")
|
2024-03-29 22:10:00 +00:00
|
|
|
|
(version "2.2.0.2")
|
2015-03-04 08:46:04 +00:00
|
|
|
|
(source (origin
|
2021-10-04 05:50:27 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/LibreCAD/LibreCAD")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2015-03-04 08:46:04 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2024-03-29 22:10:00 +00:00
|
|
|
|
"04pyywkc0nzhdx1wi0g63hldmbpdp0wvlrhqv8p3m1z6wyyafgjn"))))
|
2021-10-04 06:01:22 +00:00
|
|
|
|
(build-system qt-build-system)
|
2015-03-04 08:46:04 +00:00
|
|
|
|
(arguments
|
2021-10-04 06:01:22 +00:00
|
|
|
|
'(#:test-target "check"
|
|
|
|
|
#:phases
|
2016-02-16 07:30:40 +00:00
|
|
|
|
(modify-phases %standard-phases
|
2017-11-08 15:20:42 +00:00
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(system* "qmake" (string-append "BOOST_DIR="
|
|
|
|
|
(assoc-ref inputs "boost")))))
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(share (string-append out "/share/librecad")))
|
|
|
|
|
(mkdir-p bin)
|
|
|
|
|
(install-file "unix/librecad" bin)
|
|
|
|
|
(mkdir-p share)
|
2024-03-29 22:10:00 +00:00
|
|
|
|
(copy-recursively "unix/resources" share)))))))
|
2015-03-04 08:46:04 +00:00
|
|
|
|
(inputs
|
2022-07-17 05:11:46 +00:00
|
|
|
|
(list boost muparser freetype qtbase-5 qtsvg-5))
|
2015-03-04 08:46:04 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list pkg-config which))
|
2020-01-18 21:10:47 +00:00
|
|
|
|
(home-page "https://librecad.org/")
|
2015-03-04 08:46:04 +00:00
|
|
|
|
(synopsis "Computer-aided design (CAD) application")
|
|
|
|
|
(description
|
|
|
|
|
"LibreCAD is a 2D Computer-aided design (CAD) application for creating
|
|
|
|
|
plans and designs.")
|
|
|
|
|
(license license:gpl2)))
|
2015-03-05 07:38:46 +00:00
|
|
|
|
|
|
|
|
|
(define-public geda-gaf
|
|
|
|
|
(package
|
|
|
|
|
(name "geda-gaf")
|
2021-10-21 17:36:33 +00:00
|
|
|
|
(version "1.10.2")
|
2015-03-05 07:38:46 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2019-12-20 21:01:19 +00:00
|
|
|
|
"http://ftp.geda-project.org/geda-gaf/stable/v"
|
2015-03-05 07:38:46 +00:00
|
|
|
|
(version-major+minor version) "/"
|
|
|
|
|
version "/geda-gaf-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-10-21 17:36:33 +00:00
|
|
|
|
"19688b0671imy2i3jphcnq1120b8ymhr4wz2psiqylr82ljanqp8"))))
|
2015-03-05 07:38:46 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2023-04-23 18:57:38 +00:00
|
|
|
|
(list
|
|
|
|
|
#:phases
|
|
|
|
|
'(modify-phases %standard-phases
|
2016-07-13 19:23:40 +00:00
|
|
|
|
;; tests require a writable HOME
|
|
|
|
|
(add-before 'check 'set-home
|
|
|
|
|
(lambda _
|
2023-04-23 18:57:38 +00:00
|
|
|
|
(setenv "HOME" (getenv "TMPDIR"))))
|
2018-02-17 15:17:44 +00:00
|
|
|
|
(add-after 'unpack 'disable-failing-tests
|
|
|
|
|
(lambda _
|
2019-12-20 21:01:19 +00:00
|
|
|
|
(substitute* "xorn/tests/Makefile.in"
|
|
|
|
|
(("-Werror") ""))
|
|
|
|
|
;; This test returns its correct result in an unexpected order.
|
|
|
|
|
(substitute* "libgeda/scheme/unit-tests/t0402-config.scm"
|
|
|
|
|
(("\\(begin-config-test 'config-keys" m)
|
2023-04-23 18:57:38 +00:00
|
|
|
|
(string-append "#;" m))))))
|
|
|
|
|
#:configure-flags
|
|
|
|
|
#~(let ((pcb #$(this-package-input "pcb")))
|
|
|
|
|
(list (string-append "--with-pcb-datadir=" pcb "/share")
|
|
|
|
|
(string-append "--with-pcb-lib-path="
|
|
|
|
|
pcb "/share/pcb/pcblib-newlib:"
|
|
|
|
|
pcb "/share/pcb/newlib")))))
|
2015-03-05 07:38:46 +00:00
|
|
|
|
(inputs
|
2023-04-23 18:59:12 +00:00
|
|
|
|
(list gamin
|
2023-04-23 18:59:37 +00:00
|
|
|
|
gdk-pixbuf
|
2023-04-23 18:59:12 +00:00
|
|
|
|
glib
|
|
|
|
|
gtk+-2
|
|
|
|
|
guile-2.0
|
|
|
|
|
shared-mime-info
|
|
|
|
|
m4
|
|
|
|
|
pcb
|
|
|
|
|
python-2)) ; for xorn
|
2015-03-05 07:38:46 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list groff pkg-config desktop-file-utils perl)) ; for tests
|
2015-03-05 07:38:46 +00:00
|
|
|
|
(home-page "http://geda-project.org/")
|
|
|
|
|
(synopsis "Schematic capture, netlister, symbols, symbol checker, and utils")
|
|
|
|
|
(description
|
gnu: Adjust formatting as recommended by 'guix lint'.
* gnu/packages/aidc.scm (barcode, qrencode),
gnu/packages/bash.scm (bash, bash-completion),
gnu/packages/busybox.scm (busybox),
gnu/packages/cdrom.scm (cdparanoia),
gnu/packages/cmake.scm (cmake),
gnu/packages/conkeror.scm (conkeror),
gnu/packages/cook.scm (cook),
gnu/packages/curl.scm (curl),
gnu/packages/docbook.scm (docbook-xsl),
gnu/packages/enlightenment.scm (enlightenment),
gnu/packages/games.scm (abbaye),
gnu/packages/geeqie.scm (exiv2),
gnu/packages/gimp.scm (gegl),
gnu/packages/gl.scm (glu, freeglut, ftgl),
gnu/packages/glib.scm (glib),
gnu/packages/gnome.scm (orbit2, gconf, geocode-glib),
gnu/packages/gstreamer.scm (gstreamer, gst-plugins-base),
gnu/packages/linux.scm (util-linux),
gnu/packages/lisp.scm (gcl, ecl),
gnu/packages/maths.scm (gnuplot, hdf5),
gnu/packages/ssh.scm (dropbear),
gnu/packages/web.scm (json-c): Remove tabulations and trailing
white spaces or reformat to fit within 80 columns.
* gnu/packages/audio.scm (aubio),
gnu/packages/emacs.scm (emacs-s),
gnu/packages/engineering.scm (geda-gaf),
gnu/packages/games.scm (dosbox),
gnu/packages/gnome.scm (gusb),
gnu/packages/gtk.scm (gtk+),
gnu/packages/guile.scm (guile-wisp),
gnu/packages/hurd.scm (hurd-headers),
gnu/packages/wm.scm (i3-wm): Adjust synopsis or description.
2015-11-13 14:50:36 +00:00
|
|
|
|
"Gaf stands for “gschem and friends”. It is a subset of the entire tool
|
2015-03-05 07:38:46 +00:00
|
|
|
|
suite grouped together under the gEDA name. gEDA/gaf is a collection of tools
|
|
|
|
|
which currently includes: gschem, a schematic capture program; gnetlist, a
|
|
|
|
|
netlist generation program; gsymcheck, a syntax checker for schematic symbols;
|
2021-04-09 17:52:11 +00:00
|
|
|
|
gattrib, a spreadsheet programme that manipulates the properties of symbols of
|
2015-03-05 07:38:46 +00:00
|
|
|
|
a schematic; libgeda, libraries for gschem gnetlist and gsymcheck; gsch2pcb, a
|
|
|
|
|
tool to forward annotation from your schematic to layout using PCB; some minor
|
|
|
|
|
utilities.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2018-08-26 17:29:25 +00:00
|
|
|
|
(define-public lepton-eda
|
|
|
|
|
;; This is a fork of gEDA/gaf started in late 2016. One of its goal is to
|
|
|
|
|
;; keep and to extend Guile support.
|
|
|
|
|
(package
|
|
|
|
|
(inherit geda-gaf)
|
|
|
|
|
(name "lepton-eda")
|
2023-03-20 22:58:26 +00:00
|
|
|
|
(version "1.9.18-20220529")
|
2018-08-26 17:29:25 +00:00
|
|
|
|
(home-page "https://github.com/lepton-eda/lepton-eda")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
2023-03-12 20:22:50 +00:00
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url home-page)
|
|
|
|
|
(commit version)))
|
2018-08-26 17:29:25 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2023-03-20 22:58:26 +00:00
|
|
|
|
"06plrcab3s2rpyf0qv2gzc1yp33627xi8105niasgixckk6glnc2"))
|
2018-08-26 17:29:25 +00:00
|
|
|
|
(file-name (git-file-name name version))))
|
|
|
|
|
(arguments
|
2023-03-12 20:22:01 +00:00
|
|
|
|
(list
|
|
|
|
|
#:configure-flags
|
|
|
|
|
#~(let ((pcb #$(this-package-input "pcb")))
|
|
|
|
|
;; When running "make", the POT files are built with the build time as
|
|
|
|
|
;; their "POT-Creation-Date". Later on, "make" notices that .pot
|
|
|
|
|
;; files were updated and goes on to run "msgmerge"; as a result, the
|
|
|
|
|
;; non-deterministic POT-Creation-Date finds its way into .po files,
|
|
|
|
|
;; and then in .gmo files. To avoid that, simply make sure 'msgmerge'
|
|
|
|
|
;; never runs. See <https://bugs.debian.org/792687>.
|
|
|
|
|
(list "ac_cv_path_MSGMERGE=true" "--with-gtk3"
|
|
|
|
|
(string-append "--with-pcb-datadir=" pcb
|
|
|
|
|
"/share")
|
|
|
|
|
(string-append "--with-pcb-lib-path=" pcb
|
|
|
|
|
"/share/pcb/pcblib-newlib:"
|
|
|
|
|
pcb "/share/pcb/newlib")
|
|
|
|
|
"CFLAGS=-fcommon"))
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
2023-03-20 22:58:26 +00:00
|
|
|
|
(add-after 'unpack 'fix-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
;; For logs and auto-compilation
|
|
|
|
|
(setenv "HOME" "/tmp")
|
|
|
|
|
|
|
|
|
|
;; Ensure that readline is found by lepton-shell
|
|
|
|
|
(substitute* "script.in"
|
|
|
|
|
(("\\(eval-when \\(expand load eval\\)" m)
|
|
|
|
|
(string-append "
|
|
|
|
|
(add-to-load-path \"" #$(this-package-input "guile-readline")
|
|
|
|
|
"/share/guile/site/3.0\")
|
|
|
|
|
(set! %load-compiled-path (cons \""
|
|
|
|
|
#$(this-package-input "guile-readline")
|
|
|
|
|
"/lib/guile/3.0/site-ccache/"
|
|
|
|
|
"\" %load-compiled-path))
|
|
|
|
|
" m)))))
|
2023-03-12 20:22:01 +00:00
|
|
|
|
(add-before 'build 'fix-dynamic-link
|
2023-03-20 22:58:26 +00:00
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "liblepton/scheme/lepton/ffi/lib.scm"
|
|
|
|
|
(("\"liblepton\"")
|
|
|
|
|
(string-append "\"" #$output "/lib/liblepton.so" "\""))
|
|
|
|
|
(("\"libleptonattrib\"")
|
|
|
|
|
(string-append "\"" #$output "/lib/libleptonattrib.so" "\""))
|
|
|
|
|
(("\"libleptongui\"")
|
|
|
|
|
(string-append "\"" #$output "/lib/libleptongui.so" "\""))
|
|
|
|
|
(("\"libglib-2.0\"")
|
|
|
|
|
(string-append
|
|
|
|
|
"\"" (search-input-file inputs "/lib/libglib-2.0.so") "\""))
|
|
|
|
|
(("\"libgobject-2.0\"")
|
|
|
|
|
(string-append
|
|
|
|
|
"\"" (search-input-file inputs "/lib/libgobject-2.0.so") "\""))
|
|
|
|
|
(("\"libgtk-3\"")
|
|
|
|
|
(string-append
|
|
|
|
|
"\"" (search-input-file inputs "/lib/libgtk-3.so") "\"")))
|
2018-08-26 17:29:25 +00:00
|
|
|
|
|
2023-03-12 20:22:01 +00:00
|
|
|
|
;; For finding libraries when running tests before installation.
|
|
|
|
|
(setenv "LIBLEPTONGUI"
|
|
|
|
|
(string-append (getcwd)
|
|
|
|
|
"/libleptongui/src/.libs/libleptongui.so"))
|
|
|
|
|
(setenv "LIBLEPTON"
|
|
|
|
|
(string-append (getcwd)
|
|
|
|
|
"/libleptongui/src/.libs/liblepton.so"))
|
|
|
|
|
(setenv "LD_LIBRARY_PATH"
|
|
|
|
|
(string-append (getcwd)
|
|
|
|
|
"/libleptonattrib/src/.libs/:"
|
|
|
|
|
(getenv "LIBRARY_PATH")))))
|
|
|
|
|
(add-before 'bootstrap 'prepare
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Some of the scripts there are invoked by autogen.sh.
|
|
|
|
|
(for-each patch-shebang
|
|
|
|
|
(find-files "build-tools"))
|
2018-08-26 17:29:25 +00:00
|
|
|
|
|
2023-03-12 20:22:01 +00:00
|
|
|
|
;; Make sure 'msgmerge' can modify the PO files.
|
|
|
|
|
(for-each (lambda (po)
|
|
|
|
|
(chmod po #o666))
|
|
|
|
|
(find-files "." "\\.po$"))
|
2020-12-27 17:02:40 +00:00
|
|
|
|
|
2023-03-12 20:22:01 +00:00
|
|
|
|
;; This would normally be created by invoking 'git', but it
|
|
|
|
|
;; doesn't work here.
|
|
|
|
|
(call-with-output-file "version.h"
|
|
|
|
|
(lambda (port)
|
|
|
|
|
(format port "#define PACKAGE_DATE_VERSION \"~a\"~%"
|
|
|
|
|
#$(string-drop version
|
|
|
|
|
(+ 1
|
|
|
|
|
(string-index version #\-))))
|
|
|
|
|
(format port
|
|
|
|
|
"#define PACKAGE_DOTTED_VERSION \"~a\"~%"
|
|
|
|
|
#$(string-take version
|
|
|
|
|
(string-index version #\-)))
|
|
|
|
|
(format port
|
|
|
|
|
"#define PACKAGE_GIT_COMMIT \"cabbag3\"~%")))))
|
|
|
|
|
(add-after 'install 'compile-scheme-files
|
|
|
|
|
(lambda _
|
|
|
|
|
(unsetenv "LIBLEPTONGUI")
|
|
|
|
|
(unsetenv "LIBLEPTON")
|
|
|
|
|
(unsetenv "LD_LIBRARY_PATH")
|
|
|
|
|
(invoke "make" "precompile"))))))
|
2023-03-12 20:22:50 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
(modify-inputs (package-native-inputs geda-gaf)
|
|
|
|
|
(prepend autoconf
|
|
|
|
|
automake
|
|
|
|
|
desktop-file-utils
|
|
|
|
|
libtool
|
|
|
|
|
gettext-minimal
|
|
|
|
|
texinfo
|
|
|
|
|
groff
|
|
|
|
|
which)))
|
|
|
|
|
(inputs
|
|
|
|
|
(list glib
|
|
|
|
|
gtk+
|
|
|
|
|
gtksheet
|
|
|
|
|
guile-3.0
|
2023-03-20 22:58:26 +00:00
|
|
|
|
guile-readline
|
2023-03-12 20:22:50 +00:00
|
|
|
|
shared-mime-info
|
|
|
|
|
m4
|
|
|
|
|
pcb))
|
2018-08-26 17:29:25 +00:00
|
|
|
|
(description
|
|
|
|
|
"Lepton EDA ia an @dfn{electronic design automation} (EDA) tool set
|
|
|
|
|
forked from gEDA/gaf in late 2016. EDA tools are used for electrical circuit
|
|
|
|
|
design, schematic capture, simulation, prototyping, and production. Lepton
|
|
|
|
|
EDA includes tools for schematic capture, attribute management, bill of
|
|
|
|
|
materials (BOM) generation, netlisting into over 20 netlist formats, analog
|
|
|
|
|
and digital simulation, and printed circuit board (PCB) layout, and many other
|
|
|
|
|
features.")))
|
|
|
|
|
|
2023-03-12 22:28:35 +00:00
|
|
|
|
(define-public librnd
|
|
|
|
|
(package
|
|
|
|
|
(name "librnd")
|
2023-07-16 00:00:01 +00:00
|
|
|
|
(version "4.0.2")
|
2023-03-12 22:28:35 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://www.repo.hu/projects/librnd/releases/"
|
|
|
|
|
"librnd-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2023-07-16 00:00:01 +00:00
|
|
|
|
"0z578x3sd8yjfbhivy1hz4hlgiy43qq6x7mnby872plpm08vgqxz"))))
|
2023-03-12 22:28:35 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
#:tests? #false ;no check target
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'cc-is-gcc
|
2023-07-16 00:00:01 +00:00
|
|
|
|
(lambda _ (setenv "CC" #$(cc-for-target))))
|
2023-03-12 22:28:35 +00:00
|
|
|
|
(replace 'configure
|
|
|
|
|
;; The configure script doesn't tolerate most of our configure flags.
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "sh" "configure"
|
|
|
|
|
(string-append "--prefix=" #$output)))))))
|
|
|
|
|
(inputs
|
|
|
|
|
(list gd gtk glib glu))
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list pkg-config))
|
|
|
|
|
(home-page "http://repo.hu/projects/librnd/")
|
|
|
|
|
(synopsis "Two-dimensional CAD engine")
|
|
|
|
|
(description "This is a flexible, modular two-dimensional CAD engine
|
|
|
|
|
@itemize
|
|
|
|
|
@item with transparent multiple GUI toolkit support;
|
|
|
|
|
@item a flexible, dynamic menu system;
|
|
|
|
|
@item a flexible, dynamic configuration system; and
|
|
|
|
|
@item support for user scripting in a dozen languages.
|
|
|
|
|
@end itemize")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2015-03-06 20:11:01 +00:00
|
|
|
|
(define-public pcb
|
|
|
|
|
(package
|
|
|
|
|
(name "pcb")
|
2023-03-12 20:46:24 +00:00
|
|
|
|
(version "4.3.0")
|
2015-03-06 20:11:01 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2017-05-06 06:56:39 +00:00
|
|
|
|
(uri (string-append "mirror://sourceforge/pcb/pcb/pcb-" version
|
|
|
|
|
"/pcb-" version ".tar.gz"))
|
2015-03-06 20:11:01 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2023-03-12 20:46:24 +00:00
|
|
|
|
"0ppv8cblw0h70laly4zp8gmbxkbzzhbbjgw13pssgaw4mx32z1df"))))
|
2015-03-06 20:11:01 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2023-03-12 20:38:50 +00:00
|
|
|
|
(list
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-before 'check 'pre-check
|
|
|
|
|
(lambda _
|
|
|
|
|
(system "Xvfb :1 &")
|
|
|
|
|
(setenv "DISPLAY" ":1"))))))
|
2015-03-06 20:11:01 +00:00
|
|
|
|
(inputs
|
2023-03-12 21:05:00 +00:00
|
|
|
|
(list dbus
|
|
|
|
|
mesa
|
|
|
|
|
glu
|
|
|
|
|
gd
|
|
|
|
|
gtk+-2
|
|
|
|
|
gtkglext
|
|
|
|
|
shared-mime-info
|
|
|
|
|
tk))
|
2015-03-06 20:11:01 +00:00
|
|
|
|
(native-inputs
|
2023-03-12 21:05:00 +00:00
|
|
|
|
(list bison
|
|
|
|
|
desktop-file-utils
|
|
|
|
|
flex
|
|
|
|
|
intltool
|
|
|
|
|
pkg-config
|
|
|
|
|
;; For tests
|
|
|
|
|
imagemagick
|
|
|
|
|
gerbv
|
|
|
|
|
ghostscript
|
|
|
|
|
xorg-server-for-tests))
|
2015-03-06 20:11:01 +00:00
|
|
|
|
(home-page "http://pcb.geda-project.org/")
|
|
|
|
|
(synopsis "Design printed circuit board layouts")
|
|
|
|
|
(description
|
|
|
|
|
"GNU PCB is an interactive tool for editing printed circuit board
|
|
|
|
|
layouts. It features a rats-nest implementation, schematic/netlist import,
|
|
|
|
|
and design rule checking. It also includes an autorouter and a trace
|
|
|
|
|
optimizer; and it can produce photorealistic and design review images.")
|
|
|
|
|
(license license:gpl2+)))
|
2015-07-21 19:51:29 +00:00
|
|
|
|
|
2016-11-14 22:20:19 +00:00
|
|
|
|
(define-public pcb-rnd
|
|
|
|
|
(package (inherit pcb)
|
|
|
|
|
(name "pcb-rnd")
|
2023-07-16 00:00:01 +00:00
|
|
|
|
(version "3.1.1")
|
2016-11-14 22:20:19 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://repo.hu/projects/pcb-rnd/releases/"
|
|
|
|
|
"pcb-rnd-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2023-07-16 00:00:01 +00:00
|
|
|
|
"0szcsp2049wh3wslv7743wbjqllrmphi07yz0933sz4vf6f1c8dg"))))
|
2016-11-14 22:20:19 +00:00
|
|
|
|
(arguments
|
2023-03-12 22:28:58 +00:00
|
|
|
|
(list
|
|
|
|
|
#:tests? #false ;no check target
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'cc-is-gcc
|
2023-07-16 00:00:01 +00:00
|
|
|
|
(lambda _ (setenv "CC" #$(cc-for-target))))
|
2023-03-12 22:28:58 +00:00
|
|
|
|
(replace 'configure
|
|
|
|
|
;; The configure script doesn't tolerate most of our configure flags.
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "LIBRND_PREFIX" #$(this-package-input "librnd"))
|
|
|
|
|
(invoke "sh" "configure"
|
|
|
|
|
(string-append "--prefix=" #$output)))))))
|
|
|
|
|
(inputs
|
|
|
|
|
(modify-inputs (package-inputs pcb)
|
|
|
|
|
(append librnd)))
|
2016-11-14 22:20:19 +00:00
|
|
|
|
(home-page "http://repo.hu/projects/pcb-rnd/")
|
|
|
|
|
(description "PCB RND is a fork of the GNU PCB circuit board editing tool
|
|
|
|
|
featuring various improvements and bug fixes.")))
|
|
|
|
|
|
2015-07-21 19:51:29 +00:00
|
|
|
|
(define-public fastcap
|
|
|
|
|
(package
|
|
|
|
|
(name "fastcap")
|
|
|
|
|
(version "2.0-18Sep92")
|
|
|
|
|
(source (origin
|
2016-02-21 23:29:54 +00:00
|
|
|
|
(method url-fetch/tarbomb)
|
2015-07-21 19:51:29 +00:00
|
|
|
|
(uri (string-append "http://www.rle.mit.edu/cpg/codes/"
|
|
|
|
|
name "-" version ".tgz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0x37vfp6k0d2z3gnig0hbicvi0jp8v267xjnn3z8jdllpiaa6p3k"))
|
2015-10-17 16:41:22 +00:00
|
|
|
|
(snippet
|
|
|
|
|
;; Remove a non-free file.
|
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 11:47:34 +00:00
|
|
|
|
'(begin
|
|
|
|
|
(delete-file "doc/psfig.sty")
|
|
|
|
|
#t))
|
2016-04-08 12:18:13 +00:00
|
|
|
|
(patches (search-patches "fastcap-mulSetup.patch"
|
|
|
|
|
"fastcap-mulGlobal.patch"))))
|
2015-07-21 19:51:29 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2023-07-03 20:04:36 +00:00
|
|
|
|
;; FIXME: with (texlive-updmap.cfg) citation references are rendered as
|
|
|
|
|
;; question marks. During the build warnings like these are printed:
|
|
|
|
|
;; LaTeX Warning: Citation `nabors91' on page 2 undefined on input line
|
|
|
|
|
;; 3.
|
|
|
|
|
`(("texlive" ,(texlive-updmap.cfg))
|
2016-09-02 10:12:07 +00:00
|
|
|
|
("ghostscript" ,ghostscript)))
|
2015-07-21 19:51:29 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-flags '("CC=gcc" "RM=rm" "SHELL=sh" "all")
|
|
|
|
|
#:parallel-build? #f
|
|
|
|
|
#:tests? #f ;; no tests-suite
|
|
|
|
|
#:modules ((srfi srfi-1)
|
|
|
|
|
,@%gnu-build-system-modules)
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'build 'make-doc
|
2017-11-08 16:15:24 +00:00
|
|
|
|
(lambda _
|
2019-01-28 19:30:20 +00:00
|
|
|
|
(invoke "make" "CC=gcc" "RM=rm" "SHELL=sh" "manual")))
|
2015-07-21 19:51:29 +00:00
|
|
|
|
(add-before 'make-doc 'fix-doc
|
2017-11-08 16:15:24 +00:00
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "doc/Makefile" (("/bin/rm") (which "rm")))
|
|
|
|
|
(substitute* (find-files "doc" "\\.tex")
|
|
|
|
|
(("\\\\special\\{psfile=([^,]*),.*scale=([#0-9.]*).*\\}"
|
|
|
|
|
all file scale)
|
|
|
|
|
(string-append "\\includegraphics[scale=" scale "]{"
|
|
|
|
|
file "}"))
|
|
|
|
|
(("\\\\psfig\\{figure=([^,]*),.*width=([#0-9.]*in).*\\}"
|
|
|
|
|
all file width)
|
|
|
|
|
(string-append "\\includegraphics[width=" width "]{"
|
|
|
|
|
file "}"))
|
|
|
|
|
(("\\\\psfig\\{figure=([^,]*),.*height=([#0-9.]*in).*\\}"
|
|
|
|
|
all file height)
|
|
|
|
|
(string-append "\\includegraphics[height=" height "]{"
|
|
|
|
|
file "}"))
|
|
|
|
|
(("\\\\psfig\\{figure=([^,]*)\\}" all file)
|
|
|
|
|
(string-append "\\includegraphics{" file "}")))
|
|
|
|
|
(substitute* '("doc/mtt.tex" "doc/tcad.tex" "doc/ug.tex")
|
|
|
|
|
(("^\\\\documentstyle\\[(.*)\\]\\{(.*)\\}"
|
|
|
|
|
all options class)
|
|
|
|
|
(string-append "\\documentclass[" options "]{"
|
|
|
|
|
class "}\n"
|
|
|
|
|
"\\usepackage{graphicx}\n"
|
|
|
|
|
"\\usepackage{robinspace}"))
|
|
|
|
|
(("\\\\setlength\\{\\\\footheight\\}\\{.*\\}" all)
|
|
|
|
|
(string-append "%" all))
|
|
|
|
|
(("\\\\setstretch\\{.*\\}" all)
|
|
|
|
|
(string-append "%" all)))
|
|
|
|
|
#t))
|
2015-07-21 19:51:29 +00:00
|
|
|
|
(delete 'configure)
|
|
|
|
|
(add-before 'install 'clean-bin
|
2017-11-08 16:15:24 +00:00
|
|
|
|
(lambda _
|
|
|
|
|
(delete-file (string-append (getcwd) "/bin/README"))
|
|
|
|
|
#t))
|
2015-07-21 19:51:29 +00:00
|
|
|
|
(add-before 'install 'make-pdf
|
2017-11-08 16:15:24 +00:00
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "HOME" "/tmp") ; FIXME: for texlive font cache
|
|
|
|
|
(with-directory-excursion "doc"
|
|
|
|
|
(and
|
2019-01-28 19:30:20 +00:00
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(invoke "dvips" file "-o"))
|
|
|
|
|
(find-files "." "\\.dvi"))
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(invoke "ps2pdf" file))
|
|
|
|
|
'("mtt.ps" "ug.ps" "tcad.ps"))
|
|
|
|
|
(invoke "make" "clean")))))
|
2015-07-21 19:51:29 +00:00
|
|
|
|
(replace 'install
|
2017-11-08 16:15:24 +00:00
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(data (string-append out "/share"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(doc (string-append data "/doc/" ,name "-" ,version))
|
|
|
|
|
(examples (string-append doc "/examples")))
|
|
|
|
|
(with-directory-excursion "bin"
|
|
|
|
|
(for-each (lambda (f)
|
|
|
|
|
(install-file f bin))
|
|
|
|
|
(find-files "." ".*")))
|
|
|
|
|
(copy-recursively "doc" doc)
|
|
|
|
|
(copy-recursively "examples" examples)
|
|
|
|
|
#t))))))
|
2020-05-27 00:02:40 +00:00
|
|
|
|
(home-page "https://www.rle.mit.edu/cpg/research_codes.htm")
|
2015-07-21 19:51:29 +00:00
|
|
|
|
(synopsis "Multipole-accelerated capacitance extraction program")
|
|
|
|
|
(description
|
|
|
|
|
"Fastcap is a capacitance extraction program based on a
|
|
|
|
|
multipole-accelerated algorithm.")
|
|
|
|
|
(license (license:non-copyleft #f "See fastcap.c."))))
|
2015-07-22 12:18:27 +00:00
|
|
|
|
|
|
|
|
|
(define-public fasthenry
|
|
|
|
|
(package
|
|
|
|
|
(name "fasthenry")
|
|
|
|
|
(version "3.0-12Nov96")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://www.rle.mit.edu/cpg/codes/" name
|
|
|
|
|
"-" version ".tar.z"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1a06xyyd40zhknrkz17xppl2zd5ig4w9g1grc8qrs0zqqcl5hpzi"))
|
2016-04-08 12:18:13 +00:00
|
|
|
|
(patches (search-patches "fasthenry-spAllocate.patch"
|
|
|
|
|
"fasthenry-spBuild.patch"
|
|
|
|
|
"fasthenry-spUtils.patch"
|
|
|
|
|
"fasthenry-spSolve.patch"
|
|
|
|
|
"fasthenry-spFactor.patch"))))
|
2015-07-22 12:18:27 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-flags '("CC=gcc" "RM=rm" "SHELL=sh" "all")
|
|
|
|
|
#:parallel-build? #f
|
|
|
|
|
#:tests? #f ;; no tests-suite
|
|
|
|
|
#:modules ((srfi srfi-1)
|
|
|
|
|
,@%gnu-build-system-modules)
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(data (string-append out "/share"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(doc (string-append data "/doc/" ,name "-" ,version))
|
|
|
|
|
(examples (string-append doc "/examples")))
|
|
|
|
|
(with-directory-excursion "bin"
|
gnu: Use 'install-file' instead of 'mkdir-p' and 'copy-file' in obvious cases.
* gnu/packages/bioinformatics.scm (bedtools, bowtie, bwa, hisat, samtools,
plink, star): Use 'install-file' instead of 'mkdir-p' + 'copy-file'.
* gnu/packages/check.scm (catch-framework): Likewise.
* gnu/packages/code.scm (global): Likewise.
* gnu/packages/emacs.scm (magit-svn, haskell-mode, emacs-pdf-tools):
Likewise.
* gnu/packages/engineering.scm (fastcap, fasthenry): Likewise.
* gnu/packages/gnuzilla.scm (nss): Likewise.
* gnu/packages/guile.scm (guile-minikanren): Likewise.
* gnu/packages/java.scm (swt): Likewise.
* gnu/packages/make-bootstrap.scm (%static-binaries): Likewise.
* gnu/packages/maths.scm (lpsolve): Likewise.
* gnu/packages/mp3.scm (mpc123): Likewise.
* gnu/packages/ninja.scm (ninja): Likewise.
* gnu/packages/python.scm (python-numpy, python-pyparsing): Likewise.
* gnu/packages/screen.scm (dtach): Likewise.
* gnu/packages/synergy.scm (synergy): Likewise.
* gnu/packages/textutils.scm (utf8proc): Likewise.
* gnu/packages/version-control.scm (git-test-sequence): Likewise.
* gnu/packages/wicd.scm (wicd): Likewise.
2015-08-28 20:22:22 +00:00
|
|
|
|
(for-each (lambda (f)
|
|
|
|
|
(install-file f bin))
|
|
|
|
|
(find-files "." ".*")))
|
2015-07-22 12:18:27 +00:00
|
|
|
|
(copy-recursively "doc" doc)
|
|
|
|
|
(copy-recursively "examples" examples)
|
|
|
|
|
#t))))))
|
2020-05-27 00:03:23 +00:00
|
|
|
|
(home-page "https://www.rle.mit.edu/cpg/research_codes.htm")
|
2015-07-22 12:18:27 +00:00
|
|
|
|
(synopsis "Multipole-accelerated inductance analysis program")
|
|
|
|
|
(description
|
|
|
|
|
"Fasthenry is an inductance extraction program based on a
|
|
|
|
|
multipole-accelerated algorithm.")
|
|
|
|
|
(license (license:non-copyleft #f "See induct.c."))))
|
2015-08-31 06:47:09 +00:00
|
|
|
|
|
2015-12-26 10:30:43 +00:00
|
|
|
|
(define-public fritzing
|
|
|
|
|
(package
|
|
|
|
|
(name "fritzing")
|
2022-11-10 01:27:21 +00:00
|
|
|
|
(version "0.9.6")
|
2023-04-18 20:19:59 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/fritzing/fritzing-app")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "083nz7vj7a334575smjry6257535h68gglh8a381xxa36dw96aqs"))))
|
2015-12-26 10:30:43 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2023-04-18 20:19:59 +00:00
|
|
|
|
(list
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Integrate parts library
|
|
|
|
|
(copy-recursively
|
|
|
|
|
(string-append #$(this-package-native-input "fritzing-parts")
|
|
|
|
|
"/share/library")
|
|
|
|
|
"parts")
|
|
|
|
|
;; Use system libgit2 and boost.
|
|
|
|
|
(substitute* "phoenix.pro"
|
|
|
|
|
(("^LIBGIT_STATIC.*")
|
|
|
|
|
(string-append
|
|
|
|
|
"LIBGIT2INCLUDE=" #$(this-package-input "libgit2") "/include\n"
|
|
|
|
|
"LIBGIT2LIB=" #$(this-package-input "libgit2") "/lib\n"
|
|
|
|
|
"INCLUDEPATH += $$LIBGIT2INCLUDE\n"
|
|
|
|
|
"LIBS += -L$$LIBGIT2LIB -lgit2\n"))
|
|
|
|
|
(("^.*pri/libgit2detect.pri.") ""))
|
|
|
|
|
;; Trick the internal mechanism to load the parts
|
|
|
|
|
(substitute* "src/version/partschecker.cpp"
|
|
|
|
|
((".*git_libgit2_init.*")
|
|
|
|
|
"return \"083nz7vj7a334575smjry6257535h68gglh8a381xxa36dw96aqs\";"))
|
2023-04-18 20:20:00 +00:00
|
|
|
|
;; XXX: NixOS and Gento have a phase where they generate part
|
|
|
|
|
;; SQLite library, have proper investigation if it's required in
|
|
|
|
|
;; Guix as well.
|
2023-04-18 20:19:59 +00:00
|
|
|
|
(invoke "qmake"
|
|
|
|
|
(string-append "QMAKE_LFLAGS_RPATH=-Wl,-rpath," #$output "/lib")
|
|
|
|
|
(string-append "PREFIX=" #$output)
|
|
|
|
|
"phoenix.pro"))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list fritzing-parts))
|
2015-12-26 10:30:43 +00:00
|
|
|
|
(inputs
|
2023-04-18 20:19:59 +00:00
|
|
|
|
(list boost
|
|
|
|
|
libgit2
|
|
|
|
|
qtbase-5
|
|
|
|
|
;; TODO: Needs to be renamed to qtserialport-5. when version 6 is
|
|
|
|
|
;; packed.
|
|
|
|
|
qtserialport
|
|
|
|
|
qtsvg-5
|
|
|
|
|
zlib))
|
2020-01-18 22:51:06 +00:00
|
|
|
|
(home-page "https://fritzing.org")
|
2015-12-26 10:30:43 +00:00
|
|
|
|
(synopsis "Electronic circuit design")
|
|
|
|
|
(description
|
|
|
|
|
"The Fritzing application is @dfn{Electronic Design Automation} (EDA)
|
|
|
|
|
software with a low entry barrier, suited for the needs of makers and
|
|
|
|
|
hobbyists. It offers a unique real-life \"breadboard\" view, and a parts
|
|
|
|
|
library with many commonly used high-level components. Fritzing makes it very
|
|
|
|
|
easy to communicate about circuits, as well as to turn them into PCB layouts
|
|
|
|
|
ready for production.")
|
|
|
|
|
;; Documentation and parts are released under CC-BY-SA 3.0; source code is
|
|
|
|
|
;; released under GPLv3+.
|
|
|
|
|
(license (list license:gpl3+ license:cc-by-sa3.0))))
|
|
|
|
|
|
2023-04-18 20:19:58 +00:00
|
|
|
|
(define-public fritzing-parts
|
|
|
|
|
;; XXX: Release of the parts stopped in 2016 and it looks like develop
|
|
|
|
|
;; branch has latest changes comparing to other branches.
|
|
|
|
|
(let ((commit "d61d63de9294343b1b6e86f149e78e4b1d3a0009")
|
|
|
|
|
(revision "0"))
|
|
|
|
|
(package
|
|
|
|
|
(name "fritzing-parts")
|
|
|
|
|
(version (git-version "0.9.6" revision commit))
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/fritzing/fritzing-parts")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name "fritzing-parts" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0g39ja1aqw5qx8alf61m6zcy6y78j9ky556x6x1cnd6g7kkzd861"))))
|
|
|
|
|
(build-system copy-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
#:install-plan
|
|
|
|
|
#~'(("." "share/library/"
|
|
|
|
|
#:exclude-regexp (".github.*"
|
|
|
|
|
".gitignore"
|
|
|
|
|
"CONTRIBUTING.md"
|
|
|
|
|
"LICENSE.txt"
|
|
|
|
|
"README.md")))
|
|
|
|
|
#:modules '(((guix build gnu-build-system) #:prefix gnu:)
|
|
|
|
|
(guix build copy-build-system)
|
|
|
|
|
(guix build utils)
|
|
|
|
|
(ice-9 match))))
|
|
|
|
|
(home-page "https://fritzing.org")
|
|
|
|
|
(synopsis "Electronic components (parts library) for use in the Fritzing app")
|
|
|
|
|
(description "This package contains all part definitions that are
|
|
|
|
|
required for Fritzing app.")
|
|
|
|
|
(license license:cc-by-sa3.0))))
|
|
|
|
|
|
2021-12-18 16:53:39 +00:00
|
|
|
|
(define-public qelectrotech
|
|
|
|
|
(package
|
|
|
|
|
(name "qelectrotech")
|
2023-04-01 14:11:16 +00:00
|
|
|
|
(version "0.9.0")
|
2021-12-18 16:53:39 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://git.tuxfamily.org/qet/qet.git/"
|
|
|
|
|
"snapshot/qet-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2023-04-01 14:11:16 +00:00
|
|
|
|
(base32 "1qkgagx2bk2jfzs3d91kki01y5bs5p85f4c8xjxn45hmw4rl512b"))))
|
2021-12-18 16:53:39 +00:00
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
;; XXX: tests are built for the CMake build option but it seems to be
|
|
|
|
|
;; broken in 0.8.0.
|
|
|
|
|
`(#:tests? #f
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
;; Patch hardcoded path before running qmake.
|
|
|
|
|
(substitute* "qelectrotech.pro" (("\\/usr\\/local") out))
|
|
|
|
|
(invoke "qmake")))))))
|
|
|
|
|
(native-inputs
|
2022-07-19 20:52:05 +00:00
|
|
|
|
(list pkg-config qttools-5))
|
2021-12-18 16:53:39 +00:00
|
|
|
|
(inputs
|
2022-07-17 05:11:46 +00:00
|
|
|
|
(list kcoreaddons kwidgetsaddons qtbase-5 qtsvg-5 sqlite))
|
2021-12-18 16:53:39 +00:00
|
|
|
|
(home-page "https://qelectrotech.org/")
|
|
|
|
|
(synopsis "CAD/CAE editor focusing on schematics drawing features")
|
|
|
|
|
(description "QElectroTech, or QET in short, is a desktop application to
|
|
|
|
|
create diagrams and schematics. The software is primarily intended to create
|
|
|
|
|
electrical documentation but it can also be used to draw any kinds of diagrams,
|
|
|
|
|
such as those made in pneumatics, hydraulics, process industries, electronics,
|
|
|
|
|
and others.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2015-08-31 06:47:09 +00:00
|
|
|
|
(define-public gerbv
|
|
|
|
|
(package
|
|
|
|
|
(name "gerbv")
|
2022-12-15 00:40:44 +00:00
|
|
|
|
(version "2.10.0")
|
2015-08-31 06:47:09 +00:00
|
|
|
|
(source (origin
|
2022-12-15 00:40:44 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/gerbv/gerbv")
|
|
|
|
|
(commit (string-append "v" version))))
|
2023-12-10 19:47:39 +00:00
|
|
|
|
(file-name (git-file-name name version))
|
2015-08-31 06:47:09 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-12-15 00:40:44 +00:00
|
|
|
|
"06bcm5zw7whsnnmfld3gl2j907lxc68gnsbzr2pc4w6qc923rgmj"))))
|
2015-08-31 06:47:09 +00:00
|
|
|
|
(build-system gnu-build-system)
|
2021-10-21 15:25:51 +00:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags '("CFLAGS=-fcommon")))
|
2022-12-15 00:40:44 +00:00
|
|
|
|
(native-inputs (list autoconf
|
|
|
|
|
automake
|
|
|
|
|
desktop-file-utils
|
|
|
|
|
gettext-minimal
|
|
|
|
|
`(,glib "bin")
|
|
|
|
|
libtool
|
|
|
|
|
pkg-config))
|
|
|
|
|
(inputs (list cairo
|
|
|
|
|
;; As of 2.10.0 gerbv is still GTK+2 only. GTK 3/4 porting
|
|
|
|
|
;; issue: https://github.com/gerbv/gerbv/issues/71.
|
|
|
|
|
gtk+-2))
|
|
|
|
|
(home-page "https://gerbv.github.io/")
|
2015-08-31 06:47:09 +00:00
|
|
|
|
(synopsis "Gerber file viewer")
|
|
|
|
|
(description
|
|
|
|
|
"Gerbv is a viewer for files in the Gerber format (RS-274X only), which
|
|
|
|
|
is commonly used to represent printed circuit board (PCB) layouts. Gerbv lets
|
|
|
|
|
you load several files on top of each other, do measurements on the displayed
|
|
|
|
|
image, etc. Besides viewing Gerbers, you may also view Excellon drill files
|
|
|
|
|
as well as pick-place files.")
|
|
|
|
|
(license license:gpl2+)))
|
2016-10-19 08:39:59 +00:00
|
|
|
|
|
2019-03-08 20:45:29 +00:00
|
|
|
|
(define-public translate2geda
|
|
|
|
|
;; There has been no formal release yet.
|
|
|
|
|
(let ((commit "4c19e7eefa338cea8f1ee999ea8b37f8d0698169")
|
|
|
|
|
(revision "1"))
|
|
|
|
|
(package
|
|
|
|
|
(name "translate2geda")
|
|
|
|
|
(version (git-version "0" revision commit))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/erichVK5/translate2geda")
|
2019-03-08 20:45:29 +00:00
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1h062bbpw8nk0jamkya1k4lsgaia796jyviiz2gkdi6k1bxhwgpa"))))
|
|
|
|
|
(build-system ant-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; there are no tests
|
|
|
|
|
#:jar-name "translate2geda.jar"
|
|
|
|
|
#:source-dir "."
|
|
|
|
|
#:main-class "translate2geda"
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'install-bin
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(wrapper (string-append bin "/translate2geda")))
|
|
|
|
|
(mkdir-p bin)
|
|
|
|
|
(with-output-to-file wrapper
|
|
|
|
|
(lambda _
|
|
|
|
|
(format #t "#!/bin/sh~%exec ~a -jar ~a/share/java/translate2geda.jar"
|
|
|
|
|
(which "java") out)))
|
|
|
|
|
(chmod wrapper #o555))
|
|
|
|
|
#t)))))
|
|
|
|
|
(home-page "https://github.com/erichVK5/translate2geda")
|
|
|
|
|
(synopsis "Utility for converting symbol and footprint formats to gEDA")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides a utility for converting Kicad (@file{.mod},
|
|
|
|
|
@file{.lib}), Eagle (@file{.lbr}), gerber (@file{.gbr}, etc..),
|
|
|
|
|
BXL (@file{.bxl}), IBIS (@file{.ibs}), symdef, LT-Spice (@file{.asc}),
|
|
|
|
|
QUCS (@file{.sch}), and BSDL (@file{.bsd}) symbols and footprints and EggBot
|
|
|
|
|
fonts to gEDA.")
|
|
|
|
|
(license license:gpl2+))))
|
|
|
|
|
|
2018-03-30 20:19:27 +00:00
|
|
|
|
(define-public libfive
|
2023-04-24 06:25:23 +00:00
|
|
|
|
(let ((commit "b1ea998d8adb3884ab52798f7388f4354145f452")
|
|
|
|
|
(revision "5"))
|
2016-10-19 08:39:59 +00:00
|
|
|
|
(package
|
2018-03-30 20:19:27 +00:00
|
|
|
|
(name "libfive")
|
2017-12-14 23:03:58 +00:00
|
|
|
|
(version (git-version "0" revision commit))
|
2016-10-19 08:39:59 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
2018-03-30 20:19:27 +00:00
|
|
|
|
(url "https://github.com/libfive/libfive")
|
2016-10-19 08:39:59 +00:00
|
|
|
|
(commit commit)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2023-04-24 06:25:23 +00:00
|
|
|
|
"0j91qq9d7949d2zs5wxyqd0ly644nb5690s8xnr6pchjl9z6pqxv"))
|
2020-08-19 07:46:59 +00:00
|
|
|
|
(file-name (git-file-name name version))))
|
2016-10-19 08:39:59 +00:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
2023-04-24 06:25:23 +00:00
|
|
|
|
(list
|
2023-05-10 17:46:16 +00:00
|
|
|
|
#:imported-modules `((guix build guile-build-system)
|
|
|
|
|
,@%cmake-build-system-modules)
|
|
|
|
|
#:modules '((guix build cmake-build-system)
|
|
|
|
|
((guix build guile-build-system) #:prefix guile:)
|
|
|
|
|
(guix build utils))
|
2023-04-24 06:25:23 +00:00
|
|
|
|
#:test-target "libfive-test"
|
2023-05-10 17:46:18 +00:00
|
|
|
|
#:configure-flags #~(list
|
|
|
|
|
(string-append
|
|
|
|
|
"-DPYTHON_SITE_PACKAGES_DIR="
|
|
|
|
|
#$output "/lib/python"
|
|
|
|
|
#$(version-major+minor
|
|
|
|
|
(package-version
|
|
|
|
|
(this-package-input "python-wrapper")))
|
|
|
|
|
"/site-packages"))
|
2023-04-24 06:25:23 +00:00
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'remove-native-compilation
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "CMakeLists.txt" (("-march=native") ""))))
|
2023-05-10 17:46:16 +00:00
|
|
|
|
(add-after 'unpack 'remove-environment-variable-override
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "studio/src/guile/interpreter.cpp"
|
|
|
|
|
(("qputenv\\(\"GUILE_LOAD_COMPILED_PATH\".*") ""))))
|
2023-04-24 06:25:23 +00:00
|
|
|
|
(add-after 'unpack 'fix-library-location
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "libfive/bind/guile/libfive/lib.scm"
|
|
|
|
|
(("\\(get-environment-variable \"LIBFIVE_FRAMEWORK_DIR\"\\)" m)
|
|
|
|
|
(string-append m "\n\"" #$output "/lib/\""))
|
|
|
|
|
(("\\(get-environment-variable \"LIBFIVE_STDLIB_DIR\"\\)" m)
|
2023-05-10 17:46:18 +00:00
|
|
|
|
(string-append m "\n\"" #$output "/lib/\"")))
|
|
|
|
|
(substitute* "libfive/bind/python/libfive/ffi.py"
|
|
|
|
|
(("os.environ.get\\('LIBFIVE_FRAMEWORK_DIR'\\)" m)
|
|
|
|
|
(string-append m " or \"" #$output "/lib/\"")))))
|
2023-05-10 17:46:20 +00:00
|
|
|
|
(add-before 'build 'generate-bindings
|
|
|
|
|
(lambda _
|
|
|
|
|
;; These files already exist but we regenerate them from source
|
|
|
|
|
(with-directory-excursion "../source/libfive/stdlib"
|
|
|
|
|
(substitute* '("gen_scm.py" "gen_c.py" "gen_py.py")
|
|
|
|
|
(("datetime.now\\(\\)\\.strftime\\([^)]+)") "\"N/A\"")
|
|
|
|
|
(("os\\.getlogin\\(\\)") "\"guix\""))
|
|
|
|
|
(invoke "python" "gen_scm.py")
|
|
|
|
|
(invoke "python" "gen_c.py")
|
|
|
|
|
(invoke "python" "gen_py.py"))))
|
2023-05-10 17:46:16 +00:00
|
|
|
|
(add-after 'unpack 'do-not-build-guile-bindings
|
|
|
|
|
(lambda _
|
|
|
|
|
(delete-file "libfive/bind/guile/CMakeLists.txt")
|
|
|
|
|
(call-with-output-file
|
|
|
|
|
"libfive/bind/guile/CMakeLists.txt"
|
|
|
|
|
(lambda (port)
|
|
|
|
|
(display "add_custom_target(libfive-guile)\n" port)))))
|
|
|
|
|
(add-after 'build 'guile-build
|
|
|
|
|
(lambda args
|
|
|
|
|
(apply (assoc-ref guile:%standard-phases 'build)
|
|
|
|
|
#:source-directory "../source/libfive/bind/guile"
|
|
|
|
|
args)))
|
|
|
|
|
(add-after 'install 'wrap-studio
|
2023-04-24 06:25:23 +00:00
|
|
|
|
(lambda _
|
2023-05-10 17:46:16 +00:00
|
|
|
|
(let* ((effective-version (guile:target-guile-effective-version))
|
|
|
|
|
(scm (string-append #$output "/share/guile/site/"
|
|
|
|
|
effective-version))
|
|
|
|
|
(go (string-append #$output "/lib/guile/"
|
2023-05-10 17:46:18 +00:00
|
|
|
|
effective-version "/site-ccache"))
|
|
|
|
|
(py (string-append #$output "/lib/python"
|
|
|
|
|
#$(version-major+minor
|
|
|
|
|
(package-version
|
|
|
|
|
(this-package-input "python-wrapper")))
|
|
|
|
|
"/site-packages")))
|
2023-05-10 17:46:16 +00:00
|
|
|
|
(wrap-program (string-append #$output "/bin/Studio")
|
|
|
|
|
`("GUILE_LOAD_PATH" ":" prefix (,scm))
|
2023-05-10 17:46:18 +00:00
|
|
|
|
`("GUILE_LOAD_COMPILED_PATH" ":" prefix (,go))
|
|
|
|
|
`("GUIX_PYTHONPATH" ":" prefix (,py)))))))))
|
2016-10-19 08:39:59 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list pkg-config))
|
2016-10-19 08:39:59 +00:00
|
|
|
|
(inputs
|
2023-05-10 17:46:18 +00:00
|
|
|
|
(list bash-minimal boost eigen guile-3.0 libpng python-wrapper qtbase))
|
2018-03-30 20:19:27 +00:00
|
|
|
|
(home-page "https://libfive.com")
|
2016-10-19 08:39:59 +00:00
|
|
|
|
(synopsis "Tool for programmatic computer-aided design")
|
|
|
|
|
(description
|
2018-03-30 20:19:27 +00:00
|
|
|
|
"Libfive is a tool for programmatic computer-aided design (CAD). In
|
2023-05-10 17:46:18 +00:00
|
|
|
|
libfive, solid models are defined as Scheme or Python scripts, and there are
|
|
|
|
|
no opaque function calls into the geometry kernel: everything is visible to
|
|
|
|
|
the user. Even fundamental, primitive shapes are represented as code in the
|
|
|
|
|
user-level language.")
|
2019-12-19 22:14:54 +00:00
|
|
|
|
(license (list license:mpl2.0 ;library
|
2021-12-04 17:07:54 +00:00
|
|
|
|
license:gpl2+)) ;Guile bindings and GUI
|
|
|
|
|
|
|
|
|
|
;; Mark as tunable to take advantage of SIMD code in Eigen.
|
|
|
|
|
(properties '((tunable? . #t))))))
|
2018-03-30 20:19:27 +00:00
|
|
|
|
|
2020-09-09 10:22:42 +00:00
|
|
|
|
(define-public inspekt3d
|
|
|
|
|
(let ((commit "703f52ccbfedad2bf5240bf8183d1b573c9d54ef")
|
|
|
|
|
(revision "0"))
|
|
|
|
|
(package
|
|
|
|
|
(name "inspekt3d")
|
|
|
|
|
(version (git-version "0" revision commit))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://gitlab.com/kavalogic-inc/inspekt3d.git")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-11-12 16:14:00 +00:00
|
|
|
|
"0lan6930g5a9z4ack9jj0zdd0mb2s6q2xzpiwcjdc3pvl9b1nbw4"))
|
|
|
|
|
(modules '((guix build utils)))
|
2023-04-24 07:52:29 +00:00
|
|
|
|
;; Allow builds with Guile 3.0.
|
2020-11-12 16:14:00 +00:00
|
|
|
|
(snippet
|
2023-04-24 07:52:29 +00:00
|
|
|
|
'(substitute* "configure.ac"
|
|
|
|
|
(("2\\.2") "3.0 2.2")))))
|
2020-09-09 10:22:42 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2023-04-24 07:53:06 +00:00
|
|
|
|
(list
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-libfive-guile-location
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "inspekt3d/library.scm"
|
|
|
|
|
(("\\(load-extension \"libfive-guile\" \"scm_init_libfive_modules\"\\)") "#t")
|
|
|
|
|
(("\"libfive-guile")
|
|
|
|
|
(string-append "\""
|
|
|
|
|
#$(this-package-input "libfive")
|
|
|
|
|
"/lib/libfive-stdlib"))))))))
|
2020-09-09 10:22:42 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list autoconf automake pkg-config))
|
2020-09-09 10:22:42 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list mesa guile-3.0))
|
2020-09-09 10:22:42 +00:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("libfive" ,libfive)
|
2020-11-12 16:14:00 +00:00
|
|
|
|
("guile-opengl" ,guile3.0-opengl)))
|
2020-09-09 10:22:42 +00:00
|
|
|
|
(home-page "https://gitlab.com/kavalogic-inc/inspekt3d/")
|
|
|
|
|
(synopsis "Lightweight 3D viewer for Libfive written in Guile Scheme")
|
|
|
|
|
(description
|
|
|
|
|
"Inspekt3d is a lightweight 3D viewer for Libfive written in Guile Scheme.
|
|
|
|
|
The viewer can be used interactively with a REPL (for example Geiser in
|
|
|
|
|
Emacs).")
|
|
|
|
|
(license license:gpl3+))))
|
|
|
|
|
|
2016-11-15 20:53:23 +00:00
|
|
|
|
(define-public kicad
|
2020-02-16 21:28:34 +00:00
|
|
|
|
(package
|
|
|
|
|
(name "kicad")
|
2024-02-23 16:06:21 +00:00
|
|
|
|
(version "7.0.11")
|
2022-01-09 22:04:57 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://gitlab.com/kicad/code/kicad.git")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2024-02-23 16:06:21 +00:00
|
|
|
|
"1qn7w6pb1n5gx73z1zqbv140chh4307y8764z7xkdvric9i48qj4"))
|
2022-01-09 22:04:57 +00:00
|
|
|
|
(file-name (git-file-name name version))))
|
2020-02-16 21:28:34 +00:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:out-of-source? #t
|
2022-01-09 22:04:57 +00:00
|
|
|
|
#:tests? #f ;no tests
|
2020-02-16 21:28:34 +00:00
|
|
|
|
#:build-type "Release"
|
|
|
|
|
#:configure-flags
|
2022-01-09 22:04:57 +00:00
|
|
|
|
,#~(list "-DKICAD_SCRIPTING_PYTHON3=ON"
|
|
|
|
|
(string-append "-DOCC_INCLUDE_DIR="
|
|
|
|
|
#$(this-package-input "opencascade-occt")
|
|
|
|
|
"/include/opencascade")
|
|
|
|
|
"-DKICAD_SCRIPTING_WXPYTHON_PHOENIX=ON"
|
gnu: wxWidgets: Update to 3.2.1.
* gnu/packages/wxwidgets.scm (wxwidgets): Update to 3.2.1.
[source](modules, snippet): New fields.
[inputs]: Remove SDL. Add CATCH-FRAMEWORK, EXPAT, GSTREAMER,
GST-PLUGINS-BASE, LIBNOTIFY, LIBPNG, LIBSECRET, PCRE, SDL2,
WEBKITGTK-WITH-LIBSOUP2, and ZLIB
[arguments]: Add "--enable-mediactrl" and "--enable-gui" to #:configure-flags.
Remove aarch64 workaround. Install catch header in refer-to-inputs phase.
Add phase to adjust WebKitGTK version.
(wxwidgets-3.1, wxwidgets-gtk2-3.1): Remove variables.
(wxwidgets-3.0, (wxwidgets-gtk2-3.0): New variables.
(wxsvg)[inputs]: Change from WXWIDGETS-3.1 to WXWIDGETS.
* gnu/packages/audio.scm (audacity)[inputs]: Likewise.
* gnu/packages/cdrom.scm (dvdstyler)[inputs]: Likewise.
* gnu/packages/astronomy.scm (imppg)[inputs]: Change from WXWIDGETS to
WXWIDGETS-3.0.
* gnu/packages/ftp.scm (filezilla)[inputs]: Likewise.
* gnu/packages/games.scm (megaglest)[inputs]: Likewise.
* gnu/packages/geo.scm (opencpn)[inputs]: Likewise.
* gnu/packages/music.scm (sooperlooper)[inputs]: Likewise.
* gnu/packages/engineering.scm (kicad)[arguments]: Enable EGL support.
2022-11-26 16:43:26 +00:00
|
|
|
|
"-DKICAD_USE_EGL=ON" ;because wxWidgets uses EGL
|
2022-01-09 22:04:57 +00:00
|
|
|
|
"-DCMAKE_BUILD_WITH_INSTALL_RPATH=TRUE")
|
2020-02-16 21:28:34 +00:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2021-05-20 21:35:48 +00:00
|
|
|
|
(add-after 'unpack 'fix-ngspice-detection
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "eeschema/CMakeLists.txt"
|
|
|
|
|
(("NGSPICE_DLL_FILE=\"\\$\\{NGSPICE_DLL_FILE\\}\"")
|
|
|
|
|
(string-append "NGSPICE_DLL_FILE=\""
|
|
|
|
|
(assoc-ref inputs "libngspice")
|
|
|
|
|
"/lib/libngspice.so\"")))))
|
2020-02-16 21:28:34 +00:00
|
|
|
|
(add-after 'install 'wrap-program
|
|
|
|
|
;; Ensure correct Python at runtime.
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(python (assoc-ref inputs "python"))
|
|
|
|
|
(file (string-append out "/bin/kicad"))
|
2022-01-09 22:04:57 +00:00
|
|
|
|
(path (string-append out "/lib/python"
|
|
|
|
|
,(version-major+minor (package-version
|
|
|
|
|
python))
|
|
|
|
|
"/site-packages:"
|
|
|
|
|
(getenv "GUIX_PYTHONPATH"))))
|
2020-02-16 21:28:34 +00:00
|
|
|
|
(wrap-program file
|
2022-01-09 22:04:57 +00:00
|
|
|
|
`("GUIX_PYTHONPATH" ":" prefix
|
|
|
|
|
(,path))
|
2020-02-16 21:28:34 +00:00
|
|
|
|
`("PATH" ":" prefix
|
2022-01-09 22:04:57 +00:00
|
|
|
|
(,(string-append python "/bin:"))))))))))
|
2020-02-16 21:28:34 +00:00
|
|
|
|
(native-search-paths
|
|
|
|
|
(list (search-path-specification
|
2022-01-09 22:04:57 +00:00
|
|
|
|
(variable "KICAD") ;to find kicad-doc
|
2020-07-04 16:01:24 +00:00
|
|
|
|
(files '("")))
|
|
|
|
|
(search-path-specification
|
2023-02-22 19:44:27 +00:00
|
|
|
|
(variable "KICAD7_TEMPLATE_DIR")
|
2020-02-16 21:28:34 +00:00
|
|
|
|
(files '("share/kicad/template")))
|
|
|
|
|
(search-path-specification
|
2023-02-22 19:44:27 +00:00
|
|
|
|
(variable "KICAD7_SYMBOL_DIR")
|
2022-08-01 20:11:41 +00:00
|
|
|
|
(files '("share/kicad/symbols")))
|
2020-02-16 21:28:34 +00:00
|
|
|
|
(search-path-specification
|
2023-02-22 19:44:27 +00:00
|
|
|
|
(variable "KICAD7_FOOTPRINT_DIR")
|
2022-08-01 20:11:41 +00:00
|
|
|
|
(files '("share/kicad/footprints")))
|
2020-02-16 21:28:34 +00:00
|
|
|
|
(search-path-specification
|
2023-02-22 19:44:27 +00:00
|
|
|
|
(variable "KICAD7_3DMODEL_DIR")
|
2022-08-01 20:11:41 +00:00
|
|
|
|
(files '("share/kicad/3dmodels")))))
|
2022-01-09 22:04:57 +00:00
|
|
|
|
(native-inputs (list boost
|
|
|
|
|
desktop-file-utils
|
|
|
|
|
gettext-minimal
|
|
|
|
|
pkg-config
|
|
|
|
|
swig
|
2023-02-13 18:08:55 +00:00
|
|
|
|
unixodbc
|
2022-01-09 22:04:57 +00:00
|
|
|
|
zlib))
|
|
|
|
|
(inputs (list bash-minimal
|
|
|
|
|
cairo
|
|
|
|
|
curl
|
|
|
|
|
glew
|
|
|
|
|
glm
|
|
|
|
|
hicolor-icon-theme
|
|
|
|
|
libngspice
|
|
|
|
|
libsm
|
|
|
|
|
mesa
|
|
|
|
|
opencascade-occt
|
|
|
|
|
openssl
|
|
|
|
|
python-wrapper
|
|
|
|
|
gtk+
|
|
|
|
|
wxwidgets
|
2022-11-02 13:31:45 +00:00
|
|
|
|
python-wxpython
|
|
|
|
|
gdk-pixbuf))
|
2021-10-27 21:44:44 +00:00
|
|
|
|
(home-page "https://www.kicad.org/")
|
2020-02-16 21:28:34 +00:00
|
|
|
|
(synopsis "Electronics Design Automation Suite")
|
2022-01-09 22:04:57 +00:00
|
|
|
|
(description
|
|
|
|
|
"Kicad is a program for the formation of printed circuit
|
2016-11-15 20:53:23 +00:00
|
|
|
|
boards and electrical circuits. The software has a number of programs that
|
|
|
|
|
perform specific functions, for example, pcbnew (Editing PCB), eeschema (editing
|
|
|
|
|
electrical diagrams), gerbview (viewing Gerber files) and others.")
|
2020-02-16 21:28:34 +00:00
|
|
|
|
(license license:gpl3+)))
|
2016-11-15 20:53:24 +00:00
|
|
|
|
|
2020-07-04 16:01:24 +00:00
|
|
|
|
(define-public kicad-doc
|
|
|
|
|
(package
|
|
|
|
|
(name "kicad-doc")
|
2021-09-30 17:48:25 +00:00
|
|
|
|
(version (package-version kicad))
|
2020-07-04 16:01:24 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://gitlab.com/kicad/services/kicad-doc.git")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2024-02-23 16:06:21 +00:00
|
|
|
|
"10iwp35xywdz15a83vialzfd46rjw6mlz174dxawm2rw4ws2n7j4"))))
|
2020-07-04 16:01:24 +00:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags (list "-DBUILD_FORMATS=html")
|
2022-01-09 22:04:57 +00:00
|
|
|
|
#:tests? #f ;no test suite
|
2020-07-04 16:01:24 +00:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2021-07-07 19:22:33 +00:00
|
|
|
|
(delete 'build))))
|
2022-01-09 22:04:57 +00:00
|
|
|
|
(native-inputs (list asciidoc
|
|
|
|
|
gettext-minimal
|
|
|
|
|
git-minimal
|
|
|
|
|
perl
|
|
|
|
|
perl-unicode-linebreak
|
|
|
|
|
perl-yaml-tiny
|
|
|
|
|
po4a
|
|
|
|
|
ruby-asciidoctor
|
|
|
|
|
source-highlight))
|
2020-07-04 16:01:24 +00:00
|
|
|
|
(home-page "https://kicad.org")
|
|
|
|
|
(synopsis "KiCad official documentation")
|
|
|
|
|
(description "This repository contains the official KiCad documentation.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2018-10-10 10:16:51 +00:00
|
|
|
|
(define-public kicad-symbols
|
|
|
|
|
(package
|
|
|
|
|
(name "kicad-symbols")
|
2020-05-15 20:22:09 +00:00
|
|
|
|
(version (package-version kicad))
|
2018-10-10 10:16:51 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
2021-09-30 17:48:25 +00:00
|
|
|
|
(url "https://gitlab.com/kicad/libraries/kicad-symbols.git")
|
2018-10-10 10:16:51 +00:00
|
|
|
|
(commit version)))
|
2019-03-11 21:47:21 +00:00
|
|
|
|
(file-name (git-file-name name version))
|
2018-10-10 10:16:51 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2024-02-23 16:06:21 +00:00
|
|
|
|
"057zmhf4h3p3p4y6jqxch9cj1wqf129k6kmvx2gshb9lgda0kjr8"))))
|
2018-10-10 10:16:51 +00:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
2020-01-01 22:52:27 +00:00
|
|
|
|
`(#:tests? #f)) ; no tests exist
|
2020-05-15 20:22:09 +00:00
|
|
|
|
(home-page (package-home-page kicad))
|
2020-02-16 21:28:33 +00:00
|
|
|
|
(synopsis "Official KiCad schematic symbol libraries")
|
2018-10-10 10:16:51 +00:00
|
|
|
|
(description "This package contains the official KiCad schematic symbol
|
2020-02-16 21:28:33 +00:00
|
|
|
|
libraries.")
|
2020-01-01 22:52:27 +00:00
|
|
|
|
;; TODO: Exception: "To the extent that the creation of electronic designs
|
|
|
|
|
;; that use 'Licensed Material' can be considered to be 'Adapted Material',
|
|
|
|
|
;; then the copyright holder waives article 3 of the license with respect to
|
|
|
|
|
;; these designs and any generated files which use data provided as part of
|
|
|
|
|
;; the 'Licensed Material'."
|
2018-10-10 10:16:51 +00:00
|
|
|
|
;; See <https://github.com/KiCad/kicad-symbols/blob/master/LICENSE.md>.
|
|
|
|
|
(license license:cc-by-sa4.0)))
|
|
|
|
|
|
2020-02-16 21:28:29 +00:00
|
|
|
|
(define-public kicad-footprints
|
|
|
|
|
(package
|
|
|
|
|
(inherit kicad-symbols)
|
|
|
|
|
(name "kicad-footprints")
|
2020-05-15 20:22:09 +00:00
|
|
|
|
(version (package-version kicad))
|
2020-02-16 21:28:29 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
2021-09-30 17:48:25 +00:00
|
|
|
|
(url "https://gitlab.com/kicad/libraries/kicad-footprints.git")
|
2020-02-16 21:28:29 +00:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2024-02-23 16:06:21 +00:00
|
|
|
|
"1r9v8v41n0yrgwsqaksskmdgb9vyw1sb92xh81bwrv2ag3p5vdg7"))))
|
2020-02-16 21:28:29 +00:00
|
|
|
|
(synopsis "Official KiCad footprint libraries")
|
|
|
|
|
(description "This package contains the official KiCad footprint libraries.")))
|
|
|
|
|
|
2020-02-16 21:28:30 +00:00
|
|
|
|
(define-public kicad-packages3d
|
|
|
|
|
(package
|
|
|
|
|
(inherit kicad-symbols)
|
|
|
|
|
(name "kicad-packages3d")
|
2020-05-15 20:22:09 +00:00
|
|
|
|
(version (package-version kicad))
|
2020-02-16 21:28:30 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
2021-09-30 17:48:25 +00:00
|
|
|
|
(url "https://gitlab.com/kicad/libraries/kicad-packages3D.git")
|
2020-02-16 21:28:30 +00:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2024-02-23 16:06:21 +00:00
|
|
|
|
"0lcy1av7ixg1f7arflk50jllpc1749sfvf3h62hkxsz97wkr97xj"))))
|
2020-02-16 21:28:30 +00:00
|
|
|
|
(synopsis "Official KiCad 3D model libraries")
|
|
|
|
|
(description "This package contains the official KiCad 3D model libraries.")))
|
|
|
|
|
|
2020-02-16 21:28:31 +00:00
|
|
|
|
(define-public kicad-templates
|
|
|
|
|
(package
|
|
|
|
|
(inherit kicad-symbols)
|
|
|
|
|
(name "kicad-templates")
|
2020-05-15 20:22:09 +00:00
|
|
|
|
(version (package-version kicad))
|
2020-02-16 21:28:31 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
2021-09-30 17:48:25 +00:00
|
|
|
|
(url "https://gitlab.com/kicad/libraries/kicad-templates.git")
|
2020-02-16 21:28:31 +00:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2024-01-02 20:20:50 +00:00
|
|
|
|
"0mykfwwik7472i4r0isc5szj3dnmvd0538p0vlmzh4rcgj3pj3vm"))))
|
2020-02-16 21:28:31 +00:00
|
|
|
|
(synopsis "Official KiCad project and worksheet templates")
|
|
|
|
|
(description "This package contains the official KiCad project and
|
|
|
|
|
worksheet templates.")))
|
|
|
|
|
|
2022-04-07 13:40:43 +00:00
|
|
|
|
(define-public librseq
|
|
|
|
|
;; There's no release.
|
|
|
|
|
(let ((commit "170f840b498e1aff068b90188727a656111bfc2f")
|
|
|
|
|
(revision "1"))
|
|
|
|
|
(package
|
|
|
|
|
(name "librseq")
|
|
|
|
|
(version (git-version "0.0.0" revision commit))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/compudj/librseq.git")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0rdx59y8y9x8cfmmx5gl66gibkzpk3kw5lrrqhrxan8zr37a055y"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs (list autoconf automake libtool))
|
|
|
|
|
(home-page "https://github.com/compudj/librseq")
|
|
|
|
|
(synopsis "Userspace library for restartable sequences")
|
|
|
|
|
(description "A restartable sequence is a critical region delimited by a
|
|
|
|
|
program where if its execution is preempted or interrupted, the kernel will
|
|
|
|
|
divert the program control flow to a defined abort handler. They are a good
|
|
|
|
|
alternative to atomic operations for critical fast paths and are usually used
|
|
|
|
|
in the context of per-cpu data. The library offers ABI headers to interface
|
|
|
|
|
with the kernel and various utilities such as per-cpu counters.")
|
|
|
|
|
(license (list license:lgpl2.1 license:expat)))))
|
|
|
|
|
|
2017-02-28 20:26:37 +00:00
|
|
|
|
(define-public linsmith
|
|
|
|
|
(package
|
|
|
|
|
(name "linsmith")
|
2023-07-09 00:00:02 +00:00
|
|
|
|
(version "0.99.33")
|
2017-02-28 20:26:37 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://sourceforge/linsmith/linsmith/linsmith-"
|
|
|
|
|
version "/linsmith-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2023-07-09 00:00:02 +00:00
|
|
|
|
"1629p29casy9pgy8hzva1bmgrvh923qk01ls3anik6zqn6swkjfn"))))
|
2017-02-28 20:26:37 +00:00
|
|
|
|
(build-system gnu-build-system)
|
2021-11-22 17:24:00 +00:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags '("CFLAGS=-fcommon")))
|
2017-02-28 20:26:37 +00:00
|
|
|
|
(native-inputs
|
2023-07-09 00:00:01 +00:00
|
|
|
|
(list pkg-config))
|
|
|
|
|
(inputs
|
|
|
|
|
(list gtk+-2 libgnomeui))
|
2018-06-06 03:17:02 +00:00
|
|
|
|
(home-page "https://jcoppens.com/soft/linsmith/index.en.php")
|
2017-02-28 20:26:37 +00:00
|
|
|
|
(synopsis "Smith Charting program")
|
|
|
|
|
(description "LinSmith is a Smith Charting program, mainly designed for
|
|
|
|
|
educational use. As such, there is an emphasis on capabilities that improve
|
|
|
|
|
the 'showing the effect of'-style of operation.")
|
|
|
|
|
(license license:gpl2+)))
|
2017-04-22 21:35:47 +00:00
|
|
|
|
|
2021-12-03 20:37:32 +00:00
|
|
|
|
(define-public valeronoi
|
2023-10-17 08:21:54 +00:00
|
|
|
|
(package
|
|
|
|
|
(name "valeronoi")
|
|
|
|
|
(version "0.2.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/ccoors/Valeronoi")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1qkhrqkjsmm0h1bxf2ihkqfhdr18xx5x1i2ds1mla13zm0bw2570"))
|
|
|
|
|
(snippet #~(begin
|
|
|
|
|
(use-modules (guix build utils))
|
|
|
|
|
(delete-file-recursively "3rdparty")
|
|
|
|
|
(substitute* '("tests/test_colormap.cpp"
|
|
|
|
|
"tests/test_main.cpp")
|
|
|
|
|
(("catch\\.hpp")
|
|
|
|
|
"catch2/catch.hpp"))))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases (modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
|
(when tests?
|
|
|
|
|
(invoke "./valeronoi-tests")))))))
|
|
|
|
|
(inputs (list boost
|
|
|
|
|
cgal
|
|
|
|
|
gmp
|
|
|
|
|
libxkbcommon
|
|
|
|
|
mpfr
|
|
|
|
|
openssl
|
|
|
|
|
qtbase
|
|
|
|
|
qtsvg))
|
|
|
|
|
(native-inputs (list catch2))
|
|
|
|
|
(home-page "https://github.com/ccoors/Valeronoi")
|
|
|
|
|
(synopsis "WiFi mapping companion application for Valetudo")
|
|
|
|
|
(description
|
|
|
|
|
"Valeronoi (Valetudo + Voronoi) is a companion for Valetudo for generating
|
2021-12-03 20:37:32 +00:00
|
|
|
|
WiFi signal strength maps. It visualizes them using a Voronoi diagram.")
|
2023-10-17 08:21:54 +00:00
|
|
|
|
(license license:gpl3+)))
|
2021-12-03 20:37:32 +00:00
|
|
|
|
|
2017-04-22 21:35:47 +00:00
|
|
|
|
(define-public volk
|
|
|
|
|
(package
|
|
|
|
|
(name "volk")
|
2023-03-25 18:23:44 +00:00
|
|
|
|
(version "3.0.0")
|
2017-04-22 21:35:47 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2020-11-25 20:11:00 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/gnuradio/volk")
|
2020-11-25 21:05:50 +00:00
|
|
|
|
(commit (string-append "v" version))
|
|
|
|
|
(recursive? #t))) ; for cpu_features git submodule
|
2020-11-25 20:11:00 +00:00
|
|
|
|
(file-name (git-file-name name version))
|
2017-04-22 21:35:47 +00:00
|
|
|
|
(sha256
|
2023-03-25 18:23:44 +00:00
|
|
|
|
(base32 "0a59lnjh6hx2bmyn04f8r0ymwss1ss1iih2jwrl9jblkxsw0i3lh"))))
|
2017-04-22 21:35:47 +00:00
|
|
|
|
(build-system cmake-build-system)
|
2020-04-14 07:24:25 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2023-03-25 18:23:44 +00:00
|
|
|
|
(add-after 'unpack 'disable-check-lgpl-test
|
|
|
|
|
;; Disable the failing check-lgpl test that is supposed to be run
|
|
|
|
|
;; only by upstream developers to check the authors and licenses
|
|
|
|
|
;; of contributions in the git history.
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "scripts/licensing/count_contrib.sh"
|
|
|
|
|
(("#!/bin/bash" all)
|
|
|
|
|
(string-append all "\nexit 0")))))
|
2020-11-25 21:30:02 +00:00
|
|
|
|
(add-after 'install 'remove-static-libraries
|
|
|
|
|
;; Remove libcpu_features.a (and any others that might appear).
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(lib (string-append out "/lib")))
|
|
|
|
|
(for-each delete-file (find-files lib "\\.a$"
|
2023-03-25 18:23:44 +00:00
|
|
|
|
#:fail-on-error? #t)))))
|
2020-04-14 07:24:25 +00:00
|
|
|
|
(add-after 'install 'wrap-pythonpath
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(python (assoc-ref inputs "python"))
|
|
|
|
|
(file (string-append out "/bin/volk_modtool"))
|
|
|
|
|
(path (string-append
|
|
|
|
|
out
|
|
|
|
|
"/lib/python"
|
|
|
|
|
,(version-major+minor
|
|
|
|
|
(package-version python))
|
|
|
|
|
"/site-packages:"
|
gnu: Adjust package collection to Wrap using GUIX_PYTHONPATH.
This change was automated using:
$ git ls-files | grep .scm | \
xargs sed 's/(getenv "PYTHONPATH")/(getenv "GUIX_PYTHONPATH")/' -i
$ git ls-files | grep .scm | \
xargs sed 's/`("PYTHONPATH"/`("GUIX_PYTHONPATH"/' -i
* gnu/packages/admin.scm (nmap):
(dstat): Wrap using GUIX_PYTHONPATH.
* gnu/packages/audio.scm (jack-2):
(carla): Likewise.
* gnu/packages/benchmark.scm (fio): Likewise.
* gnu/packages/bioinformatics.scm (couger): Likewise.
(gess, find-circ, filtlong, nanopolish): Likewise.
* gnu/packages/cdrom.scm (cdemu-client): Likewise.
* gnu/packages/chemistry.scm (avogadro): Likewise.
* gnu/packages/connman.scm (econnman): Likewise.
* gnu/packages/cups.scm (hplip): Likewise.
* gnu/packages/debug.scm (scanmem): Likewise.
* gnu/packages/display-managers.scm (lightdm): Likewise.
* gnu/packages/ebook.scm (cozy): Likewise.
* gnu/packages/education.scm (anki): Likewise.
* gnu/packages/engineering.scm (kicad, volk, freecad): Likewise.
* gnu/packages/game-development.scm (renpy): Likewise.
* gnu/packages/games.scm (roguebox-adventures)
(seahorse-adventures, kajongg): Likewise.
* gnu/packages/gimp.scm (gimp, glimpse): Likewise.
* gnu/packages/glib.scm (itstool): Likewise.
* gnu/packages/gnome.scm (gnome-music, gtg, rhythmbox): Likewise.
(eolie, d-feet, gedit, caribou, gnome-shell, authenticator)
(gnome-todo, orca, passwordsafe, terminator, setzer)
(libratbag, komikku): Likewise.
* gnu/packages/gps.scm (gpsd): Likewise.
* gnu/packages/gtk.scm (gtk-doc): Likewise.
* gnu/packages/ibus.scm (ibus, ibus-libpinyin, ibus-anthy)
(ibus-libhangul): Likewise.
* gnu/packages/inkscape.scm (inkscape-1.0): Likewise.
* gnu/packages/linux.scm (bcc): Likewise.
* gnu/packages/mail.scm (notifymuch): Likewise.
* gnu/packages/maths.scm (units): Likewise.
* gnu/packages/music.scm (solfege): Likewise.
* gnu/packages/networking.scm (blueman): Likewise.
* gnu/packages/patchutils.scm (patchwork): Likewise.
* gnu/packages/photo.scm (rapid-photo-downloader, entangle): Likewise.
* gnu/packages/plotutils.scm (asymptote): Likewise.
* gnu/packages/presentation.scm (presentty): Likewise.
* gnu/packages/screen.scm (byobu): Likewise.
* gnu/packages/storage.scm (ceph): Likewise.
* gnu/packages/syndication.scm (liferea): Likewise.
* gnu/packages/task-management.scm (blanket): Likewise.
* gnu/packages/text-editors.scm (manuskript): Likewise.
* gnu/packages/version-control.scm (gitless, cgit, git-when-merged)
(git-imerge): Likewise.
* gnu/packages/video.scm (pitivi): Likewise.
* gnu/packages/virtualization.scm (criu): Likewise.
* gnu/packages/xfce.scm (catfish): Likewise.
2021-01-27 22:33:13 +00:00
|
|
|
|
(getenv "GUIX_PYTHONPATH"))))
|
2020-04-14 07:24:25 +00:00
|
|
|
|
(wrap-program file
|
gnu: Adjust package collection to Wrap using GUIX_PYTHONPATH.
This change was automated using:
$ git ls-files | grep .scm | \
xargs sed 's/(getenv "PYTHONPATH")/(getenv "GUIX_PYTHONPATH")/' -i
$ git ls-files | grep .scm | \
xargs sed 's/`("PYTHONPATH"/`("GUIX_PYTHONPATH"/' -i
* gnu/packages/admin.scm (nmap):
(dstat): Wrap using GUIX_PYTHONPATH.
* gnu/packages/audio.scm (jack-2):
(carla): Likewise.
* gnu/packages/benchmark.scm (fio): Likewise.
* gnu/packages/bioinformatics.scm (couger): Likewise.
(gess, find-circ, filtlong, nanopolish): Likewise.
* gnu/packages/cdrom.scm (cdemu-client): Likewise.
* gnu/packages/chemistry.scm (avogadro): Likewise.
* gnu/packages/connman.scm (econnman): Likewise.
* gnu/packages/cups.scm (hplip): Likewise.
* gnu/packages/debug.scm (scanmem): Likewise.
* gnu/packages/display-managers.scm (lightdm): Likewise.
* gnu/packages/ebook.scm (cozy): Likewise.
* gnu/packages/education.scm (anki): Likewise.
* gnu/packages/engineering.scm (kicad, volk, freecad): Likewise.
* gnu/packages/game-development.scm (renpy): Likewise.
* gnu/packages/games.scm (roguebox-adventures)
(seahorse-adventures, kajongg): Likewise.
* gnu/packages/gimp.scm (gimp, glimpse): Likewise.
* gnu/packages/glib.scm (itstool): Likewise.
* gnu/packages/gnome.scm (gnome-music, gtg, rhythmbox): Likewise.
(eolie, d-feet, gedit, caribou, gnome-shell, authenticator)
(gnome-todo, orca, passwordsafe, terminator, setzer)
(libratbag, komikku): Likewise.
* gnu/packages/gps.scm (gpsd): Likewise.
* gnu/packages/gtk.scm (gtk-doc): Likewise.
* gnu/packages/ibus.scm (ibus, ibus-libpinyin, ibus-anthy)
(ibus-libhangul): Likewise.
* gnu/packages/inkscape.scm (inkscape-1.0): Likewise.
* gnu/packages/linux.scm (bcc): Likewise.
* gnu/packages/mail.scm (notifymuch): Likewise.
* gnu/packages/maths.scm (units): Likewise.
* gnu/packages/music.scm (solfege): Likewise.
* gnu/packages/networking.scm (blueman): Likewise.
* gnu/packages/patchutils.scm (patchwork): Likewise.
* gnu/packages/photo.scm (rapid-photo-downloader, entangle): Likewise.
* gnu/packages/plotutils.scm (asymptote): Likewise.
* gnu/packages/presentation.scm (presentty): Likewise.
* gnu/packages/screen.scm (byobu): Likewise.
* gnu/packages/storage.scm (ceph): Likewise.
* gnu/packages/syndication.scm (liferea): Likewise.
* gnu/packages/task-management.scm (blanket): Likewise.
* gnu/packages/text-editors.scm (manuskript): Likewise.
* gnu/packages/version-control.scm (gitless, cgit, git-when-merged)
(git-imerge): Likewise.
* gnu/packages/video.scm (pitivi): Likewise.
* gnu/packages/virtualization.scm (criu): Likewise.
* gnu/packages/xfce.scm (catfish): Likewise.
2021-01-27 22:33:13 +00:00
|
|
|
|
`("GUIX_PYTHONPATH" ":" prefix (,path))
|
2020-04-14 07:24:25 +00:00
|
|
|
|
`("PATH" ":" prefix
|
2023-03-25 18:23:44 +00:00
|
|
|
|
(,(string-append python "/bin:"))))))))))
|
2017-04-22 21:35:47 +00:00
|
|
|
|
(inputs
|
2020-06-15 11:40:20 +00:00
|
|
|
|
`(("boost" ,boost)
|
|
|
|
|
("python" ,python-wrapper)
|
2020-04-14 07:24:25 +00:00
|
|
|
|
("python-mako" ,python-mako)))
|
|
|
|
|
(home-page "https://www.libvolk.org/")
|
2017-04-22 21:35:47 +00:00
|
|
|
|
(synopsis "Vector-Optimized Library of Kernels")
|
|
|
|
|
(description
|
2020-06-15 12:35:22 +00:00
|
|
|
|
"@acronym{VOLK, Vector-Optimized Library of Kernels} contains procedures
|
|
|
|
|
with machine-specific optimizations for mathematical functions. It also
|
|
|
|
|
provides a machine-independent interface to select the best such procedures to
|
|
|
|
|
use on a given system.")
|
2023-03-25 18:23:44 +00:00
|
|
|
|
(license (list license:asl2.0 ; cpu_features
|
|
|
|
|
license:lgpl3+))))
|
2017-06-10 14:06:34 +00:00
|
|
|
|
|
2020-08-09 15:53:46 +00:00
|
|
|
|
(define-public libredwg
|
|
|
|
|
(package
|
|
|
|
|
(name "libredwg")
|
2022-02-07 13:52:44 +00:00
|
|
|
|
(version "0.12.5")
|
2020-08-09 15:53:46 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/libredwg/libredwg-"
|
2022-02-07 13:52:44 +00:00
|
|
|
|
version ".tar.xz"))
|
2020-08-09 15:53:46 +00:00
|
|
|
|
(sha256
|
2022-02-07 13:52:44 +00:00
|
|
|
|
(base32 "1gginbl76vmpccjwx93cmg8ibap8l40swly3bjv7rhmdwv6ikpnk"))))
|
2020-08-09 15:53:46 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags '("--disable-bindings")))
|
|
|
|
|
(native-inputs
|
2022-02-07 13:52:44 +00:00
|
|
|
|
(list libxml2
|
|
|
|
|
parallel
|
|
|
|
|
perl
|
|
|
|
|
pkg-config
|
|
|
|
|
python-wrapper
|
|
|
|
|
python-libxml2))
|
2020-08-09 15:53:46 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list pcre2))
|
2020-08-09 15:53:46 +00:00
|
|
|
|
(home-page "https://www.gnu.org/software/libredwg/")
|
|
|
|
|
(synopsis "C library to handle DWG (CAD-related) files")
|
|
|
|
|
(description
|
|
|
|
|
"GNU LibreDWG is a C library to handle DWG files. It aims to be a free
|
|
|
|
|
replacement for the OpenDWG libraries.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2017-06-10 14:06:34 +00:00
|
|
|
|
(define-public minicom
|
|
|
|
|
(package
|
|
|
|
|
(name "minicom")
|
2023-09-24 00:00:00 +00:00
|
|
|
|
(version "2.9")
|
2017-06-10 14:06:34 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2020-07-29 02:22:14 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://salsa.debian.org/minicom-team/minicom.git")
|
|
|
|
|
(commit (string-append "v" version))))
|
2017-06-10 14:06:34 +00:00
|
|
|
|
(sha256
|
2023-09-24 00:00:00 +00:00
|
|
|
|
(base32 "18k0hiljsiq80x93c3qrd1cmcjjvsk1ymin03vncjp1v35xn8248"))
|
2020-07-29 02:22:14 +00:00
|
|
|
|
(file-name (git-file-name name version))))
|
2017-06-10 14:06:34 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2023-09-24 00:00:00 +00:00
|
|
|
|
(list
|
|
|
|
|
#:configure-flags
|
|
|
|
|
#~(list "--enable-lock-dir=/var/lock")
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'make-git-checkout-writable
|
|
|
|
|
(lambda _
|
|
|
|
|
(for-each make-file-writable (find-files "."))))
|
|
|
|
|
(replace 'bootstrap
|
|
|
|
|
;; autogen.sh needlessly hard-codes aclocal-1.14.
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "autoreconf" "-vif")))
|
|
|
|
|
(add-before 'configure 'patch-lock-check
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "configure"
|
|
|
|
|
(("test -d [$]UUCPLOCK") "true")))))))
|
2020-07-29 02:22:14 +00:00
|
|
|
|
(native-inputs
|
2023-09-24 00:00:00 +00:00
|
|
|
|
(list autoconf-2.71 automake gettext-minimal pkg-config))
|
2017-06-10 14:06:34 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list ncurses))
|
2020-07-29 02:22:14 +00:00
|
|
|
|
(home-page "https://salsa.debian.org/minicom-team/minicom")
|
2017-06-10 14:06:34 +00:00
|
|
|
|
(synopsis "Serial terminal emulator")
|
|
|
|
|
(description "@code{minicom} is a serial terminal emulator.")
|
|
|
|
|
(license license:gpl2+)))
|
2017-06-22 19:09:54 +00:00
|
|
|
|
|
2021-07-17 12:08:27 +00:00
|
|
|
|
(define-public sterm
|
|
|
|
|
(package
|
|
|
|
|
(name "sterm")
|
|
|
|
|
(version "20200306")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/wentasah/sterm")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"031pd8yz2bfzqbari6za1c3xcqmw94ap4vbrjzb3v6izjcrca58c"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no tests
|
|
|
|
|
#:make-flags
|
|
|
|
|
(list (string-append "CC=" ,(cc-for-target))
|
|
|
|
|
(string-append "PREFIX=" %output))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases (delete 'configure))))
|
|
|
|
|
(synopsis "Simple serial terminal")
|
|
|
|
|
(description "This is a minimalist terminal program like minicom or cu.
|
|
|
|
|
The only thing it does is creating a bidirectional connection between
|
|
|
|
|
stdin/stdout and a terminal device (e.g. serial line).
|
|
|
|
|
It can also set serial line baudrate, manipulate DTR/RTS modem lines,
|
|
|
|
|
send break and throttle transmission speed.")
|
|
|
|
|
(home-page "https://github.com/wentasah/sterm")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2023-08-05 16:19:21 +00:00
|
|
|
|
(define-public libmodbus
|
|
|
|
|
(package
|
|
|
|
|
(name "libmodbus")
|
|
|
|
|
(version "3.1.10")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/stephane/libmodbus")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0nbpk1n56kclab8fl32dxi46v2bwax3gfk1zkc796srm7vj42sbv"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs (list autoconf automake libtool))
|
|
|
|
|
(synopsis "Library for the Modbus protocol")
|
|
|
|
|
(description "@code{libmodbus} is a library to send/receive data with a
|
|
|
|
|
device which respects the Modbus protocol. This library can use a serial port
|
|
|
|
|
or an Ethernet connection.")
|
|
|
|
|
(home-page "https://libmodbus.org/")
|
|
|
|
|
(license license:lgpl2.1+)))
|
2017-06-22 19:09:54 +00:00
|
|
|
|
(define-public harminv
|
|
|
|
|
(package
|
|
|
|
|
(name "harminv")
|
2018-01-12 12:49:46 +00:00
|
|
|
|
(version "1.4.1")
|
2017-06-22 19:09:54 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
2018-01-12 12:49:46 +00:00
|
|
|
|
(string-append "https://github.com/stevengj/harminv/"
|
|
|
|
|
"releases/download/v" version "/"
|
|
|
|
|
name "-" version ".tar.gz"))
|
2017-06-22 19:09:54 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-01-12 12:49:46 +00:00
|
|
|
|
"0w1n4d249vlpda0hi6z1v13qp21vlbp3ykn0m8qg4rd5132j7fg1"))))
|
2017-06-22 19:09:54 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2019-02-27 17:01:48 +00:00
|
|
|
|
`(#:configure-flags '("--enable-shared")
|
|
|
|
|
#:phases
|
2017-06-22 19:09:54 +00:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'fix-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "./sines-test.sh"
|
|
|
|
|
; change test frequency range - default fails
|
|
|
|
|
(("0\\.15") "0.16"))
|
|
|
|
|
#t)))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("fortran" ,gfortran)))
|
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list lapack))
|
2018-01-12 12:49:46 +00:00
|
|
|
|
(home-page "https://github.com/stevengj/harminv")
|
2017-06-22 19:09:54 +00:00
|
|
|
|
(synopsis "Harmonic inversion solver")
|
|
|
|
|
(description
|
|
|
|
|
"Harminv is a free program (and accompanying library) to solve the problem of
|
|
|
|
|
harmonic inversion — given a discrete-time, finite-length signal that consists of a sum
|
|
|
|
|
of finitely-many sinusoids (possibly exponentially decaying) in a given bandwidth, it
|
|
|
|
|
determines the frequencies, decay constants, amplitudes, and phases of those sinusoids.")
|
|
|
|
|
(license license:gpl2+)))
|
2017-06-22 19:09:55 +00:00
|
|
|
|
|
|
|
|
|
(define-public guile-libctl
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-libctl")
|
2019-02-27 17:01:49 +00:00
|
|
|
|
(version "4.2.0")
|
2017-06-22 19:09:55 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append
|
2019-02-27 17:01:49 +00:00
|
|
|
|
"https://github.com/NanoComp/libctl/releases/download/v"
|
|
|
|
|
version "/libctl-" version ".tar.gz"))
|
2017-06-22 19:09:55 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-02-27 17:01:49 +00:00
|
|
|
|
"0x8r56lpfq83kfbq28vr25icl19xpfd6fjrxzcpdmv30l9pash83"))))
|
2017-06-22 19:09:55 +00:00
|
|
|
|
(build-system gnu-build-system)
|
2019-02-27 17:01:49 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags '("--enable-shared")))
|
2017-06-22 19:09:55 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("fortran" ,gfortran)))
|
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list guile-2.2))
|
2017-06-22 19:09:55 +00:00
|
|
|
|
(home-page "http://ab-initio.mit.edu/wiki/index.php/Libctl")
|
|
|
|
|
(synopsis "Flexible control files implementation for scientific simulations")
|
|
|
|
|
(description
|
|
|
|
|
"Libctl is a Guile-based library implementing flexible control files
|
|
|
|
|
for scientific simulations.")
|
|
|
|
|
(license license:gpl2+)))
|
2017-06-22 19:09:56 +00:00
|
|
|
|
|
|
|
|
|
(define-public mpb
|
|
|
|
|
(package
|
|
|
|
|
(name "mpb")
|
2019-02-27 17:01:50 +00:00
|
|
|
|
(version "1.8.0")
|
2017-06-22 19:09:56 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append
|
2019-02-27 17:01:50 +00:00
|
|
|
|
"https://github.com/NanoComp/mpb/releases/download/v"
|
|
|
|
|
version "/mpb-" version ".tar.gz"))
|
2017-06-22 19:09:56 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-02-27 17:01:50 +00:00
|
|
|
|
"1jgrb7dd6qs6j6y1gnxmdgrh79l2bvqa6nk60a4pw1annsks4brd"))))
|
2017-06-22 19:09:56 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list (string-append "--with-libctl="
|
|
|
|
|
(assoc-ref %build-inputs "libctl")
|
2019-02-27 17:01:50 +00:00
|
|
|
|
"/share/libctl")
|
|
|
|
|
"--enable-shared")))
|
2017-06-22 19:09:56 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("fortran" ,gfortran)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("swig" ,swig)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("fftw" ,fftw)
|
|
|
|
|
("gsl" ,gsl)
|
|
|
|
|
("guile" ,guile-2.2)
|
|
|
|
|
("hdf5" ,hdf5)
|
2024-03-11 11:07:05 +00:00
|
|
|
|
("openblas" ,openblas)
|
2017-06-22 19:09:56 +00:00
|
|
|
|
("libctl" ,guile-libctl)
|
|
|
|
|
("readline" ,readline)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(home-page "http://ab-initio.mit.edu/wiki/index.php/MIT_Photonic_Bands")
|
|
|
|
|
(synopsis "Computes band structures and electromagnetic modes of dielectric
|
|
|
|
|
structures")
|
|
|
|
|
(description
|
|
|
|
|
"MIT Photonic-Bands (MPB) computes definite-frequency eigenstates (harmonic modes)
|
|
|
|
|
of Maxwell's equations in periodic dielectric structures for arbitrary wavevectors, using
|
|
|
|
|
fully-vectorial and three-dimensional methods.")
|
|
|
|
|
(license license:gpl2+)))
|
2017-06-22 19:09:57 +00:00
|
|
|
|
|
|
|
|
|
(define-public meep
|
|
|
|
|
(package
|
|
|
|
|
(name "meep")
|
2019-02-27 17:01:51 +00:00
|
|
|
|
(version "1.8.0")
|
2017-06-22 19:09:57 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append
|
2019-02-27 17:01:51 +00:00
|
|
|
|
"https://github.com/NanoComp/meep/releases/download/v"
|
|
|
|
|
version "/meep-" version ".tar.gz"))
|
2017-06-22 19:09:57 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-02-27 17:01:51 +00:00
|
|
|
|
"14zyxmm3p80j5fz5b89sl7hgkgcisqjny5hjh4pi274ziqjqz8bm"))))
|
2017-06-22 19:09:57 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list (string-append "--with-libctl="
|
|
|
|
|
(assoc-ref %build-inputs "libctl")
|
|
|
|
|
"/share/libctl"))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("fortran" ,gfortran)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("swig" ,swig)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("fftw" ,fftw)
|
|
|
|
|
("gsl" ,gsl)
|
2019-02-27 17:01:51 +00:00
|
|
|
|
("guile" ,guile-2.2)
|
2017-06-22 19:09:57 +00:00
|
|
|
|
("harminv" ,harminv)
|
|
|
|
|
("hdf5" ,hdf5)
|
2024-03-11 11:07:06 +00:00
|
|
|
|
("openblas" ,openblas)
|
2017-06-22 19:09:57 +00:00
|
|
|
|
("libctl" ,guile-libctl)
|
|
|
|
|
("mpb" ,mpb)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(home-page "http://ab-initio.mit.edu/wiki/index.php/Meep")
|
|
|
|
|
(synopsis "Finite-difference time-domain (FDTD) simulation software")
|
|
|
|
|
(description
|
|
|
|
|
"Meep is a finite-difference time-domain (FDTD) simulation software package
|
|
|
|
|
developed at MIT to model electromagnetic systems.")
|
|
|
|
|
(license license:gpl2+)))
|
2017-06-24 06:52:57 +00:00
|
|
|
|
|
|
|
|
|
(define-public adms
|
|
|
|
|
(package
|
|
|
|
|
(name "adms")
|
2020-09-15 18:07:03 +00:00
|
|
|
|
(version "2.3.7")
|
2017-06-24 06:52:57 +00:00
|
|
|
|
(source (origin
|
2020-09-15 18:07:03 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/Qucs/ADMS")
|
|
|
|
|
(commit (string-append "release-" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2017-06-24 06:52:57 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-09-15 18:07:03 +00:00
|
|
|
|
"0i37c9k6q1iglmzp9736rrgsnx7sw8xn3djqbbjw29zsyl3pf62c"))))
|
2017-06-24 06:52:57 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list autoconf
|
|
|
|
|
automake
|
|
|
|
|
bison
|
|
|
|
|
flex
|
|
|
|
|
libtool
|
|
|
|
|
perl
|
|
|
|
|
perl-xml-libxml))
|
2020-09-15 18:07:03 +00:00
|
|
|
|
(home-page "https://github.com/Qucs/ADMS")
|
2017-06-24 06:52:57 +00:00
|
|
|
|
(synopsis "Automatic device model synthesizer")
|
|
|
|
|
(description
|
|
|
|
|
"ADMS is a code generator that converts electrical compact device models
|
|
|
|
|
specified in high-level description language into ready-to-compile C code for
|
|
|
|
|
the API of spice simulators. Based on transformations specified in XML
|
|
|
|
|
language, ADMS transforms Verilog-AMS code into other target languages.")
|
|
|
|
|
(license license:gpl3)))
|
2017-08-11 18:41:39 +00:00
|
|
|
|
|
2023-03-30 20:39:40 +00:00
|
|
|
|
(define-public audmes
|
|
|
|
|
(package
|
|
|
|
|
(name "audmes")
|
|
|
|
|
(version "20220420")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/audmes/audmes%20sources/"
|
|
|
|
|
"audmes-source-" version ".zip"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0yxjq2p1ca2wy2idwrlxr3b4vbp0d9268jll90y7l55fbid8vkp2"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
#:tests? #false ;there are none
|
|
|
|
|
#:phases
|
|
|
|
|
'(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'prepare-csv.h
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(mkdir "libfccp")
|
|
|
|
|
(install-file (search-input-file inputs "csv.h") "libfccp"))))))
|
|
|
|
|
(inputs
|
|
|
|
|
(list alsa-lib pulseaudio wxwidgets))
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list unzip
|
|
|
|
|
(let ((commit "4ade42d5f8c454c6c57b3dce9c51c6dd02182a66"))
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/ben-strasser/fast-cpp-csv-parser")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name "csv.h" (git-version "0" "0" commit)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1y7ads97gkrjg1jc532n8gmjry0qhqxginw1gq7b4lk9s0pyl540"))))))
|
|
|
|
|
(home-page "https://sourceforge.net/projects/audmes/")
|
|
|
|
|
(synopsis "Oscilloscope and spectrum analyzer using sound card")
|
|
|
|
|
(description
|
|
|
|
|
"The audio measurement system is a system for audio measurement through
|
|
|
|
|
sound card. It contains: generator, oscilloscope, audio spectrum
|
|
|
|
|
analyzer (FFT) and frequency sweep plot.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2017-08-11 18:41:39 +00:00
|
|
|
|
(define-public capstone
|
|
|
|
|
(package
|
|
|
|
|
(name "capstone")
|
2023-09-25 19:34:03 +00:00
|
|
|
|
(version "5.0.1")
|
2017-08-11 18:41:39 +00:00
|
|
|
|
(source (origin
|
2020-01-03 14:02:16 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
2022-03-16 16:19:31 +00:00
|
|
|
|
(url "https://github.com/capstone-engine/capstone")
|
|
|
|
|
(commit version)))
|
2020-01-03 14:02:16 +00:00
|
|
|
|
(file-name (git-file-name name version))
|
2017-08-11 18:41:39 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2023-09-25 19:34:03 +00:00
|
|
|
|
"1j4a6w8p3z5qrkzf0h5aklrnlpvscv6nlq7d3abbpxlyqvk8pach"))))
|
2017-08-11 18:41:39 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f
|
2018-08-24 00:58:23 +00:00
|
|
|
|
#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
|
2017-08-11 18:41:39 +00:00
|
|
|
|
"CC=gcc")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2018-08-24 00:58:23 +00:00
|
|
|
|
(delete 'configure) ; no configure script
|
|
|
|
|
;; cstool's Makefile ‘+=’s LDFLAGS, so we cannot pass it as a make flag.
|
2017-08-11 18:41:39 +00:00
|
|
|
|
(add-before 'build 'fix-cstool-ldflags
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
2022-03-16 16:19:31 +00:00
|
|
|
|
(setenv "LDFLAGS"
|
|
|
|
|
(string-append "-Wl,-rpath="
|
|
|
|
|
(assoc-ref outputs "out") "/lib")))))))
|
|
|
|
|
(home-page "https://github.com/capstone-engine/capstone")
|
2017-08-11 18:41:39 +00:00
|
|
|
|
(synopsis "Lightweight multi-platform, multi-architecture disassembly framework")
|
|
|
|
|
(description
|
|
|
|
|
"Capstone is a lightweight multi-platform, multi-architecture disassembly
|
|
|
|
|
framework. Capstone can disassemble machine code for many supported architectures
|
|
|
|
|
such as x86, x86_64, arm, arm64, mips, ppc, sparc, sysz and xcore. It provides
|
|
|
|
|
bindings for Python, Java, OCaml and more.")
|
|
|
|
|
(license license:bsd-3)))
|
2017-08-11 18:49:04 +00:00
|
|
|
|
|
|
|
|
|
;; FIXME: This package has a timestamp embedded in
|
|
|
|
|
;; lib/python3.5/site-packages/capstone/__pycache__/__iti__.cpython-35.pyc
|
|
|
|
|
(define-public python-capstone
|
|
|
|
|
(package
|
|
|
|
|
(inherit capstone)
|
|
|
|
|
(name "python-capstone")
|
|
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list capstone))
|
2017-08-11 18:49:04 +00:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'chdir-and-fix-setup-py
|
2023-01-07 13:49:25 +00:00
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
2017-08-11 18:49:04 +00:00
|
|
|
|
(chdir "bindings/python")
|
|
|
|
|
;; Do not build the library again, because we already have it.
|
|
|
|
|
(substitute* "setup.py" ((".* build_libraries.*") ""))
|
|
|
|
|
;; This substitution tells python-capstone where to find the
|
|
|
|
|
;; library.
|
|
|
|
|
(substitute* "capstone/__init__.py"
|
|
|
|
|
(("pkg_resources.resource_filename.*")
|
2023-01-07 13:49:25 +00:00
|
|
|
|
(string-append "'" (dirname (search-input-file
|
|
|
|
|
inputs "lib/libcapstone.so"))
|
|
|
|
|
"',\n")))))
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
|
(when tests?
|
|
|
|
|
(invoke "make" "check")))))))))
|
2017-08-11 18:49:04 +00:00
|
|
|
|
|
2021-02-23 01:13:09 +00:00
|
|
|
|
|
|
|
|
|
(define-public python-esptool-3.0
|
|
|
|
|
(package
|
|
|
|
|
(name "python-esptool")
|
|
|
|
|
(version "3.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "esptool" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0d69rd9h8wrzjvfrc66vmz4qd5hly2fpdcwj2bdrlb7dbwikv5c7"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(propagated-inputs
|
2022-01-18 12:57:55 +00:00
|
|
|
|
(list python-ecdsa python-pyaes python-pyserial python-reedsolo
|
|
|
|
|
python-cryptography python-bitstring))
|
2021-02-23 01:13:09 +00:00
|
|
|
|
(home-page "https://github.com/espressif/esptool")
|
|
|
|
|
(synopsis "Bootloader utility for Espressif ESP8266 & ESP32 chips")
|
|
|
|
|
(description
|
|
|
|
|
"@code{esptool.py} is a Python-based utility to communicate with the ROM
|
|
|
|
|
bootloader in Espressif ESP8266 & ESP32 series chips.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2017-08-11 18:54:40 +00:00
|
|
|
|
(define-public radare2
|
|
|
|
|
(package
|
|
|
|
|
(name "radare2")
|
2021-03-01 05:10:57 +00:00
|
|
|
|
(version "5.1.1")
|
2017-08-11 18:54:40 +00:00
|
|
|
|
(source (origin
|
2020-03-21 08:57:21 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/radareorg/radare2")
|
|
|
|
|
(commit version)))
|
2017-08-11 18:54:40 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-03-01 05:10:57 +00:00
|
|
|
|
"0hv9x31iabasj12g8f04incr1rbcdkxi3xnqn3ggp8gl4h6pf2f3"))
|
2020-05-25 19:16:11 +00:00
|
|
|
|
(file-name (git-file-name name version))))
|
2017-08-11 18:54:40 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2019-06-17 02:51:14 +00:00
|
|
|
|
'(#:tests? #f ; tests require git and network access
|
2017-08-11 18:54:40 +00:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'mklibdir
|
2020-05-25 18:52:39 +00:00
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(mkdir-p (string-append (assoc-ref outputs "out") "/lib"))
|
2017-08-11 18:54:40 +00:00
|
|
|
|
#t)))
|
|
|
|
|
#:configure-flags
|
2020-05-25 20:01:31 +00:00
|
|
|
|
(list "--with-openssl"
|
|
|
|
|
"--with-rpath"
|
|
|
|
|
"--with-syscapstone"
|
|
|
|
|
"--with-sysmagic"
|
|
|
|
|
"--with-syszip"
|
|
|
|
|
"--with-sysxxhash")
|
2017-08-11 18:54:40 +00:00
|
|
|
|
#:make-flags
|
|
|
|
|
(list "CC=gcc")))
|
2020-05-25 19:59:26 +00:00
|
|
|
|
;; TODO: Add gmp and libzip and make the build system actually find them.
|
2017-08-11 18:54:40 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list capstone libuv openssl zip))
|
2017-08-11 18:54:40 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list pkg-config))
|
2020-05-25 20:01:31 +00:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
;; In the Libs: section of r_hash.pc.
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list xxhash))
|
2017-08-11 18:54:40 +00:00
|
|
|
|
(home-page "https://radare.org/")
|
2020-02-15 13:00:33 +00:00
|
|
|
|
(synopsis "Reverse engineering framework")
|
2017-08-11 18:54:40 +00:00
|
|
|
|
(description
|
2020-02-15 13:00:33 +00:00
|
|
|
|
"Radare2 is a complete framework for reverse-engineering, debugging, and
|
|
|
|
|
analyzing binaries. It is composed of a set of small utilities that can be
|
|
|
|
|
used together or independently from the command line.
|
|
|
|
|
|
|
|
|
|
Radare2 is built around a scriptable disassembler and hexadecimal editor that
|
|
|
|
|
support a variety of executable formats for different processors and operating
|
|
|
|
|
systems, through multiple back ends for local and remote files and disk
|
|
|
|
|
images.
|
|
|
|
|
|
|
|
|
|
It can also compare (@dfn{diff}) binaries with graphs and extract information
|
|
|
|
|
like relocation symbols. It is able to deal with malformed binaries, making
|
|
|
|
|
it suitable for security research and analysis.")
|
2017-08-11 18:54:40 +00:00
|
|
|
|
(license license:lgpl3)))
|
2017-06-22 19:10:00 +00:00
|
|
|
|
|
|
|
|
|
(define-public asco
|
|
|
|
|
(package
|
|
|
|
|
(name "asco")
|
2022-05-22 00:00:03 +00:00
|
|
|
|
(version "0.4.11")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/asco/asco/" version "/ASCO-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0ggxv0p1zmfbvd1k17p2j1cskbjsa83fansz8ihxn7ax9qdicljv"))))
|
2017-06-22 19:10:00 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no tests
|
|
|
|
|
#:make-flags '("all" "asco-mpi")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(add-before 'build 'fix-paths
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((coreutils (assoc-ref inputs "coreutils-minimal")))
|
|
|
|
|
(substitute* '("errfunc.c" "asco.c")
|
2022-05-22 00:00:03 +00:00
|
|
|
|
(("(cp|nice) " _ command)
|
|
|
|
|
(string-append
|
|
|
|
|
(search-input-file inputs (string-append "bin/" command))
|
|
|
|
|
" ")))
|
2017-06-22 19:10:00 +00:00
|
|
|
|
(substitute* "Makefile"
|
2022-05-22 00:00:03 +00:00
|
|
|
|
(("<FULL_PATH_TO_MPICH>/bin/mpicc") (which "mpicc"))))))
|
2017-06-22 19:10:00 +00:00
|
|
|
|
(replace 'install ; no install target
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(install-file file (string-append
|
|
|
|
|
(assoc-ref outputs "out")
|
|
|
|
|
"/bin")))
|
|
|
|
|
'("asco" "asco-mpi" "asco-test"
|
2022-05-22 00:00:03 +00:00
|
|
|
|
"tools/alter/alter" "tools/log/log")))))))
|
2017-06-22 19:10:00 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("mpi" ,openmpi)))
|
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list coreutils-minimal))
|
gnu: Use HTTPS package home pages wherever possible.
* gnu/packages/accessibility.scm (florence)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (netcat, nmon)[home-page]: Likewise.
* gnu/packages/algebra.scm (mpfrcx, cm, flint, fftw, r-dtt)[home-page]:
Likewise.
* gnu/packages/apr.scm (apr, apr-util)[home-page]: Likewise.
* gnu/packages/aspell.scm (aspell-dict-it)[home-page]: Likewise.
* gnu/packages/astronomy.scm (casacore, sextractor, libnova)
(xplanet)[home-page]: Likewise.
* gnu/packages/audio.scm (libtimidity, alsa-modular-synth, azr3, tao)
(freepats, rakarrack, liblo, libshout-idjc, timidity++, libsbsms)
(libmodplug, libxmp, xmp, sox, drc, gsm, gnaural)
(streamripper)[home-page]: Likewise.
* gnu/packages/authentication.scm (pamtester)[home-page]: Likewise.
* gnu/packages/backup.scm (grsync)[home-page]: Likewise.
* gnu/packages/bioconductor.scm (r-nmf, r-edger, r-limma)
(r-plgem)[home-page]: Likewise.
* gnu/packages/bioinformatics.scm (python-biom-format, bowtie, bowtie1)
(bwa, crossmap, java-htsjdk, java-htsjdk-latest, java-picard)
(java-picard-2.10.3, kaiju, proteinortho, rsem, rseqc, seek, samtools)
(snap-aligner, subread, stringtie, r-centipede, prinseq, emboss, phylip)
(libsbml)[home-page]: Likewise.
* gnu/packages/build-tools.scm (tup)[home-page]: Likewise.
* gnu/packages/cdrom.scm (libcddb, cdrdao, cdrtools)
(cd-discid)[home-page]: Likewise.
* gnu/packages/check.scm (cunit, python-nose)
(python-pyhamcrest)[home-page]: Likewise.
* gnu/packages/chemistry.scm (gromacs)[home-page]: Likewise.
* gnu/packages/chez.scm (chez-fmt)[home-page]: Likewise.
* gnu/packages/code.scm (lcov, uncrustify, cscope)[home-page]: Likewise.
* gnu/packages/compression.scm (p7zip)[home-page]: Likewise.
* gnu/packages/cran.scm (r-emdist, r-proj4, r-zoo, r-ggalluvial)
(r-orgmassspecr, r-polychrome, r-partykit, r-rcpp, r-ff, r-emdbook)
(r-fitdistrplus, r-linprog, r-geometry, r-dtw, r-fst, r-rjags)
(r-intergraph, r-qualv, r-labelled, r-survey, r-coin, r-fmsb, r-tm)
(r-corpcor, r-rmpfr, r-spatialextremes, r-longitudinal, r-genenet)
(r-bayesm, r-seqinr, r-mpm, r-text2vec, r-rgdal, r-seewave, r-hdrcde)
(r-shapes, r-anytime, r-stm, r-d3network, r-tam, r-directlabels)
(r-spatstat-utils, r-spatstat-sparse, r-spatstat-data, r-spatstat-geom)
(r-spatstat-core, r-spatstat-linnet, r-spatstat-random, r-spatstat)
(r-rcpptoml, r-mlecens, r-seurat, r-mlearning, r-zooimage)[home-page]:
Likewise.
* gnu/packages/crates-io.scm (rust-nickel-0.11, rust-thrift-0.13)
(rust-trust-dns-https-0.20, rust-trust-dns-native-tls-0.20)
(rust-trust-dns-openssl-0.20, rust-trust-dns-proto-0.20)
(rust-trust-dns-resolver-0.20, rust-trust-dns-rustls-0.20)
(rust-uint-0.9, rust-yaml-rust-0.4)[home-page]: Likewise.
* gnu/packages/crypto.scm (libdecaf, ccrypt)[home-page]: Likewise.
* gnu/packages/curl.scm (curlpp)[home-page]: Likewise.
* gnu/packages/databases.scm (python-pylibmc, unixodbc, wiredtiger)
(libpqxx, mdbtools, virtuoso-ose, libdbi, libdbi-drivers)
(soci)[home-page]: Likewise.
* gnu/packages/debian.scm (apt-mirror)[home-page]: Likewise.
* gnu/packages/debug.scm (remake)[home-page]: Likewise.
* gnu/packages/disk.scm (sdparm, idle3-tools, duc)[home-page]: Likewise.
* gnu/packages/django.scm (python-django-haystack)[home-page]: Likewise.
* gnu/packages/djvu.scm (djvulibre, djview)[home-page]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[home-page]: Likewise.
* gnu/packages/docbook.scm (dblatex, docbook2x)[home-page]: Likewise.
* gnu/packages/documentation.scm (scrollkeeper)[home-page]: Likewise.
* gnu/packages/ebook.scm (liblinebreak)[home-page]: Likewise.
* gnu/packages/electronics.scm (xoscope)[home-page]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-bbdb, emacs-caps-lock, emacs-djvu)
(emacs-pabbrev, emacs-twittering-mode, emacs-filladapt, emacs-rudel)
(emacs-stream, emacspeak, emacs-cc-mode, emacs-eldoc, emacs-jsonrpc)
(emacs-gtk-look, emacs-xclip, emacs-slime-volleyball, emacs-minimap)
(emacs-auto-dictionary-mode, emacs-persist, emacs-shell-command+)
(emacs-map, emacs-xref, emacs-dictionary)[home-page]: Likewise.
* gnu/packages/embedded.scm (sdcc)[home-page]: Likewise.
* gnu/packages/engineering.scm (asco, libngspice, libspnav)
(openctm)[home-page]: Likewise.
* gnu/packages/erlang.scm (erlang-erlware-commons)[home-page]: Likewise.
* gnu/packages/file-systems.scm (jfsutils, curlftpfs)[home-page]:
Likewise.
* gnu/packages/finance.scm (gbonds)[home-page]: Likewise.
* gnu/packages/flashing-tools.scm (dfu-util, srecord)[home-page]:
Likewise.
* gnu/packages/fltk.scm (ntk)[home-page]: Likewise.
* gnu/packages/fonts.scm (font-terminus, font-tex-gyre)
(font-comic-neue)[home-page]: Likewise.
* gnu/packages/fontutils.scm (ttf2pt1, potrace, libspiro)[home-page]:
Likewise.
* gnu/packages/fpga.scm (icestorm, gtkwave, gtkwave)
(python-myhdl)[home-page]: Likewise.
* gnu/packages/freedesktop.scm (libatasmart)[home-page]: Likewise.
* gnu/packages/ftp.scm (weex)[home-page]: Likewise.
* gnu/packages/game-development.scm (dds, python-tmx, sfxr, quesoglc)
(eureka, plib)[home-page]: Likewise.
* gnu/packages/games.scm (abe, alex4, armagetronad, barony)
(foobillard++, golly, ltris, pipewalker, prboom-plus, trigger-rally)
(cmatrix, pinball, pioneers, tennix, chromium-bsu, freeciv, kiki)
(quakespasm, frotz, frotz-dumb-terminal, frotz-sdl, btanks)
(flare-engine, chessx, barrage, cgoban, passage)[home-page]: Likewise.
* gnu/packages/geo.scm (python-geopandas, saga)[home-page]: Likewise.
* gnu/packages/gl.scm (freeglut, gl2ps)[home-page]: Likewise.
* gnu/packages/gnome.scm (cogl, clutter-gtk, clutter-gst, bluefish)
(workrave)[home-page]: Likewise.
* gnu/packages/gnustep.scm (wmnd, wmfire, wmfire)[home-page]: Likewise.
* gnu/packages/graph.scm (mscgen)[home-page]: Likewise.
* gnu/packages/graphics.scm (assimp, alembic, ctl, agg)
(opencsg)[home-page]: Likewise.
* gnu/packages/graphviz.scm (gts)[home-page]: Likewise.
* gnu/packages/gtk.scm (gtkspell3)[home-page]: Likewise.
* gnu/packages/guile-xyz.scm (guile-irregex)[home-page]: Likewise.
* gnu/packages/haskell-apps.scm (cpphs)[home-page]: Likewise.
* gnu/packages/haskell-check.scm (ghc-hunit)[home-page]: Likewise.
* gnu/packages/haskell-web.scm (ghc-http-client-restricted)
(ghc-blaze-html, ghc-happstack-server, ghc-sourcemap)[home-page]:
Likewise.
* gnu/packages/haskell-xyz.scm (ghc-assoc, ghc-cairo, ghc-cborg)
(ghc-csv, ghc-glob, ghc-gtk2hs-buildtools, ghc-hmatrix-gsl-stats)
(ghc-intervalmap, ghc-lens-family-core, ghc-managed, ghc-mountpoints)
(ghc-network-multicast, ghc-optional-args, ghc-regex, ghc-spoon)
(ghc-transformers, ghc-turtle, ghc-utf8-light, ghc-wizards)
(ghc-template-haskell, ghc-boot-th, ghc-binary-orphans)
(ghc-postgresql-simple)[home-page]: Likewise.
* gnu/packages/hexedit.scm (ht, bvi)[home-page]: Likewise.
* gnu/packages/hunspell.scm (hunspell-dict-hu)[home-page]: Likewise.
* gnu/packages/image-processing.scm (mia)[home-page]: Likewise.
* gnu/packages/image-viewers.scm (geeqie, gpicview, luminance-hdr)
(qiv)[home-page]: Likewise.
* gnu/packages/image.scm (libuemf, devil, steghide, optipng, niftilib)
(sng, mtpaint)[home-page]: Likewise.
* gnu/packages/java-xml.scm (java-simple-xml, java-jaxp)
(java-apache-xml-commons-resolver)[home-page]: Likewise.
* gnu/packages/java.scm (java-cisd-base, java-cisd-args4j)
(java-hamcrest-core, java-jsr305, java-eclipse-osgi)
(java-eclipse-equinox-common, java-eclipse-core-jobs)
(java-eclipse-equinox-registry, java-eclipse-equinox-app)
(java-eclipse-equinox-preferences, java-eclipse-core-contenttype)
(java-eclipse-text, java-treelayout, java-aopalliance, java-jeromq)
(java-cdi-api)[home-page]: Likewise.
* gnu/packages/jemalloc.scm (jemalloc-4.5.0)[home-page]: Likewise.
* gnu/packages/julia-xyz.scm (julia-recipespipeline)[home-page]:
Likewise.
* gnu/packages/kde-internet.scm (kget)[home-page]: Likewise.
* gnu/packages/kde-systemtools.scm (dolphin-plugins)
(konsole)[home-page]: Likewise.
* gnu/packages/kodi.scm (fstrcmp)[home-page]: Likewise.
* gnu/packages/language.scm (hime, libchewing)[home-page]: Likewise.
* gnu/packages/lego.scm (nqc)[home-page]: Likewise.
* gnu/packages/lesstif.scm (lesstif)[home-page]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[home-page]: Likewise.
* gnu/packages/libdaemon.scm (libdaemon)[home-page]: Likewise.
* gnu/packages/libffi.scm (libffi)[home-page]: Likewise.
* gnu/packages/libreoffice.scm (libwpd, libwpg, libwps)[home-page]:
Likewise.
* gnu/packages/libusb.scm (libmtp, gmtp)[home-page]: Likewise.
* gnu/packages/linux.scm (e2fsprogs, extundelete, lsscsi, net-tools)
(kbd, sysfsutils, cpuid, libpfm4)[home-page]: Likewise.
* gnu/packages/lisp-check.scm (sbcl-ptester, sbcl-xlunit)[home-page]:
Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-html-encode, sbcl-py-configparser)
(sbcl-cl-utilities, sbcl-series, sbcl-uffi, sbcl-clsql, sbcl-sycamore)
(sbcl-osicat, sbcl-hu.dwim.common, sbcl-caveman, sbcl-trivial-shell)
(sbcl-trivial-benchmark, sbcl-screamer, sbcl-smug)[home-page]: Likewise.
* gnu/packages/lisp.scm (lush2)[home-page]: Likewise.
* gnu/packages/logging.scm (log4cpp)[home-page]: Likewise.
* gnu/packages/lua.scm (lua-ldoc)[home-page]: Likewise.
* gnu/packages/machine-learning.scm (mcl, openfst, rxcpp)[home-page]:
Likewise.
* gnu/packages/mail.scm (muchsync, procmail, sendmail)
(opensmtpd-filter-dkimsign, crm114)[home-page]: Likewise.
* gnu/packages/man.scm (libpipeline, man-db)[home-page]: Likewise.
* gnu/packages/maths.scm (lapack, scalapack, hdf-eos5, itpp, gmsh)
(metamath, p4est, armadillo, suitesparse, atlas, lpsolve, wcalc, why3)
(frama-c)[home-page]: Likewise.
* gnu/packages/mcrypt.scm (mcrypt, libmcrypt, libmhash)[home-page]:
Likewise.
* gnu/packages/minetest.scm (minetest-advtrains)[home-page]: Likewise.
* gnu/packages/monitoring.scm (python-whisper, python-carbon)
(hostscope)[home-page]: Likewise.
* gnu/packages/mp3.scm (id3lib, libmp3splt, mp3splt, mpg321)
(lame)[home-page]: Likewise.
* gnu/packages/multiprecision.scm (mpc)[home-page]: Likewise.
* gnu/packages/music.scm (aria-maestosa, lingot, setbfree, bristol)
(portmidi, python-pyportmidi, zynaddsubfx, yoshimi, aj-snapshot)
(schismtracker, midicsv, midicsv, qmidiarp, qmidiroute, dssi, tap-lv2)
(shiru-lv2)[home-page]: Likewise.
* gnu/packages/ncurses.scm (stfl)[home-page]: Likewise.
* gnu/packages/networking.scm (lksctp-tools, mbuffer, ifstatus, bird)
(tunctl, traceroute)[home-page]: Likewise.
* gnu/packages/node-xyz.scm (node-mersenne)[home-page]: Likewise.
* gnu/packages/ntp.scm (openntpd)[home-page]: Likewise.
* gnu/packages/ocaml.scm (opam, hevea, ocaml-menhir, ocaml-piqilib)
(ocaml-graph, cubicle)[home-page]: Likewise.
* gnu/packages/opencl.scm (python-pyopencl)[home-page]: Likewise.
* gnu/packages/package-management.scm (xstow, modules)[home-page]:
Likewise.
* gnu/packages/parallel.scm (xjobs)[home-page]: Likewise.
* gnu/packages/pdf.scm (podofo, qpdf, xournal, impressive)[home-page]:
Likewise.
* gnu/packages/perl.scm (perl-math-vecstat, perltidy)[home-page]:
Likewise.
* gnu/packages/photo.scm (libpano13, enblend-enfuse, hugin)[home-page]:
Likewise.
* gnu/packages/plan9.scm (drawterm)[home-page]: Likewise.
* gnu/packages/plotutils.scm (guile-charting, ploticus)[home-page]:
Likewise.
* gnu/packages/popt.scm (argtable, popt)[home-page]: Likewise.
* gnu/packages/profiling.scm (otf2)[home-page]: Likewise.
* gnu/packages/pulseaudio.scm (pulseaudio)[home-page]: Likewise.
* gnu/packages/python-check.scm (python-mypy)[home-page]: Likewise.
* gnu/packages/python-web.scm (python-cssutils)
(python-translationstring)[home-page]: Likewise.
* gnu/packages/python-xyz.scm (python-diskcache, python-doxyqml)
(python-docutils, python-pexpect, python-importlib-resources)
(python-simplegeneric, python-urwid, python-xlrd, python-xlwt)
(python-pyasn1, python-pythondialog, python-tftpy, python-random2)
(python-arcp, python-pyopengl, python-sortedcollections)
(python-sortedcontainers, python-yapsy, python-pydispatcher)
(python-posix-ipc)[home-page]: Likewise.
* gnu/packages/qt.scm (qwt, libqglviewer, signond)[home-page]: Likewise.
* gnu/packages/radio.scm (unixcw, gnuais)[home-page]: Likewise.
* gnu/packages/raspberry-pi.scm (bcm2835)[home-page]: Likewise.
* gnu/packages/rdf.scm (clucene, rasqal, redland)[home-page]: Likewise.
* gnu/packages/regex.scm (tre)[home-page]: Likewise.
* gnu/packages/rsync.scm (librsync)[home-page]: Likewise.
* gnu/packages/ruby.scm (ruby-packnga, ruby-nokogiri, ruby-oj, ruby-ox)
(ruby-sinatra, ruby-citrus, ruby-cbor, ruby-roda)[home-page]: Likewise.
* gnu/packages/scheme.scm (scheme48, tinyscheme)[home-page]: Likewise.
* gnu/packages/screen.scm (dtach)[home-page]: Likewise.
* gnu/packages/scsi.scm (sg3-utils)[home-page]: Likewise.
* gnu/packages/sdl.scm (libmikmod, sdl-pango)[home-page]: Likewise.
* gnu/packages/shellutils.scm (hstr, rig)[home-page]: Likewise.
* gnu/packages/simulation.scm (python-dolfin-adjoint)[home-page]:
Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[home-page]: Likewise.
* gnu/packages/speech.scm (espeak)[home-page]: Likewise.
* gnu/packages/stalonetray.scm (stalonetray)[home-page]: Likewise.
* gnu/packages/statistics.scm (jags, r-mass, r-class, r-lattice)
(r-matrix, r-nnet, r-spatial, r-bit, r-bit64, r-digest, r-xtable)
(python-statsmodels, r-ade4, r-latticeextra, r-rcurl, r-xml, r-mvtnorm)
(r-robustbase, r-minqa, r-fdrtool, java-jdistlib, xlispstat)[home-page]:
Likewise.
* gnu/packages/swig.scm (swig)[home-page]: Likewise.
* gnu/packages/task-management.scm (wtime)[home-page]: Likewise.
* gnu/packages/tcl.scm (itcl, tclxml, tclx)[home-page]: Likewise.
* gnu/packages/terminals.scm (libtermkey, mlterm, libvterm)
(libvterm)[home-page]: Likewise.
* gnu/packages/tex.scm (texlive-lm, texlive-lm-math, texlive-cs)
(texlive-csplain, biber, texmaker)[home-page]: Likewise.
* gnu/packages/text-editors.scm (joe)[home-page]: Likewise.
* gnu/packages/textutils.scm (drm-tools, docx2txt)[home-page]: Likewise.
* gnu/packages/tv.scm (tvtime)[home-page]: Likewise.
* gnu/packages/unicode.scm (libunibreak)[home-page]: Likewise.
* gnu/packages/upnp.scm (libupnp)[home-page]: Likewise.
* gnu/packages/version-control.scm (cvs)[home-page]: Likewise.
* gnu/packages/video.scm (transcode, libquicktime, mjpegtools, aalib)
(liba52, libmpeg2, x265, libdv, dvdauthor, aegisub, pitivi, gavl)
(dvdbackup, guvcview, video-contact-sheet)[home-page]: Likewise.
* gnu/packages/virtualization.scm (bochs)[home-page]: Likewise.
* gnu/packages/w3m.scm (w3m)[home-page]: Likewise.
* gnu/packages/web.scm (qjson, libquvi-scripts, libquvi, quvi)
(tidy-html, htmlcxx)[home-page]: Likewise.
* gnu/packages/wm.scm (evilwm, menumaker)[home-page]: Likewise.
* gnu/packages/wv.scm (wv)[home-page]: Likewise.
* gnu/packages/wxwidgets.scm (wxsvg)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (mtdev, xsel)[home-page]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[home-page]: Likewise.
* gnu/packages/xml.scm (openjade, python-pyxb, xmlstarlet, xmlrpc-c)
(opensp)[home-page]: Likewise.
* gnu/packages/xorg.scm (xf86-video-qxl)[home-page]: Likewise.
2023-02-12 00:00:00 +00:00
|
|
|
|
(home-page "https://asco.sourceforge.net/")
|
2017-06-22 19:10:00 +00:00
|
|
|
|
(synopsis "SPICE circuit optimizer")
|
|
|
|
|
(description
|
|
|
|
|
"ASCO brings circuit optimization capabilities to existing SPICE simulators using a
|
|
|
|
|
high-performance parallel differential evolution (DE) optimization algorithm.")
|
|
|
|
|
(license license:gpl2+)))
|
2017-09-09 17:57:46 +00:00
|
|
|
|
|
|
|
|
|
(define-public libngspice
|
|
|
|
|
;; Note: The ngspice's build system does not allow us to build both the
|
|
|
|
|
;; library and the executables in one go. Thus, we have two packages.
|
|
|
|
|
;; See <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27344#236>.
|
|
|
|
|
(package
|
|
|
|
|
(name "libngspice")
|
2023-12-29 18:48:35 +00:00
|
|
|
|
(version "42")
|
2021-06-12 21:10:15 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (list
|
|
|
|
|
(string-append "mirror://sourceforge/ngspice/ng-spice-rework/"
|
|
|
|
|
version "/ngspice-" version ".tar.gz")
|
|
|
|
|
(string-append "mirror://sourceforge/ngspice/ng-spice-rework/"
|
|
|
|
|
"old-releases/" version
|
|
|
|
|
"/ngspice-" version ".tar.gz")))
|
|
|
|
|
(sha256
|
2023-12-29 18:48:35 +00:00
|
|
|
|
(base32 "02p5ar1cqwn70dw5xzx5v3qhm1p1xgb1xpzs1ljklcxjda2f6zvk"))))
|
2017-09-09 17:57:46 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(;; No tests for libngspice exist.
|
|
|
|
|
;; The transient tests for ngspice fail.
|
|
|
|
|
#:tests? #f
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-timestamps
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "configure"
|
2021-06-12 21:10:15 +00:00
|
|
|
|
(("`date`") "Thu Jan 1 00:00:01 UTC 1970"))))
|
2017-09-09 17:57:46 +00:00
|
|
|
|
(add-after 'unpack 'delete-program-manuals
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "man/man1/Makefile.in"
|
|
|
|
|
(("^man_MANS = ngspice\\.1 ngnutmeg\\.1 ngsconvert\\.1 ngmultidec\\.1")
|
2021-06-12 21:10:15 +00:00
|
|
|
|
"man_MANS = "))))
|
2021-09-11 22:41:50 +00:00
|
|
|
|
(add-after 'install 'delete-scripts
|
2017-09-09 17:57:46 +00:00
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(delete-file-recursively
|
|
|
|
|
(string-append (assoc-ref outputs "out")
|
2021-09-11 22:41:50 +00:00
|
|
|
|
"/share/ngspice/scripts")))))
|
2017-09-09 17:57:46 +00:00
|
|
|
|
#:configure-flags
|
|
|
|
|
(list "--enable-openmp"
|
2021-06-12 21:11:40 +00:00
|
|
|
|
"--enable-ciderlib"
|
2017-09-09 17:57:46 +00:00
|
|
|
|
"--enable-xspice"
|
2022-05-22 00:00:01 +00:00
|
|
|
|
"--with-ngshared")))
|
2017-09-09 17:57:46 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list bison flex))
|
2017-09-09 17:57:46 +00:00
|
|
|
|
(inputs
|
2022-01-30 18:14:58 +00:00
|
|
|
|
(list libxaw openmpi))
|
gnu: Use HTTPS package home pages wherever possible.
* gnu/packages/accessibility.scm (florence)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (netcat, nmon)[home-page]: Likewise.
* gnu/packages/algebra.scm (mpfrcx, cm, flint, fftw, r-dtt)[home-page]:
Likewise.
* gnu/packages/apr.scm (apr, apr-util)[home-page]: Likewise.
* gnu/packages/aspell.scm (aspell-dict-it)[home-page]: Likewise.
* gnu/packages/astronomy.scm (casacore, sextractor, libnova)
(xplanet)[home-page]: Likewise.
* gnu/packages/audio.scm (libtimidity, alsa-modular-synth, azr3, tao)
(freepats, rakarrack, liblo, libshout-idjc, timidity++, libsbsms)
(libmodplug, libxmp, xmp, sox, drc, gsm, gnaural)
(streamripper)[home-page]: Likewise.
* gnu/packages/authentication.scm (pamtester)[home-page]: Likewise.
* gnu/packages/backup.scm (grsync)[home-page]: Likewise.
* gnu/packages/bioconductor.scm (r-nmf, r-edger, r-limma)
(r-plgem)[home-page]: Likewise.
* gnu/packages/bioinformatics.scm (python-biom-format, bowtie, bowtie1)
(bwa, crossmap, java-htsjdk, java-htsjdk-latest, java-picard)
(java-picard-2.10.3, kaiju, proteinortho, rsem, rseqc, seek, samtools)
(snap-aligner, subread, stringtie, r-centipede, prinseq, emboss, phylip)
(libsbml)[home-page]: Likewise.
* gnu/packages/build-tools.scm (tup)[home-page]: Likewise.
* gnu/packages/cdrom.scm (libcddb, cdrdao, cdrtools)
(cd-discid)[home-page]: Likewise.
* gnu/packages/check.scm (cunit, python-nose)
(python-pyhamcrest)[home-page]: Likewise.
* gnu/packages/chemistry.scm (gromacs)[home-page]: Likewise.
* gnu/packages/chez.scm (chez-fmt)[home-page]: Likewise.
* gnu/packages/code.scm (lcov, uncrustify, cscope)[home-page]: Likewise.
* gnu/packages/compression.scm (p7zip)[home-page]: Likewise.
* gnu/packages/cran.scm (r-emdist, r-proj4, r-zoo, r-ggalluvial)
(r-orgmassspecr, r-polychrome, r-partykit, r-rcpp, r-ff, r-emdbook)
(r-fitdistrplus, r-linprog, r-geometry, r-dtw, r-fst, r-rjags)
(r-intergraph, r-qualv, r-labelled, r-survey, r-coin, r-fmsb, r-tm)
(r-corpcor, r-rmpfr, r-spatialextremes, r-longitudinal, r-genenet)
(r-bayesm, r-seqinr, r-mpm, r-text2vec, r-rgdal, r-seewave, r-hdrcde)
(r-shapes, r-anytime, r-stm, r-d3network, r-tam, r-directlabels)
(r-spatstat-utils, r-spatstat-sparse, r-spatstat-data, r-spatstat-geom)
(r-spatstat-core, r-spatstat-linnet, r-spatstat-random, r-spatstat)
(r-rcpptoml, r-mlecens, r-seurat, r-mlearning, r-zooimage)[home-page]:
Likewise.
* gnu/packages/crates-io.scm (rust-nickel-0.11, rust-thrift-0.13)
(rust-trust-dns-https-0.20, rust-trust-dns-native-tls-0.20)
(rust-trust-dns-openssl-0.20, rust-trust-dns-proto-0.20)
(rust-trust-dns-resolver-0.20, rust-trust-dns-rustls-0.20)
(rust-uint-0.9, rust-yaml-rust-0.4)[home-page]: Likewise.
* gnu/packages/crypto.scm (libdecaf, ccrypt)[home-page]: Likewise.
* gnu/packages/curl.scm (curlpp)[home-page]: Likewise.
* gnu/packages/databases.scm (python-pylibmc, unixodbc, wiredtiger)
(libpqxx, mdbtools, virtuoso-ose, libdbi, libdbi-drivers)
(soci)[home-page]: Likewise.
* gnu/packages/debian.scm (apt-mirror)[home-page]: Likewise.
* gnu/packages/debug.scm (remake)[home-page]: Likewise.
* gnu/packages/disk.scm (sdparm, idle3-tools, duc)[home-page]: Likewise.
* gnu/packages/django.scm (python-django-haystack)[home-page]: Likewise.
* gnu/packages/djvu.scm (djvulibre, djview)[home-page]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[home-page]: Likewise.
* gnu/packages/docbook.scm (dblatex, docbook2x)[home-page]: Likewise.
* gnu/packages/documentation.scm (scrollkeeper)[home-page]: Likewise.
* gnu/packages/ebook.scm (liblinebreak)[home-page]: Likewise.
* gnu/packages/electronics.scm (xoscope)[home-page]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-bbdb, emacs-caps-lock, emacs-djvu)
(emacs-pabbrev, emacs-twittering-mode, emacs-filladapt, emacs-rudel)
(emacs-stream, emacspeak, emacs-cc-mode, emacs-eldoc, emacs-jsonrpc)
(emacs-gtk-look, emacs-xclip, emacs-slime-volleyball, emacs-minimap)
(emacs-auto-dictionary-mode, emacs-persist, emacs-shell-command+)
(emacs-map, emacs-xref, emacs-dictionary)[home-page]: Likewise.
* gnu/packages/embedded.scm (sdcc)[home-page]: Likewise.
* gnu/packages/engineering.scm (asco, libngspice, libspnav)
(openctm)[home-page]: Likewise.
* gnu/packages/erlang.scm (erlang-erlware-commons)[home-page]: Likewise.
* gnu/packages/file-systems.scm (jfsutils, curlftpfs)[home-page]:
Likewise.
* gnu/packages/finance.scm (gbonds)[home-page]: Likewise.
* gnu/packages/flashing-tools.scm (dfu-util, srecord)[home-page]:
Likewise.
* gnu/packages/fltk.scm (ntk)[home-page]: Likewise.
* gnu/packages/fonts.scm (font-terminus, font-tex-gyre)
(font-comic-neue)[home-page]: Likewise.
* gnu/packages/fontutils.scm (ttf2pt1, potrace, libspiro)[home-page]:
Likewise.
* gnu/packages/fpga.scm (icestorm, gtkwave, gtkwave)
(python-myhdl)[home-page]: Likewise.
* gnu/packages/freedesktop.scm (libatasmart)[home-page]: Likewise.
* gnu/packages/ftp.scm (weex)[home-page]: Likewise.
* gnu/packages/game-development.scm (dds, python-tmx, sfxr, quesoglc)
(eureka, plib)[home-page]: Likewise.
* gnu/packages/games.scm (abe, alex4, armagetronad, barony)
(foobillard++, golly, ltris, pipewalker, prboom-plus, trigger-rally)
(cmatrix, pinball, pioneers, tennix, chromium-bsu, freeciv, kiki)
(quakespasm, frotz, frotz-dumb-terminal, frotz-sdl, btanks)
(flare-engine, chessx, barrage, cgoban, passage)[home-page]: Likewise.
* gnu/packages/geo.scm (python-geopandas, saga)[home-page]: Likewise.
* gnu/packages/gl.scm (freeglut, gl2ps)[home-page]: Likewise.
* gnu/packages/gnome.scm (cogl, clutter-gtk, clutter-gst, bluefish)
(workrave)[home-page]: Likewise.
* gnu/packages/gnustep.scm (wmnd, wmfire, wmfire)[home-page]: Likewise.
* gnu/packages/graph.scm (mscgen)[home-page]: Likewise.
* gnu/packages/graphics.scm (assimp, alembic, ctl, agg)
(opencsg)[home-page]: Likewise.
* gnu/packages/graphviz.scm (gts)[home-page]: Likewise.
* gnu/packages/gtk.scm (gtkspell3)[home-page]: Likewise.
* gnu/packages/guile-xyz.scm (guile-irregex)[home-page]: Likewise.
* gnu/packages/haskell-apps.scm (cpphs)[home-page]: Likewise.
* gnu/packages/haskell-check.scm (ghc-hunit)[home-page]: Likewise.
* gnu/packages/haskell-web.scm (ghc-http-client-restricted)
(ghc-blaze-html, ghc-happstack-server, ghc-sourcemap)[home-page]:
Likewise.
* gnu/packages/haskell-xyz.scm (ghc-assoc, ghc-cairo, ghc-cborg)
(ghc-csv, ghc-glob, ghc-gtk2hs-buildtools, ghc-hmatrix-gsl-stats)
(ghc-intervalmap, ghc-lens-family-core, ghc-managed, ghc-mountpoints)
(ghc-network-multicast, ghc-optional-args, ghc-regex, ghc-spoon)
(ghc-transformers, ghc-turtle, ghc-utf8-light, ghc-wizards)
(ghc-template-haskell, ghc-boot-th, ghc-binary-orphans)
(ghc-postgresql-simple)[home-page]: Likewise.
* gnu/packages/hexedit.scm (ht, bvi)[home-page]: Likewise.
* gnu/packages/hunspell.scm (hunspell-dict-hu)[home-page]: Likewise.
* gnu/packages/image-processing.scm (mia)[home-page]: Likewise.
* gnu/packages/image-viewers.scm (geeqie, gpicview, luminance-hdr)
(qiv)[home-page]: Likewise.
* gnu/packages/image.scm (libuemf, devil, steghide, optipng, niftilib)
(sng, mtpaint)[home-page]: Likewise.
* gnu/packages/java-xml.scm (java-simple-xml, java-jaxp)
(java-apache-xml-commons-resolver)[home-page]: Likewise.
* gnu/packages/java.scm (java-cisd-base, java-cisd-args4j)
(java-hamcrest-core, java-jsr305, java-eclipse-osgi)
(java-eclipse-equinox-common, java-eclipse-core-jobs)
(java-eclipse-equinox-registry, java-eclipse-equinox-app)
(java-eclipse-equinox-preferences, java-eclipse-core-contenttype)
(java-eclipse-text, java-treelayout, java-aopalliance, java-jeromq)
(java-cdi-api)[home-page]: Likewise.
* gnu/packages/jemalloc.scm (jemalloc-4.5.0)[home-page]: Likewise.
* gnu/packages/julia-xyz.scm (julia-recipespipeline)[home-page]:
Likewise.
* gnu/packages/kde-internet.scm (kget)[home-page]: Likewise.
* gnu/packages/kde-systemtools.scm (dolphin-plugins)
(konsole)[home-page]: Likewise.
* gnu/packages/kodi.scm (fstrcmp)[home-page]: Likewise.
* gnu/packages/language.scm (hime, libchewing)[home-page]: Likewise.
* gnu/packages/lego.scm (nqc)[home-page]: Likewise.
* gnu/packages/lesstif.scm (lesstif)[home-page]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[home-page]: Likewise.
* gnu/packages/libdaemon.scm (libdaemon)[home-page]: Likewise.
* gnu/packages/libffi.scm (libffi)[home-page]: Likewise.
* gnu/packages/libreoffice.scm (libwpd, libwpg, libwps)[home-page]:
Likewise.
* gnu/packages/libusb.scm (libmtp, gmtp)[home-page]: Likewise.
* gnu/packages/linux.scm (e2fsprogs, extundelete, lsscsi, net-tools)
(kbd, sysfsutils, cpuid, libpfm4)[home-page]: Likewise.
* gnu/packages/lisp-check.scm (sbcl-ptester, sbcl-xlunit)[home-page]:
Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-html-encode, sbcl-py-configparser)
(sbcl-cl-utilities, sbcl-series, sbcl-uffi, sbcl-clsql, sbcl-sycamore)
(sbcl-osicat, sbcl-hu.dwim.common, sbcl-caveman, sbcl-trivial-shell)
(sbcl-trivial-benchmark, sbcl-screamer, sbcl-smug)[home-page]: Likewise.
* gnu/packages/lisp.scm (lush2)[home-page]: Likewise.
* gnu/packages/logging.scm (log4cpp)[home-page]: Likewise.
* gnu/packages/lua.scm (lua-ldoc)[home-page]: Likewise.
* gnu/packages/machine-learning.scm (mcl, openfst, rxcpp)[home-page]:
Likewise.
* gnu/packages/mail.scm (muchsync, procmail, sendmail)
(opensmtpd-filter-dkimsign, crm114)[home-page]: Likewise.
* gnu/packages/man.scm (libpipeline, man-db)[home-page]: Likewise.
* gnu/packages/maths.scm (lapack, scalapack, hdf-eos5, itpp, gmsh)
(metamath, p4est, armadillo, suitesparse, atlas, lpsolve, wcalc, why3)
(frama-c)[home-page]: Likewise.
* gnu/packages/mcrypt.scm (mcrypt, libmcrypt, libmhash)[home-page]:
Likewise.
* gnu/packages/minetest.scm (minetest-advtrains)[home-page]: Likewise.
* gnu/packages/monitoring.scm (python-whisper, python-carbon)
(hostscope)[home-page]: Likewise.
* gnu/packages/mp3.scm (id3lib, libmp3splt, mp3splt, mpg321)
(lame)[home-page]: Likewise.
* gnu/packages/multiprecision.scm (mpc)[home-page]: Likewise.
* gnu/packages/music.scm (aria-maestosa, lingot, setbfree, bristol)
(portmidi, python-pyportmidi, zynaddsubfx, yoshimi, aj-snapshot)
(schismtracker, midicsv, midicsv, qmidiarp, qmidiroute, dssi, tap-lv2)
(shiru-lv2)[home-page]: Likewise.
* gnu/packages/ncurses.scm (stfl)[home-page]: Likewise.
* gnu/packages/networking.scm (lksctp-tools, mbuffer, ifstatus, bird)
(tunctl, traceroute)[home-page]: Likewise.
* gnu/packages/node-xyz.scm (node-mersenne)[home-page]: Likewise.
* gnu/packages/ntp.scm (openntpd)[home-page]: Likewise.
* gnu/packages/ocaml.scm (opam, hevea, ocaml-menhir, ocaml-piqilib)
(ocaml-graph, cubicle)[home-page]: Likewise.
* gnu/packages/opencl.scm (python-pyopencl)[home-page]: Likewise.
* gnu/packages/package-management.scm (xstow, modules)[home-page]:
Likewise.
* gnu/packages/parallel.scm (xjobs)[home-page]: Likewise.
* gnu/packages/pdf.scm (podofo, qpdf, xournal, impressive)[home-page]:
Likewise.
* gnu/packages/perl.scm (perl-math-vecstat, perltidy)[home-page]:
Likewise.
* gnu/packages/photo.scm (libpano13, enblend-enfuse, hugin)[home-page]:
Likewise.
* gnu/packages/plan9.scm (drawterm)[home-page]: Likewise.
* gnu/packages/plotutils.scm (guile-charting, ploticus)[home-page]:
Likewise.
* gnu/packages/popt.scm (argtable, popt)[home-page]: Likewise.
* gnu/packages/profiling.scm (otf2)[home-page]: Likewise.
* gnu/packages/pulseaudio.scm (pulseaudio)[home-page]: Likewise.
* gnu/packages/python-check.scm (python-mypy)[home-page]: Likewise.
* gnu/packages/python-web.scm (python-cssutils)
(python-translationstring)[home-page]: Likewise.
* gnu/packages/python-xyz.scm (python-diskcache, python-doxyqml)
(python-docutils, python-pexpect, python-importlib-resources)
(python-simplegeneric, python-urwid, python-xlrd, python-xlwt)
(python-pyasn1, python-pythondialog, python-tftpy, python-random2)
(python-arcp, python-pyopengl, python-sortedcollections)
(python-sortedcontainers, python-yapsy, python-pydispatcher)
(python-posix-ipc)[home-page]: Likewise.
* gnu/packages/qt.scm (qwt, libqglviewer, signond)[home-page]: Likewise.
* gnu/packages/radio.scm (unixcw, gnuais)[home-page]: Likewise.
* gnu/packages/raspberry-pi.scm (bcm2835)[home-page]: Likewise.
* gnu/packages/rdf.scm (clucene, rasqal, redland)[home-page]: Likewise.
* gnu/packages/regex.scm (tre)[home-page]: Likewise.
* gnu/packages/rsync.scm (librsync)[home-page]: Likewise.
* gnu/packages/ruby.scm (ruby-packnga, ruby-nokogiri, ruby-oj, ruby-ox)
(ruby-sinatra, ruby-citrus, ruby-cbor, ruby-roda)[home-page]: Likewise.
* gnu/packages/scheme.scm (scheme48, tinyscheme)[home-page]: Likewise.
* gnu/packages/screen.scm (dtach)[home-page]: Likewise.
* gnu/packages/scsi.scm (sg3-utils)[home-page]: Likewise.
* gnu/packages/sdl.scm (libmikmod, sdl-pango)[home-page]: Likewise.
* gnu/packages/shellutils.scm (hstr, rig)[home-page]: Likewise.
* gnu/packages/simulation.scm (python-dolfin-adjoint)[home-page]:
Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[home-page]: Likewise.
* gnu/packages/speech.scm (espeak)[home-page]: Likewise.
* gnu/packages/stalonetray.scm (stalonetray)[home-page]: Likewise.
* gnu/packages/statistics.scm (jags, r-mass, r-class, r-lattice)
(r-matrix, r-nnet, r-spatial, r-bit, r-bit64, r-digest, r-xtable)
(python-statsmodels, r-ade4, r-latticeextra, r-rcurl, r-xml, r-mvtnorm)
(r-robustbase, r-minqa, r-fdrtool, java-jdistlib, xlispstat)[home-page]:
Likewise.
* gnu/packages/swig.scm (swig)[home-page]: Likewise.
* gnu/packages/task-management.scm (wtime)[home-page]: Likewise.
* gnu/packages/tcl.scm (itcl, tclxml, tclx)[home-page]: Likewise.
* gnu/packages/terminals.scm (libtermkey, mlterm, libvterm)
(libvterm)[home-page]: Likewise.
* gnu/packages/tex.scm (texlive-lm, texlive-lm-math, texlive-cs)
(texlive-csplain, biber, texmaker)[home-page]: Likewise.
* gnu/packages/text-editors.scm (joe)[home-page]: Likewise.
* gnu/packages/textutils.scm (drm-tools, docx2txt)[home-page]: Likewise.
* gnu/packages/tv.scm (tvtime)[home-page]: Likewise.
* gnu/packages/unicode.scm (libunibreak)[home-page]: Likewise.
* gnu/packages/upnp.scm (libupnp)[home-page]: Likewise.
* gnu/packages/version-control.scm (cvs)[home-page]: Likewise.
* gnu/packages/video.scm (transcode, libquicktime, mjpegtools, aalib)
(liba52, libmpeg2, x265, libdv, dvdauthor, aegisub, pitivi, gavl)
(dvdbackup, guvcview, video-contact-sheet)[home-page]: Likewise.
* gnu/packages/virtualization.scm (bochs)[home-page]: Likewise.
* gnu/packages/w3m.scm (w3m)[home-page]: Likewise.
* gnu/packages/web.scm (qjson, libquvi-scripts, libquvi, quvi)
(tidy-html, htmlcxx)[home-page]: Likewise.
* gnu/packages/wm.scm (evilwm, menumaker)[home-page]: Likewise.
* gnu/packages/wv.scm (wv)[home-page]: Likewise.
* gnu/packages/wxwidgets.scm (wxsvg)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (mtdev, xsel)[home-page]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[home-page]: Likewise.
* gnu/packages/xml.scm (openjade, python-pyxb, xmlstarlet, xmlrpc-c)
(opensp)[home-page]: Likewise.
* gnu/packages/xorg.scm (xf86-video-qxl)[home-page]: Likewise.
2023-02-12 00:00:00 +00:00
|
|
|
|
(home-page "https://ngspice.sourceforge.net/")
|
2017-09-09 17:57:46 +00:00
|
|
|
|
(synopsis "Mixed-level/mixed-signal circuit simulator")
|
|
|
|
|
(description
|
|
|
|
|
"Ngspice is a mixed-level/mixed-signal circuit simulator. It includes
|
|
|
|
|
@code{Spice3f5}, a circuit simulator, and @code{Xspice}, an extension that
|
|
|
|
|
provides code modeling support and simulation of digital components through
|
|
|
|
|
an embedded event driven algorithm.")
|
|
|
|
|
(license (list license:lgpl2.0+ ; code in frontend/numparam
|
|
|
|
|
(license:non-copyleft "file:///COPYING") ; spice3 bsd-style
|
2021-06-12 21:11:40 +00:00
|
|
|
|
license:bsd-3 ; ciderlib
|
2017-09-09 17:57:46 +00:00
|
|
|
|
license:public-domain)))) ; xspice
|
|
|
|
|
|
|
|
|
|
(define-public ngspice
|
|
|
|
|
;; The ngspice executables (see libngpsice above.)
|
|
|
|
|
(package (inherit libngspice)
|
|
|
|
|
(name "ngspice")
|
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments libngspice)
|
|
|
|
|
((#:configure-flags flags)
|
2022-06-08 21:09:41 +00:00
|
|
|
|
`(cons "--with-readline=yes"
|
|
|
|
|
(delete "--with-ngshared" ,flags)))
|
2017-09-09 17:57:46 +00:00
|
|
|
|
((#:phases phases)
|
|
|
|
|
`(modify-phases ,phases
|
|
|
|
|
(add-after 'unpack 'delete-include-files
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "src/Makefile.in"
|
|
|
|
|
(("^SUBDIRS = misc maths frontend spicelib include/ngspice")
|
2021-06-12 21:10:15 +00:00
|
|
|
|
"SUBDIRS = misc maths frontend spicelib"))))
|
2017-09-09 17:57:46 +00:00
|
|
|
|
(delete 'delete-program-manuals)
|
|
|
|
|
(delete 'delete-script-files)))))
|
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list libngspice readline))))
|
2017-09-09 17:57:48 +00:00
|
|
|
|
|
|
|
|
|
(define trilinos-serial-xyce
|
|
|
|
|
;; Note: This is a Trilinos containing only the packages Xyce needs, so we
|
|
|
|
|
;; keep it private. See
|
|
|
|
|
;; <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27344#248>.
|
|
|
|
|
;; TODO: Remove when we have modular Trilinos packages?
|
|
|
|
|
(package
|
|
|
|
|
(name "trilinos-serial-xyce")
|
2018-05-19 18:46:24 +00:00
|
|
|
|
(version "12.12.1")
|
2017-09-09 17:57:48 +00:00
|
|
|
|
(source
|
2022-07-13 04:32:23 +00:00
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/trilinos/Trilinos")
|
|
|
|
|
(commit (string-append "trilinos-release-"
|
|
|
|
|
(string-map (lambda (chr)
|
|
|
|
|
(case chr
|
|
|
|
|
((#\.) #\-)
|
|
|
|
|
(else chr)))
|
|
|
|
|
version)))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1smz3wlpfyjn0czmpl8bj4hw33p1zi9nnfygpsx7jl1523nypa1n"))))
|
2017-09-09 17:57:48 +00:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:out-of-source? #t
|
2018-05-19 18:46:24 +00:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; Delete unneeded tribits(build system) directory which makes validate-runpath
|
|
|
|
|
;; phase to fail.
|
|
|
|
|
(add-before 'validate-runpath 'delete-tribits
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(delete-file-recursively
|
|
|
|
|
(string-append (assoc-ref outputs "out")
|
2022-07-13 04:32:23 +00:00
|
|
|
|
"/lib/cmake/tribits")))))
|
2017-09-09 17:57:48 +00:00
|
|
|
|
#:configure-flags
|
|
|
|
|
(list "-DCMAKE_CXX_FLAGS=-O3 -fPIC"
|
|
|
|
|
"-DCMAKE_C_FLAGS=-O3 -fPIC"
|
|
|
|
|
"-DCMAKE_Fortran_FLAGS=-O3 -fPIC"
|
|
|
|
|
"-DTrilinos_ENABLE_NOX=ON"
|
|
|
|
|
"-DNOX_ENABLE_LOCA=ON"
|
|
|
|
|
"-DTrilinos_ENABLE_EpetraExt=ON"
|
|
|
|
|
"-DEpetraExt_BUILD_BTF=ON"
|
|
|
|
|
"-DEpetraExt_BUILD_EXPERIMENTAL=ON"
|
|
|
|
|
"-DEpetraExt_BUILD_GRAPH_REORDERINGS=ON"
|
|
|
|
|
"-DTrilinos_ENABLE_TrilinosCouplings=ON"
|
|
|
|
|
"-DTrilinos_ENABLE_Ifpack=ON"
|
|
|
|
|
"-DTrilinos_ENABLE_Isorropia=ON"
|
|
|
|
|
"-DTrilinos_ENABLE_AztecOO=ON"
|
|
|
|
|
"-DTrilinos_ENABLE_Belos=ON"
|
|
|
|
|
"-DTrilinos_ENABLE_Teuchos=ON"
|
|
|
|
|
"-DTeuchos_ENABLE_COMPLEX=ON"
|
|
|
|
|
"-DTrilinos_ENABLE_Amesos=ON"
|
|
|
|
|
"-DAmesos_ENABLE_KLU=ON"
|
|
|
|
|
"-DAmesos_ENABLE_UMFPACK=ON"
|
|
|
|
|
"-DTrilinos_ENABLE_Sacado=ON"
|
|
|
|
|
"-DTrilinos_ENABLE_Kokkos=OFF"
|
|
|
|
|
"-DTrilinos_ENABLE_ALL_OPTIONAL_PACKAGES=OFF"
|
|
|
|
|
"-DTPL_ENABLE_AMD=ON"
|
|
|
|
|
"-DTPL_ENABLE_UMFPACK=ON"
|
|
|
|
|
"-DTPL_ENABLE_BLAS=ON"
|
|
|
|
|
"-DTPL_ENABLE_LAPACK=ON")))
|
2022-07-13 04:32:23 +00:00
|
|
|
|
(native-inputs (list gfortran swig))
|
|
|
|
|
(inputs (list boost lapack suitesparse))
|
2017-09-09 17:57:48 +00:00
|
|
|
|
(home-page "https://trilinos.org")
|
|
|
|
|
(synopsis "Engineering and scientific problems algorithms")
|
|
|
|
|
(description
|
|
|
|
|
"The Trilinos Project is an effort to develop algorithms and enabling
|
|
|
|
|
technologies within an object-oriented software framework for the solution of
|
|
|
|
|
large-scale, complex multi-physics engineering and scientific problems. A
|
|
|
|
|
unique design feature of Trilinos is its focus on packages.")
|
|
|
|
|
(license (list license:lgpl2.1+
|
|
|
|
|
license:bsd-3))))
|
|
|
|
|
|
|
|
|
|
(define-public xyce-serial
|
|
|
|
|
(package
|
|
|
|
|
(name "xyce-serial")
|
2018-05-19 18:46:25 +00:00
|
|
|
|
(version "6.8")
|
2017-09-09 17:57:48 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin (method url-fetch)
|
|
|
|
|
(uri (string-append "https://archive.org/download/Xyce-"
|
|
|
|
|
version "/Xyce-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-05-19 18:46:25 +00:00
|
|
|
|
"09flp1xywbb2laayd9rg8vd0fjsh115y6k1p71jacy0nrbdvvlcg"))))
|
2017-09-09 17:57:48 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f
|
|
|
|
|
#:configure-flags
|
|
|
|
|
(list
|
gnu: Remove more GCC < 7 workarounds.
* gnu/packages/abiword.scm (abiword)[arguments]: Do not pass "-std=c++11" to
the GCC command line.
* gnu/packages/aidc.scm (zbar)[arguments]: Likewise.
* gnu/packages/android.scm (android-libbase, android-libcutils,
android-libziparchive, fastboot)[arguments]: Likewise.
* gnu/packages/audio.scm (azr3, guitarix, suil)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bless)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (libtorrent-rasterbar)[arguments]: Likewise.
* gnu/packages/code.scm (rtags)[arguments]: Likewise.
* gnu/packages/coq.scm (coq-gappa)[arguments]: Likewise.
* gnu/packages/emulators.scm (dolphin-emu)[arguments]: Likewise.
* gnu/packages/engineering.scm (xyce-serial, xyce-parallel)[arguments]: Likewise.
* gnu/packages/gnupg.scm (pinentry-qt)[arguments]: Likewise.
* gnu/packages/gobby.scm (libnet6, obby)[arguments]: Likewise.
* gnu/packages/graph.scm (python-faiss)[arguments]: Likewise.
* gnu/packages/graphics.scm (povray)[arguments]: Likewise.
* gnu/packages/image-processing.scm (opencv, itk-snap)[arguments]: Likewise.
* gnu/packages/image.scm (freeimage)[arguments]: Likewise.
* gnu/packages/kodi.scm (crossguid)[arguments]: Likewise.
* gnu/packages/music.scm (amsynth, qmidiarp, qmidiroute, seq24)[arguments]: Likewise.
* gnu/packages/pdf.scm (python-poppler-qt5)[arguments]: Likewise.
* gnu/packages/sagemath.scm (lcalc)[arguments]: Likewise.
* gnu/packages/video.scm (vlc, mlt, v4l-utils)[arguments]: Likewise.
2019-10-20 11:31:19 +00:00
|
|
|
|
"CXXFLAGS=-O3"
|
2017-09-09 17:57:48 +00:00
|
|
|
|
(string-append "ARCHDIR="
|
|
|
|
|
(assoc-ref %build-inputs "trilinos")))))
|
|
|
|
|
(native-inputs
|
2019-09-30 07:48:18 +00:00
|
|
|
|
`(("bison" ,bison-3.0) ;'configure' fails with Bison 3.4
|
2017-09-09 17:57:48 +00:00
|
|
|
|
("flex" ,flex)
|
|
|
|
|
("fortran" ,gfortran)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("fftw" ,fftw)
|
|
|
|
|
("suitesparse" ,suitesparse)
|
2018-05-19 18:46:25 +00:00
|
|
|
|
("lapack" ,lapack)
|
2017-09-09 17:57:48 +00:00
|
|
|
|
("trilinos" ,trilinos-serial-xyce)))
|
|
|
|
|
(home-page "https://xyce.sandia.gov/")
|
|
|
|
|
(synopsis "High-performance analog circuit simulator")
|
|
|
|
|
(description
|
|
|
|
|
"Xyce is a SPICE-compatible, high-performance analog circuit simulator,
|
|
|
|
|
capable of solving extremely large circuit problems by supporting large-scale
|
|
|
|
|
parallel computing platforms. It also supports serial execution.")
|
|
|
|
|
(license license:gpl3+)))
|
2017-09-09 17:57:49 +00:00
|
|
|
|
|
|
|
|
|
(define trilinos-parallel-xyce
|
|
|
|
|
(package (inherit trilinos-serial-xyce)
|
|
|
|
|
(name "trilinos-parallel-xyce")
|
|
|
|
|
(arguments
|
|
|
|
|
`(,@(substitute-keyword-arguments (package-arguments trilinos-serial-xyce)
|
|
|
|
|
((#:configure-flags flags)
|
|
|
|
|
`(append (list "-DTrilinos_ENABLE_ShyLU=ON"
|
|
|
|
|
"-DTrilinos_ENABLE_Zoltan=ON"
|
|
|
|
|
"-DTPL_ENABLE_MPI=ON")
|
|
|
|
|
,flags)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("mpi" ,openmpi)
|
|
|
|
|
,@(package-inputs trilinos-serial-xyce)))))
|
|
|
|
|
|
|
|
|
|
(define-public xyce-parallel
|
|
|
|
|
(package (inherit xyce-serial)
|
|
|
|
|
(name "xyce-parallel")
|
|
|
|
|
(arguments
|
|
|
|
|
`(,@(substitute-keyword-arguments (package-arguments xyce-serial)
|
|
|
|
|
((#:configure-flags flags)
|
gnu: Remove more GCC < 7 workarounds.
* gnu/packages/abiword.scm (abiword)[arguments]: Do not pass "-std=c++11" to
the GCC command line.
* gnu/packages/aidc.scm (zbar)[arguments]: Likewise.
* gnu/packages/android.scm (android-libbase, android-libcutils,
android-libziparchive, fastboot)[arguments]: Likewise.
* gnu/packages/audio.scm (azr3, guitarix, suil)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bless)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (libtorrent-rasterbar)[arguments]: Likewise.
* gnu/packages/code.scm (rtags)[arguments]: Likewise.
* gnu/packages/coq.scm (coq-gappa)[arguments]: Likewise.
* gnu/packages/emulators.scm (dolphin-emu)[arguments]: Likewise.
* gnu/packages/engineering.scm (xyce-serial, xyce-parallel)[arguments]: Likewise.
* gnu/packages/gnupg.scm (pinentry-qt)[arguments]: Likewise.
* gnu/packages/gobby.scm (libnet6, obby)[arguments]: Likewise.
* gnu/packages/graph.scm (python-faiss)[arguments]: Likewise.
* gnu/packages/graphics.scm (povray)[arguments]: Likewise.
* gnu/packages/image-processing.scm (opencv, itk-snap)[arguments]: Likewise.
* gnu/packages/image.scm (freeimage)[arguments]: Likewise.
* gnu/packages/kodi.scm (crossguid)[arguments]: Likewise.
* gnu/packages/music.scm (amsynth, qmidiarp, qmidiroute, seq24)[arguments]: Likewise.
* gnu/packages/pdf.scm (python-poppler-qt5)[arguments]: Likewise.
* gnu/packages/sagemath.scm (lcalc)[arguments]: Likewise.
* gnu/packages/video.scm (vlc, mlt, v4l-utils)[arguments]: Likewise.
2019-10-20 11:31:19 +00:00
|
|
|
|
`(list "CXXFLAGS=-O3"
|
2017-09-09 17:57:49 +00:00
|
|
|
|
"CXX=mpiCC"
|
|
|
|
|
"CC=mpicc"
|
|
|
|
|
"F77=mpif77"
|
|
|
|
|
"--enable-mpi"
|
|
|
|
|
(string-append
|
|
|
|
|
"ARCHDIR="
|
|
|
|
|
(assoc-ref %build-inputs "trilinos")))))))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("mpi" ,openmpi)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("trilinos" ,trilinos-parallel-xyce)
|
|
|
|
|
,@(alist-delete "trilinos"
|
|
|
|
|
(package-inputs xyce-serial))))))
|
2017-09-09 17:57:50 +00:00
|
|
|
|
|
|
|
|
|
(define-public freehdl
|
|
|
|
|
(package
|
|
|
|
|
(name "freehdl")
|
|
|
|
|
(version "0.0.8")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://downloads.sourceforge.net/qucs/freehdl-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-05-13 22:21:41 +00:00
|
|
|
|
"117dqs0d4pcgbzvr3jn5ppra7n7x2m6c161ywh6laa934pw7h2bz"))
|
|
|
|
|
(patches
|
|
|
|
|
(list (origin
|
|
|
|
|
;; Fix build with GCC 7. Patch taken from Arch Linux:
|
2021-07-20 04:02:01 +00:00
|
|
|
|
;; https://github.com/archlinux/svntogit-community/tree/packages/freehdl/trunk
|
2020-05-13 22:21:41 +00:00
|
|
|
|
(method url-fetch)
|
2021-07-20 04:02:01 +00:00
|
|
|
|
(uri (string-append "https://raw.githubusercontent.com"
|
|
|
|
|
"/archlinux/svntogit-community"
|
|
|
|
|
"/3bb90d64dfe6883e26083cd1fa96226d0d59175a"
|
|
|
|
|
"/trunk/build-fix.patch"))
|
2020-05-13 22:21:41 +00:00
|
|
|
|
(file-name "freehdl-c++-namespace.patch")
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"09df3c70rx81rnhlhry1wpdhji274nx9jb74rfprk06l4739zm08")))))))
|
2017-09-09 17:57:50 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'patch-pkg-config
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "freehdl/freehdl-config"
|
|
|
|
|
(("pkg-config")
|
2021-07-16 14:50:56 +00:00
|
|
|
|
(search-input-file inputs "/bin/pkg-config"))
|
2017-09-09 17:57:50 +00:00
|
|
|
|
(("cat")
|
2021-07-16 14:50:56 +00:00
|
|
|
|
(search-input-file inputs "/bin/cat")))))
|
2017-10-27 14:18:17 +00:00
|
|
|
|
(add-after 'patch-pkg-config 'setenv
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
2021-07-16 14:50:56 +00:00
|
|
|
|
(setenv "CXX" (search-input-file inputs "/bin/g++"))
|
|
|
|
|
(setenv "SYSTEM_LIBTOOL"
|
|
|
|
|
(search-input-file inputs "/bin/libtool"))))
|
2017-10-27 14:18:17 +00:00
|
|
|
|
(add-after 'setenv 'patch-gvhdl
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "v2cc/gvhdl.in"
|
|
|
|
|
(("--mode=link") "--mode=link --tag=CXX")
|
|
|
|
|
(("-lm") "-lm FREEHDL/lib/freehdl/libieee.la"))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'patch-gvhdl 'patch-freehdl-gennodes
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "freehdl/freehdl-gennodes.in"
|
|
|
|
|
(("guile")
|
2021-07-16 14:50:56 +00:00
|
|
|
|
(search-input-file inputs "/bin/guile"))
|
2017-10-27 14:18:17 +00:00
|
|
|
|
(("\\(debug") ";(debug")
|
|
|
|
|
(("\\(@ ") "(apply-emit")
|
|
|
|
|
(("\\(@@ ") "(apply-mini-format"))
|
|
|
|
|
#t))
|
2017-09-09 17:57:50 +00:00
|
|
|
|
(add-after 'configure 'patch-freehdl-pc
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "freehdl.pc"
|
|
|
|
|
(("=g\\+\\+")
|
2017-10-27 14:18:17 +00:00
|
|
|
|
(string-append "=" (assoc-ref inputs "gcc-toolchain")
|
2017-09-09 17:57:50 +00:00
|
|
|
|
"/bin/g++"))
|
|
|
|
|
(("=libtool")
|
|
|
|
|
(string-append "=" (assoc-ref inputs "libtool")
|
|
|
|
|
"/bin/libtool")))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install-scripts 'make-wrapper
|
2017-10-27 14:18:17 +00:00
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
2017-09-09 17:57:50 +00:00
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
2017-10-27 14:18:17 +00:00
|
|
|
|
;; 'gvhdl' invokes the C compiler directly, so hard-code its
|
|
|
|
|
;; file name.
|
|
|
|
|
(wrap-program (string-append out "/bin/gvhdl")
|
|
|
|
|
`("CPLUS_INCLUDE_PATH" ":" prefix
|
|
|
|
|
(,(string-append (assoc-ref inputs "gcc-toolchain")
|
|
|
|
|
"/include")))
|
|
|
|
|
`("LIBRARY_PATH" ":" prefix
|
|
|
|
|
(,(string-append (assoc-ref inputs "gcc-toolchain")
|
|
|
|
|
"/lib")))
|
|
|
|
|
`("PATH" ":" prefix
|
|
|
|
|
(,(string-append (assoc-ref inputs "gcc-toolchain")
|
|
|
|
|
"/bin")
|
|
|
|
|
,(string-append (assoc-ref inputs "coreutils")
|
|
|
|
|
"/bin"))))
|
2017-09-09 17:57:50 +00:00
|
|
|
|
(wrap-program (string-append out "/bin/freehdl-config")
|
|
|
|
|
`("PKG_CONFIG_PATH" ":" prefix (,(string-append out "/lib/pkgconfig")))))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list coreutils
|
2023-08-10 07:23:32 +00:00
|
|
|
|
|
|
|
|
|
;; Lazily resolve the gcc-toolchain to avoid a circular dependency.
|
|
|
|
|
(module-ref (resolve-interface '(gnu packages commencement))
|
|
|
|
|
'gcc-toolchain)
|
|
|
|
|
|
2021-12-13 16:18:24 +00:00
|
|
|
|
guile-2.2
|
|
|
|
|
perl
|
|
|
|
|
pkg-config
|
|
|
|
|
libtool))
|
2017-09-09 17:57:50 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config-native" ,pkg-config)
|
|
|
|
|
("libtool-native" ,libtool)))
|
|
|
|
|
(home-page "http://www.freehdl.seul.org/")
|
|
|
|
|
(synopsis "VHDL simulator")
|
|
|
|
|
(description
|
|
|
|
|
"FreeHDL is a compiler/simulator suite for the hardware description language VHDL.
|
|
|
|
|
VHDL'93 as well as VHDL'87 standards are supported.")
|
|
|
|
|
(license (list license:gpl2+
|
|
|
|
|
license:lgpl2.0+)))) ; freehdl's libraries
|
|
|
|
|
|
2018-12-01 13:22:42 +00:00
|
|
|
|
(define-public librepcb
|
|
|
|
|
(package
|
|
|
|
|
(name "librepcb")
|
gnu: librepcb: Update to 1.0.0.
* gnu/packages/engineering.scm (librepcb): Update to 1.0.0.
[source]: Add snippet to remove some vendored dependencies.
[build-system]: Use cmake-build-system.
[inputs]: Add fontconfig, fontobene-qt5, glu, hoedown, muparser,
opencascade-occt, clipper, qtdeclarative-5, qtquickcontrols2-5, quazip.
[native-inputs]: Add googletest, pkg-config.
[arguments]<#:configure-flags>: Add "-DUNBUNDLE_FONTOBENE_QT5=ON",
"-DUNBUNDLE_GTEST=ON", "-DUNBUNDLE_HOEDOWN=ON", "-DUNBUNDLE_MUPARSER=ON",
"-DUNBUNDLE_POLYCLIPPING=ON", "-DUNBUNDLE_QUAZIP=ON".
<#:phases>: Don't override the configure phase. Override the check phase and
skip failing tests.
[license]: Remove licenses from unbundled dependencies.
Signed-off-by: Vinicius Monego <monego@posteo.net>
2023-10-04 00:15:22 +00:00
|
|
|
|
(version "1.0.0")
|
2018-12-01 13:22:42 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2019-04-25 20:20:21 +00:00
|
|
|
|
(uri (string-append "https://download.librepcb.org/releases/"
|
|
|
|
|
version "/librepcb-" version "-source.zip"))
|
gnu: librepcb: Update to 1.0.0.
* gnu/packages/engineering.scm (librepcb): Update to 1.0.0.
[source]: Add snippet to remove some vendored dependencies.
[build-system]: Use cmake-build-system.
[inputs]: Add fontconfig, fontobene-qt5, glu, hoedown, muparser,
opencascade-occt, clipper, qtdeclarative-5, qtquickcontrols2-5, quazip.
[native-inputs]: Add googletest, pkg-config.
[arguments]<#:configure-flags>: Add "-DUNBUNDLE_FONTOBENE_QT5=ON",
"-DUNBUNDLE_GTEST=ON", "-DUNBUNDLE_HOEDOWN=ON", "-DUNBUNDLE_MUPARSER=ON",
"-DUNBUNDLE_POLYCLIPPING=ON", "-DUNBUNDLE_QUAZIP=ON".
<#:phases>: Don't override the configure phase. Override the check phase and
skip failing tests.
[license]: Remove licenses from unbundled dependencies.
Signed-off-by: Vinicius Monego <monego@posteo.net>
2023-10-04 00:15:22 +00:00
|
|
|
|
(modules `((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
;; Delete libraries that we already have or don't need.
|
|
|
|
|
;; TODO: try to unbundle more (see lib/).
|
|
|
|
|
`(begin
|
|
|
|
|
(let ((third-parties '("fontobene-qt5"
|
|
|
|
|
"googletest"
|
|
|
|
|
"hoedown"
|
|
|
|
|
"muparser"
|
|
|
|
|
"polyclipping"
|
|
|
|
|
"quazip")))
|
|
|
|
|
(with-directory-excursion "libs"
|
|
|
|
|
(map (lambda (third-party)
|
|
|
|
|
(delete-file-recursively third-party))
|
|
|
|
|
third-parties)))))
|
2018-12-01 13:22:42 +00:00
|
|
|
|
(sha256
|
gnu: librepcb: Update to 1.0.0.
* gnu/packages/engineering.scm (librepcb): Update to 1.0.0.
[source]: Add snippet to remove some vendored dependencies.
[build-system]: Use cmake-build-system.
[inputs]: Add fontconfig, fontobene-qt5, glu, hoedown, muparser,
opencascade-occt, clipper, qtdeclarative-5, qtquickcontrols2-5, quazip.
[native-inputs]: Add googletest, pkg-config.
[arguments]<#:configure-flags>: Add "-DUNBUNDLE_FONTOBENE_QT5=ON",
"-DUNBUNDLE_GTEST=ON", "-DUNBUNDLE_HOEDOWN=ON", "-DUNBUNDLE_MUPARSER=ON",
"-DUNBUNDLE_POLYCLIPPING=ON", "-DUNBUNDLE_QUAZIP=ON".
<#:phases>: Don't override the configure phase. Override the check phase and
skip failing tests.
[license]: Remove licenses from unbundled dependencies.
Signed-off-by: Vinicius Monego <monego@posteo.net>
2023-10-04 00:15:22 +00:00
|
|
|
|
(base32 "02qfwyhdq1pklb5gkwn3rbsdhwvcgiksd21swaphz3kw6s4p9i8v"))))
|
|
|
|
|
(build-system cmake-build-system)
|
2018-12-01 13:22:42 +00:00
|
|
|
|
(inputs
|
gnu: librepcb: Update to 1.0.0.
* gnu/packages/engineering.scm (librepcb): Update to 1.0.0.
[source]: Add snippet to remove some vendored dependencies.
[build-system]: Use cmake-build-system.
[inputs]: Add fontconfig, fontobene-qt5, glu, hoedown, muparser,
opencascade-occt, clipper, qtdeclarative-5, qtquickcontrols2-5, quazip.
[native-inputs]: Add googletest, pkg-config.
[arguments]<#:configure-flags>: Add "-DUNBUNDLE_FONTOBENE_QT5=ON",
"-DUNBUNDLE_GTEST=ON", "-DUNBUNDLE_HOEDOWN=ON", "-DUNBUNDLE_MUPARSER=ON",
"-DUNBUNDLE_POLYCLIPPING=ON", "-DUNBUNDLE_QUAZIP=ON".
<#:phases>: Don't override the configure phase. Override the check phase and
skip failing tests.
[license]: Remove licenses from unbundled dependencies.
Signed-off-by: Vinicius Monego <monego@posteo.net>
2023-10-04 00:15:22 +00:00
|
|
|
|
(list clipper
|
|
|
|
|
fontconfig
|
|
|
|
|
fontobene-qt5
|
|
|
|
|
glu
|
|
|
|
|
hoedown
|
|
|
|
|
muparser
|
|
|
|
|
opencascade-occt
|
|
|
|
|
qtbase-5
|
|
|
|
|
qtdeclarative-5
|
|
|
|
|
qtquickcontrols2-5
|
|
|
|
|
qtsvg-5
|
|
|
|
|
quazip
|
|
|
|
|
zlib))
|
2018-12-01 13:22:42 +00:00
|
|
|
|
(native-inputs
|
gnu: librepcb: Update to 1.0.0.
* gnu/packages/engineering.scm (librepcb): Update to 1.0.0.
[source]: Add snippet to remove some vendored dependencies.
[build-system]: Use cmake-build-system.
[inputs]: Add fontconfig, fontobene-qt5, glu, hoedown, muparser,
opencascade-occt, clipper, qtdeclarative-5, qtquickcontrols2-5, quazip.
[native-inputs]: Add googletest, pkg-config.
[arguments]<#:configure-flags>: Add "-DUNBUNDLE_FONTOBENE_QT5=ON",
"-DUNBUNDLE_GTEST=ON", "-DUNBUNDLE_HOEDOWN=ON", "-DUNBUNDLE_MUPARSER=ON",
"-DUNBUNDLE_POLYCLIPPING=ON", "-DUNBUNDLE_QUAZIP=ON".
<#:phases>: Don't override the configure phase. Override the check phase and
skip failing tests.
[license]: Remove licenses from unbundled dependencies.
Signed-off-by: Vinicius Monego <monego@posteo.net>
2023-10-04 00:15:22 +00:00
|
|
|
|
(list googletest
|
|
|
|
|
pkg-config
|
|
|
|
|
qttools-5
|
2021-12-13 16:18:24 +00:00
|
|
|
|
unzip))
|
2018-12-01 13:22:42 +00:00
|
|
|
|
(arguments
|
gnu: librepcb: Update to 1.0.0.
* gnu/packages/engineering.scm (librepcb): Update to 1.0.0.
[source]: Add snippet to remove some vendored dependencies.
[build-system]: Use cmake-build-system.
[inputs]: Add fontconfig, fontobene-qt5, glu, hoedown, muparser,
opencascade-occt, clipper, qtdeclarative-5, qtquickcontrols2-5, quazip.
[native-inputs]: Add googletest, pkg-config.
[arguments]<#:configure-flags>: Add "-DUNBUNDLE_FONTOBENE_QT5=ON",
"-DUNBUNDLE_GTEST=ON", "-DUNBUNDLE_HOEDOWN=ON", "-DUNBUNDLE_MUPARSER=ON",
"-DUNBUNDLE_POLYCLIPPING=ON", "-DUNBUNDLE_QUAZIP=ON".
<#:phases>: Don't override the configure phase. Override the check phase and
skip failing tests.
[license]: Remove licenses from unbundled dependencies.
Signed-off-by: Vinicius Monego <monego@posteo.net>
2023-10-04 00:15:22 +00:00
|
|
|
|
`(#:configure-flags (list
|
|
|
|
|
"-DUNBUNDLE_FONTOBENE_QT5=ON"
|
|
|
|
|
"-DUNBUNDLE_GTEST=ON"
|
|
|
|
|
"-DUNBUNDLE_HOEDOWN=ON"
|
|
|
|
|
"-DUNBUNDLE_MUPARSER=ON"
|
|
|
|
|
"-DUNBUNDLE_POLYCLIPPING=ON"
|
|
|
|
|
"-DUNBUNDLE_QUAZIP=ON")
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
|
(when tests?
|
|
|
|
|
(let ((test-include (list "*"))
|
|
|
|
|
(test-exclude
|
|
|
|
|
(list
|
|
|
|
|
;; These tests all fail when run by the build
|
|
|
|
|
;; process even though they pass when manually
|
|
|
|
|
;; run as a normal user.
|
|
|
|
|
|
|
|
|
|
;; TODO: verify that the failing tests don't
|
|
|
|
|
;; point to any actual underlying issues
|
|
|
|
|
"SystemInfoTest.testGetUsername"
|
|
|
|
|
"OrderPcbDialogTest.testAutoOpenBrowser"
|
|
|
|
|
"DxfImportDialogTest.testLayerName"
|
|
|
|
|
"DxfImportDialogTest.testCirclesAsDrills"
|
|
|
|
|
"DxfImportDialogTest.testJoinTangentPolylines"
|
|
|
|
|
"DxfImportDialogTest.testLineWidth"
|
|
|
|
|
"DxfImportDialogTest.testScaleFactor"
|
|
|
|
|
"DxfImportDialogTest.testPlacementPosition"
|
|
|
|
|
"GraphicsExportDialogTest.testPageSize"
|
|
|
|
|
"GraphicsExportDialogTest.testOrientation"
|
|
|
|
|
"GraphicsExportDialogTest.testMargins"
|
|
|
|
|
"GraphicsExportDialogTest.testShowPinNumbers"
|
|
|
|
|
"GraphicsExportDialogTest.testRotate"
|
|
|
|
|
"GraphicsExportDialogTest.testMirror"
|
|
|
|
|
"GraphicsExportDialogTest.testScale"
|
|
|
|
|
"GraphicsExportDialogTest.testPixmapDpi"
|
|
|
|
|
"GraphicsExportDialogTest.testBlackWhite"
|
|
|
|
|
"GraphicsExportDialogTest.testBackgroundColor"
|
|
|
|
|
"GraphicsExportDialogTest.testMinLineWidth"
|
|
|
|
|
"GraphicsExportDialogTest.testLayerColors"
|
|
|
|
|
"GraphicsExportDialogTest.testOpenExportedFiles"
|
|
|
|
|
"AddComponentDialogTest.testAddMore")))
|
|
|
|
|
(setenv "QT_QPA_PLATFORM" "offscreen")
|
|
|
|
|
(setenv "QT_QUICK_BACKEND" "software")
|
|
|
|
|
(display "Running unittests...\n")
|
|
|
|
|
(invoke "./tests/unittests/librepcb-unittests"
|
|
|
|
|
(string-append
|
|
|
|
|
"--gtest_filter="
|
|
|
|
|
(string-join test-include ":")
|
|
|
|
|
"-"
|
|
|
|
|
(string-join test-exclude ":"))))))))))
|
2018-12-01 13:22:42 +00:00
|
|
|
|
(home-page "https://librepcb.org/")
|
|
|
|
|
(synopsis "Electronic Design Automation tool")
|
|
|
|
|
(description "LibrePCB is @dfn{Electronic Design Automation} (EDA)
|
|
|
|
|
software to develop printed circuit boards. It features human readable file
|
|
|
|
|
formats and complete project management with library, schematic and board
|
|
|
|
|
editors.")
|
|
|
|
|
(license (list license:gpl3+
|
gnu: librepcb: Update to 1.0.0.
* gnu/packages/engineering.scm (librepcb): Update to 1.0.0.
[source]: Add snippet to remove some vendored dependencies.
[build-system]: Use cmake-build-system.
[inputs]: Add fontconfig, fontobene-qt5, glu, hoedown, muparser,
opencascade-occt, clipper, qtdeclarative-5, qtquickcontrols2-5, quazip.
[native-inputs]: Add googletest, pkg-config.
[arguments]<#:configure-flags>: Add "-DUNBUNDLE_FONTOBENE_QT5=ON",
"-DUNBUNDLE_GTEST=ON", "-DUNBUNDLE_HOEDOWN=ON", "-DUNBUNDLE_MUPARSER=ON",
"-DUNBUNDLE_POLYCLIPPING=ON", "-DUNBUNDLE_QUAZIP=ON".
<#:phases>: Don't override the configure phase. Override the check phase and
skip failing tests.
[license]: Remove licenses from unbundled dependencies.
Signed-off-by: Vinicius Monego <monego@posteo.net>
2023-10-04 00:15:22 +00:00
|
|
|
|
license:boost1.0 ; libs/optional/tests/catch.hpp,
|
2018-12-01 13:22:42 +00:00
|
|
|
|
license:expat ; libs/delaunay-triangulation,
|
|
|
|
|
; libs/parseagle, libs/type_safe
|
gnu: librepcb: Update to 1.0.0.
* gnu/packages/engineering.scm (librepcb): Update to 1.0.0.
[source]: Add snippet to remove some vendored dependencies.
[build-system]: Use cmake-build-system.
[inputs]: Add fontconfig, fontobene-qt5, glu, hoedown, muparser,
opencascade-occt, clipper, qtdeclarative-5, qtquickcontrols2-5, quazip.
[native-inputs]: Add googletest, pkg-config.
[arguments]<#:configure-flags>: Add "-DUNBUNDLE_FONTOBENE_QT5=ON",
"-DUNBUNDLE_GTEST=ON", "-DUNBUNDLE_HOEDOWN=ON", "-DUNBUNDLE_MUPARSER=ON",
"-DUNBUNDLE_POLYCLIPPING=ON", "-DUNBUNDLE_QUAZIP=ON".
<#:phases>: Don't override the configure phase. Override the check phase and
skip failing tests.
[license]: Remove licenses from unbundled dependencies.
Signed-off-by: Vinicius Monego <monego@posteo.net>
2023-10-04 00:15:22 +00:00
|
|
|
|
license:asl2.0 ; libs/parseagle
|
|
|
|
|
license:cc0 ; libs/optional
|
|
|
|
|
license:bsd-2)))) ; libs/optional/tests/catch.hpp
|
2019-02-07 21:33:08 +00:00
|
|
|
|
|
|
|
|
|
(define-public gpx
|
|
|
|
|
(package
|
|
|
|
|
(name "gpx")
|
|
|
|
|
(version "2.5.2")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/markwal/GPX")
|
2019-02-07 21:33:08 +00:00
|
|
|
|
(commit version)))
|
gnu: Add 'file-name' where appropriate.
* gnu/packages/admin.scm (detox, neofetch),
gnu/packages/algebra.scm (python-fpylll),
gnu/packages/bioinformatics.scm (tbsp, genrich),
gnu/packages/crypto.scm (hpenc),
gnu/packages/digest.scm (xxhash),
gnu/packages/emacs-xyz.scm (emacs-tiny, emacs-ergoemacs-mode,
emacs-make-it-so, emacs-poet-theme, emacs-deft, emacs-scribble-mode,
emacs-helm-mu, emacs-unidecode, emacs-diff-hl, emacs-helm-exwm,
emacs-gif-screencast, emacs-exec-path-from-shell),
gnu/packages/engineering.scm (gpx),
gnu/packages/freedesktop.scm (waylandpp),
gnu/packages/golang.scm (go-github-com-sirupsen-logrus,
go-github-com-shirou-gopsutil),
gnu/packages/guile-xyz.scm (guile-studio, guile-picture-language,
jupyter-guile-kernel),
gnu/packages/image-viewers.scm (qview),
gnu/packages/java-maths.scm (java-jblas),
gnu/packages/llvm.scm (libclc),
gnu/packages/logging.scm (spdlog),
gnu/packages/ocaml.scm (ocaml-cstruct, ocaml-zarith),
gnu/packages/terminals.scm (libtsm),
gnu/packages/tigervnc.scm (tigervnc-client),
gnu/packages/xdisorg.scm (xcalib, xbanish) [source]: Add file-name.
2019-11-10 10:03:51 +00:00
|
|
|
|
(file-name (git-file-name name version))
|
2019-02-07 21:33:08 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1yab269x8qyf7rd04vaxyqyjv4pzz9lp4sc4dwh927k23avr3rw5"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(home-page "https://github.com/markwal/GPX")
|
|
|
|
|
(synopsis "Converting gcode to x3g files for 3D printing")
|
|
|
|
|
(description
|
|
|
|
|
"GPX is a post processing utility for converting gcode output from 3D
|
|
|
|
|
slicing software to x3g files for standalone 3D printing on common 3D
|
|
|
|
|
printers.")
|
|
|
|
|
(license license:gpl2+)))
|
2019-04-05 11:11:15 +00:00
|
|
|
|
|
|
|
|
|
(define-public gnucap
|
|
|
|
|
(package
|
|
|
|
|
(name "gnucap")
|
|
|
|
|
(version "20171003")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://git.savannah.gnu.org/cgit/gnucap.git/snapshot/gnucap-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"16m09xa685qhj5fqq3bcgakrwnb74xhf5f7rpqkkf9fg8plzbb1g"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list readline))
|
2019-04-05 11:11:15 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
;; Set correct rpath so that gnucap finds libgnucap.so.
|
|
|
|
|
(substitute* (list "apps/configure" "lib/configure"
|
|
|
|
|
"main/configure" "modelgen/configure")
|
|
|
|
|
(("LDFLAGS =")
|
|
|
|
|
(string-append "LDFLAGS = -Wl,-rpath=" out "/lib")))
|
|
|
|
|
;; gnucap uses a hand-written configure script that expects the
|
|
|
|
|
;; --prefix argument to be the first argument passed to it.
|
|
|
|
|
(invoke "./configure" (string-append "--prefix=" out)))))
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
|
(libpath "../lib/O:../apps/O"))
|
|
|
|
|
(with-directory-excursion "tests"
|
|
|
|
|
;; Make test return non-zero exit code when a test fails.
|
|
|
|
|
(substitute* "test"
|
|
|
|
|
(("/bin/sh") "/bin/sh -e")
|
|
|
|
|
(("\\|\\| echo \"\\*\\*\\*\\* \\$ii fails \\*\\*\\*\\*\"") ""))
|
|
|
|
|
;; Fix expected plugin search path for test c_attach.1.gc
|
|
|
|
|
(substitute* "==out/c_attach.1.gc.out"
|
|
|
|
|
(("/usr/local/lib/gnucap")
|
|
|
|
|
(string-append libpath ":" out "/lib/gnucap")))
|
|
|
|
|
;; Set library path so that gnucap can find libgnucap.so
|
|
|
|
|
;; while running the tests.
|
|
|
|
|
(setenv "LD_LIBRARY_PATH" libpath)
|
|
|
|
|
(invoke "./test" "../main/O/gnucap" "" "test-output" "==out"))))))))
|
|
|
|
|
(home-page "https://www.gnu.org/software/gnucap/")
|
|
|
|
|
(synopsis "Mixed analog and digital circuit simulator")
|
|
|
|
|
(description "GNUcap is a circuit analysis package. It offers a general
|
|
|
|
|
purpose circuit simulator and can perform DC and transient analyses, fourier
|
|
|
|
|
analysis and AC analysis. The engine is designed to do true mixed-mode
|
|
|
|
|
simulation.")
|
|
|
|
|
(license license:gpl3+)))
|
2019-07-20 11:30:22 +00:00
|
|
|
|
|
2021-03-01 18:06:42 +00:00
|
|
|
|
(define-public radare2-for-cutter
|
|
|
|
|
(package
|
|
|
|
|
(inherit radare2)
|
|
|
|
|
(name "radare2")
|
|
|
|
|
(version "5.0.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/radareorg/radare2")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0aa7c27kd0l55fy5qfvxqmakp4pz6240v3hn84095qmqkzcbs420"))
|
|
|
|
|
(file-name (git-file-name name version))))))
|
|
|
|
|
|
2019-07-20 11:30:22 +00:00
|
|
|
|
(define-public cutter
|
|
|
|
|
(package
|
|
|
|
|
(name "cutter")
|
2021-01-18 18:03:50 +00:00
|
|
|
|
(version "1.12.0")
|
2019-07-20 11:30:22 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
2023-07-23 00:00:00 +00:00
|
|
|
|
(url "https://github.com/rizinorg/cutter")
|
2019-07-20 11:30:22 +00:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2021-01-18 18:03:50 +00:00
|
|
|
|
(base32 "0ljj3j3apbbw628n2nyrxpbnclixx20bqjxm0xwggqzz9vywsar0"))))
|
2019-07-20 11:30:22 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
|
(radare2 (assoc-ref inputs "radare2")))
|
2020-05-25 20:46:46 +00:00
|
|
|
|
;; Fix pkg-config detection ./src/lib_radare2.pri:PREFIX=/usr/lib
|
|
|
|
|
;; override `qmake PREFIX=`.
|
2019-07-20 11:30:22 +00:00
|
|
|
|
(substitute* "./src/lib_radare2.pri"
|
|
|
|
|
(("PREFIX") "R2PREFIX")
|
|
|
|
|
(("R2PREFIX=/usr") (string-append "R2PREFIX=" radare2)))
|
|
|
|
|
(invoke "qmake"
|
|
|
|
|
(string-append "PREFIX=" out)
|
|
|
|
|
"./src/Cutter.pro")))))))
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list pkg-config))
|
2019-07-20 11:30:22 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list qtbase-5
|
2022-07-17 05:11:46 +00:00
|
|
|
|
qtsvg-5
|
2021-12-13 16:18:24 +00:00
|
|
|
|
openssl
|
|
|
|
|
;; Depends on radare2 4.5.1 officially, builds and works fine with
|
|
|
|
|
;; radare2 5.0.0 but fails to build with radare2 5.1.1.
|
|
|
|
|
radare2-for-cutter))
|
2023-07-23 00:00:00 +00:00
|
|
|
|
(home-page "https://cutter.re")
|
2019-07-20 11:30:22 +00:00
|
|
|
|
(synopsis "GUI for radare2 reverse engineering framework")
|
|
|
|
|
(description "Cutter is a GUI for radare2 reverse engineering framework.
|
|
|
|
|
Its goal is making an advanced andcustomizable reverse-engineering platform
|
|
|
|
|
while keeping the user experience at mind. Cutter is created by reverse
|
|
|
|
|
engineers for reverse engineers.")
|
|
|
|
|
(license (list license:cc-by-sa3.0 ;the "Iconic" icon set
|
|
|
|
|
license:gpl3+)))) ;everything else
|
2019-08-23 22:23:00 +00:00
|
|
|
|
|
|
|
|
|
(define-public lib3mf
|
|
|
|
|
(package
|
|
|
|
|
(name "lib3mf")
|
2023-01-09 22:40:19 +00:00
|
|
|
|
(version "2.2.0")
|
2019-08-23 22:23:00 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(uri (git-reference (url "https://github.com/3MFConsortium/lib3mf")
|
2019-08-23 22:23:00 +00:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2023-01-09 22:40:19 +00:00
|
|
|
|
"05zqvnzmi7j8rhp2mrskvxf1bxl7kb4c72dfx4y86219i1hx7i2q"))
|
2023-01-09 09:49:26 +00:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; Delete pre-compiled ACT.
|
2023-01-09 21:21:47 +00:00
|
|
|
|
(delete-file-recursively "AutomaticComponentToolkit/bin")
|
|
|
|
|
|
|
|
|
|
;; Remove bundled software. Preserve cpp-base64 as it has been
|
|
|
|
|
;; modified and cannot easily be unbundled.
|
|
|
|
|
(for-each delete-file-recursively
|
|
|
|
|
'("Include/Libraries/libzip"
|
|
|
|
|
"Include/Libraries/zlib"
|
|
|
|
|
"Source/Libraries/libzip"
|
|
|
|
|
"Source/Libraries/zlib"))
|
|
|
|
|
|
|
|
|
|
;; Adjust header includes such that system headers are found.
|
|
|
|
|
(substitute* '("Include/Common/OPC/NMR_OpcPackageReader.h"
|
|
|
|
|
"Include/Common/Platform/NMR_ImportStream_ZIP.h"
|
|
|
|
|
"Include/Common/Platform/NMR_ExportStream_ZIP.h"
|
|
|
|
|
"Include/Common/Platform/NMR_ImportStream_Compressed.h"
|
|
|
|
|
"Include/Common/Platform/NMR_ExportStream_Compressed.h"
|
|
|
|
|
"Source/Common/Platform/NMR_PortableZIPWriterEntry.cpp")
|
|
|
|
|
(("Libraries/libzip/") "")
|
|
|
|
|
(("Libraries/zlib/") ""))))))
|
2019-08-23 22:23:00 +00:00
|
|
|
|
(build-system cmake-build-system)
|
2021-03-10 21:22:04 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags (list "-DUSE_INCLUDED_ZLIB=0"
|
|
|
|
|
"-DUSE_INCLUDED_LIBZIP=0"
|
|
|
|
|
"-DUSE_INCLUDED_GTEST=0"
|
2023-01-09 09:49:26 +00:00
|
|
|
|
"-DUSE_INCLUDED_SSL=0")
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'provide-act
|
|
|
|
|
(lambda* (#:key native-inputs inputs #:allow-other-keys)
|
|
|
|
|
(let ((act (search-input-file (or native-inputs inputs)
|
|
|
|
|
"bin/act"))
|
|
|
|
|
(dir "AutomaticComponentToolkit/bin"))
|
|
|
|
|
(mkdir-p dir)
|
|
|
|
|
(symlink act (string-append dir "/act.linux"))))))))
|
2019-08-23 22:23:00 +00:00
|
|
|
|
(native-inputs
|
2023-01-09 09:49:26 +00:00
|
|
|
|
(list automatic-component-toolkit googletest pkg-config))
|
2019-08-23 22:23:00 +00:00
|
|
|
|
(inputs
|
2023-01-09 09:50:37 +00:00
|
|
|
|
(list `(,util-linux "lib") libzip libressl zlib))
|
2019-08-23 22:23:00 +00:00
|
|
|
|
(synopsis "Implementation of the 3D Manufacturing Format (3MF) file standard")
|
|
|
|
|
(description
|
|
|
|
|
"Lib3MF is a C++ implementation of the 3D Manufacturing Format (3MF) file
|
|
|
|
|
standard. It offers a way to integrate 3MF reading and writing capabilities, as
|
|
|
|
|
well as conversion and validation tools for input and output data. The
|
|
|
|
|
specification can be downloaded at @url{http://3mf.io/specification/}.")
|
|
|
|
|
(home-page "https://3mf.io/")
|
|
|
|
|
(license license:bsd-2)))
|
2019-09-10 23:22:57 +00:00
|
|
|
|
|
2022-12-03 14:06:12 +00:00
|
|
|
|
(define-public python-pyvisa
|
|
|
|
|
(package
|
|
|
|
|
(name "python-pyvisa")
|
|
|
|
|
(version "1.13.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "PyVISA" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1iprr3h6d4w6v8ksgqpkgg545sai7i8hi5a5an394p26b25h1yl9"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet '(begin
|
|
|
|
|
;; Delete bundled python-prettytable.
|
|
|
|
|
(delete-file-recursively "pyvisa/thirdparty")))))
|
|
|
|
|
(build-system pyproject-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list #:phases #~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'use-system-prettytable
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "pyvisa/shell.py"
|
|
|
|
|
(("from .thirdparty import prettytable")
|
|
|
|
|
"import prettytable")))))))
|
2023-04-15 01:50:13 +00:00
|
|
|
|
(native-inputs (list python-pytest))
|
2022-12-03 14:06:12 +00:00
|
|
|
|
(propagated-inputs (list python-dataclasses python-prettytable
|
|
|
|
|
python-typing-extensions))
|
|
|
|
|
(home-page "https://pyvisa.readthedocs.io/en/latest/")
|
|
|
|
|
(synopsis "Python binding for the VISA library")
|
|
|
|
|
(description "PyVISA is a Python package for support of the
|
|
|
|
|
@acronym{VISA, Virtual Instrument Software Architecture}, in order to control
|
|
|
|
|
measurement devices and test equipment via GPIB, RS232, Ethernet or USB.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2022-12-03 14:06:25 +00:00
|
|
|
|
(define-public python-scikit-rf
|
|
|
|
|
(package
|
|
|
|
|
(name "python-scikit-rf")
|
2024-01-24 15:31:54 +00:00
|
|
|
|
(version "0.31.0")
|
2022-12-03 14:06:25 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch) ;PyPI misses some files required for tests
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/scikit-rf/scikit-rf")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2024-01-24 15:31:54 +00:00
|
|
|
|
"1cidv2373lwxy26kbzg4slaqvn2gpq67mvijgp0rydfx6mm6a89i"))
|
2022-12-03 14:06:25 +00:00
|
|
|
|
(file-name (git-file-name name version))))
|
|
|
|
|
(build-system pyproject-build-system)
|
|
|
|
|
(propagated-inputs (list python-matplotlib
|
|
|
|
|
python-networkx
|
|
|
|
|
python-numpy
|
|
|
|
|
python-openpyxl
|
|
|
|
|
python-pandas
|
|
|
|
|
python-pyqt
|
|
|
|
|
python-pyqtgraph
|
|
|
|
|
python-qtpy
|
|
|
|
|
python-scipy))
|
|
|
|
|
(native-inputs (list python-coverage
|
|
|
|
|
python-flake8
|
|
|
|
|
python-nbval
|
|
|
|
|
python-networkx
|
2023-04-15 01:50:13 +00:00
|
|
|
|
python-pytest
|
2022-12-03 14:06:25 +00:00
|
|
|
|
python-pytest-cov
|
2023-09-17 11:15:22 +00:00
|
|
|
|
python-pytest-mock
|
2022-12-03 14:06:25 +00:00
|
|
|
|
python-pyvisa))
|
|
|
|
|
(home-page "https://scikit-rf.org/")
|
|
|
|
|
(synopsis "Radio frequency and Microwave Engineering Scikit")
|
|
|
|
|
(description "Scikit-rf, or @code{skrf}, is a Python package for RF and
|
|
|
|
|
Microwave engineering.")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2019-09-10 23:22:57 +00:00
|
|
|
|
(define-public openscad
|
|
|
|
|
(package
|
|
|
|
|
(name "openscad")
|
2021-03-01 01:56:51 +00:00
|
|
|
|
(version "2021.01")
|
2019-09-10 23:22:57 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://files.openscad.org/openscad-" version
|
|
|
|
|
".src.tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-03-01 01:56:51 +00:00
|
|
|
|
"0n83szr88h8snccjrslr96mgw3f65x3sq726n6x5vxp5wybw4f6r"))))
|
2019-09-10 23:22:57 +00:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("boost" ,boost)
|
|
|
|
|
("cgal" ,cgal)
|
|
|
|
|
("double-conversion" ,double-conversion)
|
|
|
|
|
("eigen" ,eigen)
|
|
|
|
|
("fontconfig" ,fontconfig)
|
|
|
|
|
("glew" ,glew)
|
|
|
|
|
("gmp" ,gmp)
|
|
|
|
|
("harfbuzz" ,harfbuzz)
|
|
|
|
|
("lib3mf" ,lib3mf)
|
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
|
("libzip" ,libzip)
|
|
|
|
|
("mpfr" ,mpfr)
|
|
|
|
|
("opencsg" ,opencsg)
|
|
|
|
|
("qscintilla" ,qscintilla)
|
2021-04-10 01:53:32 +00:00
|
|
|
|
("qtbase" ,qtbase-5)
|
2022-07-17 23:00:48 +00:00
|
|
|
|
("qtmultimedia-5" ,qtmultimedia-5)))
|
2019-09-10 23:22:57 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("bison" ,bison)
|
|
|
|
|
("flex" ,flex)
|
|
|
|
|
("gettext" ,gettext-minimal)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("which" ,which)
|
|
|
|
|
;; the following are only needed for tests
|
|
|
|
|
("imagemagick" ,imagemagick)
|
|
|
|
|
("ps" ,procps)
|
|
|
|
|
("python" ,python)
|
gnu: Use the test-only Xorg variant for tests.
* gnu/packages/education.scm (gcompris-qt)[native-inputs]: Change XORG-SERVER
to XORG-SERVER-FOR-TESTS.
* gnu/packages/engineering.scm (pcb, qucs, openscad)[native-inputs]: Likewise.
* gnu/packages/gnome.scm (libbonoboui, d-feet, gspell, libdazzle, libhandy)[native-inputs]: Likewise.
* gnu/packages/gnupg.scm (parcimonie)[native-inputs]: Likewise.
* gnu/packages/graphics.scm (opensubdiv, rapicorn)[native-inputs]: Likewise.
* gnu/packages/gtk.scm (gtksourceview-2, gtksourceview)[native-inputs]: Likewise.
* gnu/packages/image-processing.scm (opencv)[native-inputs]: Likewise.
* gnu/packages/kde-frameworks.scm (kconfig, kcoreaddons, kwidgetsaddons,
kwindowsystem, kdeclarative)[native-inputs]: Likewise.
* gnu/packages/kde-plasma.scm (kscreenlocker)[native-inputs]: Likewise.
* gnu/packages/messaging.scm (gajim)[native-inputs]: Likewise.
* gnu/packages/python-xyz.scm (python-seaborn)[native-inputs]: Likewise.
2019-11-27 21:19:13 +00:00
|
|
|
|
("xvfb" ,xorg-server-for-tests)))
|
2019-09-10 23:22:57 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(invoke "qmake"
|
|
|
|
|
(string-append "PREFIX=" (assoc-ref outputs "out")))
|
|
|
|
|
#t))
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda _
|
|
|
|
|
(with-directory-excursion "tests"
|
|
|
|
|
(invoke "cmake" ".")
|
|
|
|
|
(invoke "make")
|
2021-03-01 01:56:51 +00:00
|
|
|
|
(invoke "ctest" "--exclude-regex"
|
|
|
|
|
(string-join
|
|
|
|
|
(list
|
|
|
|
|
"astdumptest_allexpressions"
|
|
|
|
|
"echotest_function-literal-compare"
|
|
|
|
|
"echotest_function-literal-tests"
|
|
|
|
|
"echotest_allexpressions"
|
|
|
|
|
"lazyunion-*"
|
|
|
|
|
"pdfexporttest_centered"
|
2021-03-05 22:48:31 +00:00
|
|
|
|
"pdfexporttest_simple-pdf"
|
|
|
|
|
|
|
|
|
|
;; Broken due since cgal@5.2 +
|
|
|
|
|
;; https://github.com/CGAL/cgal/pull/5371 (security)
|
|
|
|
|
;; FIXME: Investigate or wait for future releases to
|
|
|
|
|
;; fix it.
|
|
|
|
|
;; Unsure if wrong test-suite or wrong security
|
|
|
|
|
;; patch.
|
|
|
|
|
"cgalpngtest_nef3_broken"
|
|
|
|
|
"opencsgtest_nef3_broken"
|
|
|
|
|
"csgpngtest_nef3_broken"
|
|
|
|
|
"throwntogethertest_nef3_broken")
|
2021-03-01 01:56:51 +00:00
|
|
|
|
"|")))
|
2019-09-10 23:22:57 +00:00
|
|
|
|
;; strip python test files since lib dir ends up in out/share
|
|
|
|
|
(for-each delete-file
|
|
|
|
|
(find-files "libraries/MCAD" ".*\\.py"))
|
|
|
|
|
#t)))))
|
|
|
|
|
(synopsis "Script-based 3D modeling application")
|
|
|
|
|
(description
|
|
|
|
|
"OpenSCAD is a 3D Computer-aided Design (CAD) application. Unlike an
|
|
|
|
|
interactive modeler, OpenSCAD generates 3D models from a script, giving you
|
|
|
|
|
full programmatic control over your models.")
|
|
|
|
|
(home-page "https://www.openscad.org/")
|
|
|
|
|
(license license:gpl2+)))
|
2019-07-07 02:05:37 +00:00
|
|
|
|
|
2021-01-15 21:24:32 +00:00
|
|
|
|
(define-public emacs-scad-mode
|
|
|
|
|
(package
|
|
|
|
|
(inherit openscad)
|
|
|
|
|
(name "emacs-scad-mode")
|
|
|
|
|
(native-inputs '())
|
|
|
|
|
(inputs '())
|
|
|
|
|
(build-system emacs-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'chdir-elisp
|
|
|
|
|
;; Elisp directory is not in root of the source.
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "contrib")
|
|
|
|
|
#t)))))
|
|
|
|
|
(synopsis "Emacs major mode for editing editing OpenSCAD code")
|
|
|
|
|
(description "@code{scad-mode} provides an Emacs major mode for editing
|
|
|
|
|
OpenSCAD code. It supports syntax highlighting, indenting and refilling of
|
|
|
|
|
comments.")))
|
|
|
|
|
|
2019-07-07 17:32:10 +00:00
|
|
|
|
(define-public freecad
|
2022-06-15 01:30:00 +00:00
|
|
|
|
(package
|
|
|
|
|
(name "freecad")
|
2023-12-04 18:44:56 +00:00
|
|
|
|
(version "0.21.2")
|
2022-06-15 01:30:00 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/FreeCAD/FreeCAD")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2023-12-04 18:44:56 +00:00
|
|
|
|
(base32 "0s720q6vxlh78jzahqp69nl8wagb42l05dym5aqhfnr31dx666hc"))))
|
2022-06-15 01:30:00 +00:00
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list doxygen
|
|
|
|
|
graphviz
|
2022-07-19 20:52:05 +00:00
|
|
|
|
qttools-5
|
2022-06-15 01:30:00 +00:00
|
|
|
|
pkg-config
|
|
|
|
|
python-pyside-2-tools
|
|
|
|
|
swig))
|
|
|
|
|
(inputs
|
|
|
|
|
(list boost
|
2022-11-19 17:06:36 +00:00
|
|
|
|
coin3D
|
2022-06-15 01:30:00 +00:00
|
|
|
|
double-conversion
|
|
|
|
|
eigen
|
2023-08-02 19:29:51 +00:00
|
|
|
|
fmt
|
2022-06-15 01:30:00 +00:00
|
|
|
|
fontconfig
|
|
|
|
|
freetype
|
|
|
|
|
gl2ps
|
|
|
|
|
glew
|
|
|
|
|
hdf5-1.10
|
|
|
|
|
jsoncpp
|
|
|
|
|
libarea
|
|
|
|
|
libjpeg-turbo
|
|
|
|
|
libmedfile
|
|
|
|
|
libspnav
|
|
|
|
|
libtheora
|
|
|
|
|
libtiff
|
|
|
|
|
libxi
|
|
|
|
|
libxml++
|
|
|
|
|
libxmu
|
|
|
|
|
lz4
|
|
|
|
|
netcdf
|
|
|
|
|
opencascade-occt
|
|
|
|
|
openmpi
|
|
|
|
|
proj
|
|
|
|
|
python-gitpython
|
|
|
|
|
python-matplotlib
|
|
|
|
|
python-pivy
|
|
|
|
|
python-ply
|
|
|
|
|
python-pyside-2
|
|
|
|
|
python-pyyaml
|
|
|
|
|
python-shiboken-2
|
|
|
|
|
python-wrapper
|
|
|
|
|
qtbase-5
|
2022-07-18 01:03:18 +00:00
|
|
|
|
qtdeclarative-5
|
2022-07-17 05:11:46 +00:00
|
|
|
|
qtsvg-5
|
2022-07-18 04:02:58 +00:00
|
|
|
|
qtwebchannel-5
|
2022-07-18 11:57:16 +00:00
|
|
|
|
qtwebengine-5
|
2022-06-15 01:30:00 +00:00
|
|
|
|
qtx11extras
|
|
|
|
|
qtxmlpatterns
|
|
|
|
|
sqlite
|
|
|
|
|
tbb-2020 ; Same version as opencascade-occt
|
|
|
|
|
vtk
|
|
|
|
|
xerces-c
|
|
|
|
|
zlib))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; Project has no tests
|
|
|
|
|
#:configure-flags
|
|
|
|
|
,#~(list
|
|
|
|
|
"-DBUILD_QT5=ON"
|
|
|
|
|
"-DBUILD_FLAT_MESH:BOOL=ON"
|
|
|
|
|
"-DBUILD_ENABLE_CXX_STD:STRING=C++17"
|
|
|
|
|
(string-append "-DCMAKE_INSTALL_LIBDIR=" #$output "/lib"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'restore-pythonpath
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "src/Main/MainGui.cpp"
|
|
|
|
|
(("_?putenv\\(\"PYTHONPATH=\"\\);") ""))))
|
|
|
|
|
(add-after 'install 'wrap-pythonpath
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(wrap-program (string-append out "/bin/FreeCAD")
|
|
|
|
|
(list "GUIX_PYTHONPATH"
|
|
|
|
|
'prefix (list (getenv "GUIX_PYTHONPATH"))))))))))
|
|
|
|
|
(home-page "https://www.freecadweb.org/")
|
|
|
|
|
(synopsis "Your Own 3D Parametric Modeler")
|
|
|
|
|
(description
|
2022-08-14 00:00:00 +00:00
|
|
|
|
"FreeCAD is a general-purpose, feature-based, parametric 3D modeler for
|
|
|
|
|
CAD, MCAD, CAx, CAE, and PLM. It is aimed directly at mechanical engineering
|
|
|
|
|
and product design but also fits a wider range of uses in engineering, such as
|
|
|
|
|
architecture or other engineering specialties. It is modular, allowing for
|
|
|
|
|
extension and customization.")
|
2022-06-15 01:30:00 +00:00
|
|
|
|
(license
|
|
|
|
|
(list
|
|
|
|
|
license:lgpl2.1+
|
|
|
|
|
license:lgpl2.0+
|
|
|
|
|
license:gpl3+
|
|
|
|
|
license:bsd-3))))
|
2019-07-07 17:32:10 +00:00
|
|
|
|
|
2019-07-07 17:13:17 +00:00
|
|
|
|
(define-public libmedfile
|
|
|
|
|
(package
|
|
|
|
|
(name "libmedfile")
|
|
|
|
|
(version "4.0.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://files.salome-platform.org/Salome/other/med-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"017h9p0x533fm4gn6pwc8kmp72rvqmcn6vznx72nkkl2b05yjx54"))))
|
|
|
|
|
(build-system cmake-build-system)
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(inputs (list hdf5-1.10))
|
2019-07-07 17:13:17 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'remove-test-output
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(delete-file-recursively
|
|
|
|
|
(string-append out "/bin/testc"))
|
|
|
|
|
#t))))))
|
|
|
|
|
(home-page "https://www.salome-platform.org")
|
|
|
|
|
(synopsis "Library to read and write MED files")
|
|
|
|
|
(description
|
|
|
|
|
"The purpose of the MED module is to provide a standard for storing and
|
|
|
|
|
recovering computer data associated to numerical meshes and fields, and to
|
|
|
|
|
facilitate the exchange between codes and solvers.
|
|
|
|
|
|
|
|
|
|
The persistent data storage is based upon HDF format (like CGNS, a standard
|
|
|
|
|
developed by Boeing and NASA in the area of Computational Fluid Dynamic).
|
|
|
|
|
|
|
|
|
|
MED also provides structures to hold data on meshes and fields. These
|
|
|
|
|
structures are exchanged between solvers, hide the communication level (CORBA
|
|
|
|
|
or MPI), and offer persistence (read/write in .med files).
|
|
|
|
|
|
|
|
|
|
The main benefit of a common exchange format is reduced complexity of code
|
|
|
|
|
coupling. It also allows sharing such high level functionalities as
|
|
|
|
|
computation of nodal connectivity of sub-elements (faces and edges),
|
|
|
|
|
arithmetic operations on fields, entity location functionalities, and
|
|
|
|
|
interpolation toolkit.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2022-11-02 09:44:33 +00:00
|
|
|
|
(define-public cgns
|
|
|
|
|
(package
|
|
|
|
|
(name "cgns")
|
|
|
|
|
(version "4.3.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/CGNS/CGNS")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0jig1y7lv9qk1ri2gqws7ffpajmhxnank7gbyna9hfaghsxdlnvd"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list #:configure-flags
|
|
|
|
|
'(list "-DCGNS_ENABLE_TESTS=ON"
|
|
|
|
|
"-DCGNS_ENABLE_FORTRAN=ON")))
|
|
|
|
|
(inputs (list hdf5 gfortran))
|
|
|
|
|
(home-page "https://cgns.org/")
|
|
|
|
|
(synopsis "Read and write computational fluid dynamics analysis data")
|
|
|
|
|
(description "This package provides software that reads, writes, and
|
|
|
|
|
modifies data in the @dfn{CFD General Notation System} (CGNS) format. The
|
|
|
|
|
format is meant for recording and recovering computer data associated with the
|
|
|
|
|
numerical solution of fluid dynamics equations. The format is a conceptual
|
|
|
|
|
entity established by the documentation; the software is a physical product
|
|
|
|
|
supplied to enable developers to access and produce data recorded in that
|
|
|
|
|
format.")
|
|
|
|
|
(license license:zlib)))
|
|
|
|
|
|
2019-07-07 17:03:38 +00:00
|
|
|
|
(define-public libarea
|
|
|
|
|
(let ((revision "1")
|
|
|
|
|
(commit "8f8bac811c10f1f01fda0d742a18591f61dd76ee"))
|
|
|
|
|
(package
|
|
|
|
|
(name "libarea")
|
|
|
|
|
(version (git-version "0" revision commit))
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(uri (git-reference (url "https://github.com/Heeks/libarea")
|
2019-07-07 17:03:38 +00:00
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0pvqz6cabxqdz5y26wnj6alkn8v5d7gkx0d3h8xmg4lvy9r3kh3g"))))
|
|
|
|
|
(build-system gnu-build-system)
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(inputs (list boost python-wrapper))
|
2019-07-07 17:03:38 +00:00
|
|
|
|
(native-inputs
|
2020-03-15 12:28:27 +00:00
|
|
|
|
`(("cmake" ,cmake-minimal)))
|
2019-07-07 17:03:38 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'configure 'cmake-configure
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
|
(cmake (assoc-ref inputs "cmake")))
|
|
|
|
|
(mkdir-p "build")
|
|
|
|
|
(invoke "cmake"
|
|
|
|
|
(string-append "-DCMAKE_INSTALL_PREFIX=" out)))))
|
|
|
|
|
(delete 'configure))))
|
|
|
|
|
(home-page "https://github.com/Heeks/libarea")
|
|
|
|
|
(synopsis
|
|
|
|
|
"Library and python module for pocketing and profiling operations")
|
|
|
|
|
(description
|
|
|
|
|
"Area is a CAM-related software for pocketing operation.
|
|
|
|
|
|
|
|
|
|
This project provides library and associated python-module to compute pocket
|
|
|
|
|
operations.")
|
|
|
|
|
(license (list
|
|
|
|
|
license:bsd-3
|
|
|
|
|
license:gpl3+)))))
|
|
|
|
|
|
2019-07-07 02:05:37 +00:00
|
|
|
|
(define-public libspnav
|
|
|
|
|
(package
|
|
|
|
|
(name "libspnav")
|
|
|
|
|
(version "0.2.3")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/FreeSpacenav/libspnav")
|
2019-07-07 02:05:37 +00:00
|
|
|
|
(commit (string-append "libspnav-" version))))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"098h1jhlj87axpza5zgy58prp0zn94wyrbch6x0s7q4mzh7dc8ba"))
|
|
|
|
|
(file-name (git-file-name name version))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list libx11))
|
2019-07-07 02:05:37 +00:00
|
|
|
|
(arguments `(#:tests? #f))
|
gnu: Use HTTPS package home pages wherever possible.
* gnu/packages/accessibility.scm (florence)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (netcat, nmon)[home-page]: Likewise.
* gnu/packages/algebra.scm (mpfrcx, cm, flint, fftw, r-dtt)[home-page]:
Likewise.
* gnu/packages/apr.scm (apr, apr-util)[home-page]: Likewise.
* gnu/packages/aspell.scm (aspell-dict-it)[home-page]: Likewise.
* gnu/packages/astronomy.scm (casacore, sextractor, libnova)
(xplanet)[home-page]: Likewise.
* gnu/packages/audio.scm (libtimidity, alsa-modular-synth, azr3, tao)
(freepats, rakarrack, liblo, libshout-idjc, timidity++, libsbsms)
(libmodplug, libxmp, xmp, sox, drc, gsm, gnaural)
(streamripper)[home-page]: Likewise.
* gnu/packages/authentication.scm (pamtester)[home-page]: Likewise.
* gnu/packages/backup.scm (grsync)[home-page]: Likewise.
* gnu/packages/bioconductor.scm (r-nmf, r-edger, r-limma)
(r-plgem)[home-page]: Likewise.
* gnu/packages/bioinformatics.scm (python-biom-format, bowtie, bowtie1)
(bwa, crossmap, java-htsjdk, java-htsjdk-latest, java-picard)
(java-picard-2.10.3, kaiju, proteinortho, rsem, rseqc, seek, samtools)
(snap-aligner, subread, stringtie, r-centipede, prinseq, emboss, phylip)
(libsbml)[home-page]: Likewise.
* gnu/packages/build-tools.scm (tup)[home-page]: Likewise.
* gnu/packages/cdrom.scm (libcddb, cdrdao, cdrtools)
(cd-discid)[home-page]: Likewise.
* gnu/packages/check.scm (cunit, python-nose)
(python-pyhamcrest)[home-page]: Likewise.
* gnu/packages/chemistry.scm (gromacs)[home-page]: Likewise.
* gnu/packages/chez.scm (chez-fmt)[home-page]: Likewise.
* gnu/packages/code.scm (lcov, uncrustify, cscope)[home-page]: Likewise.
* gnu/packages/compression.scm (p7zip)[home-page]: Likewise.
* gnu/packages/cran.scm (r-emdist, r-proj4, r-zoo, r-ggalluvial)
(r-orgmassspecr, r-polychrome, r-partykit, r-rcpp, r-ff, r-emdbook)
(r-fitdistrplus, r-linprog, r-geometry, r-dtw, r-fst, r-rjags)
(r-intergraph, r-qualv, r-labelled, r-survey, r-coin, r-fmsb, r-tm)
(r-corpcor, r-rmpfr, r-spatialextremes, r-longitudinal, r-genenet)
(r-bayesm, r-seqinr, r-mpm, r-text2vec, r-rgdal, r-seewave, r-hdrcde)
(r-shapes, r-anytime, r-stm, r-d3network, r-tam, r-directlabels)
(r-spatstat-utils, r-spatstat-sparse, r-spatstat-data, r-spatstat-geom)
(r-spatstat-core, r-spatstat-linnet, r-spatstat-random, r-spatstat)
(r-rcpptoml, r-mlecens, r-seurat, r-mlearning, r-zooimage)[home-page]:
Likewise.
* gnu/packages/crates-io.scm (rust-nickel-0.11, rust-thrift-0.13)
(rust-trust-dns-https-0.20, rust-trust-dns-native-tls-0.20)
(rust-trust-dns-openssl-0.20, rust-trust-dns-proto-0.20)
(rust-trust-dns-resolver-0.20, rust-trust-dns-rustls-0.20)
(rust-uint-0.9, rust-yaml-rust-0.4)[home-page]: Likewise.
* gnu/packages/crypto.scm (libdecaf, ccrypt)[home-page]: Likewise.
* gnu/packages/curl.scm (curlpp)[home-page]: Likewise.
* gnu/packages/databases.scm (python-pylibmc, unixodbc, wiredtiger)
(libpqxx, mdbtools, virtuoso-ose, libdbi, libdbi-drivers)
(soci)[home-page]: Likewise.
* gnu/packages/debian.scm (apt-mirror)[home-page]: Likewise.
* gnu/packages/debug.scm (remake)[home-page]: Likewise.
* gnu/packages/disk.scm (sdparm, idle3-tools, duc)[home-page]: Likewise.
* gnu/packages/django.scm (python-django-haystack)[home-page]: Likewise.
* gnu/packages/djvu.scm (djvulibre, djview)[home-page]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[home-page]: Likewise.
* gnu/packages/docbook.scm (dblatex, docbook2x)[home-page]: Likewise.
* gnu/packages/documentation.scm (scrollkeeper)[home-page]: Likewise.
* gnu/packages/ebook.scm (liblinebreak)[home-page]: Likewise.
* gnu/packages/electronics.scm (xoscope)[home-page]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-bbdb, emacs-caps-lock, emacs-djvu)
(emacs-pabbrev, emacs-twittering-mode, emacs-filladapt, emacs-rudel)
(emacs-stream, emacspeak, emacs-cc-mode, emacs-eldoc, emacs-jsonrpc)
(emacs-gtk-look, emacs-xclip, emacs-slime-volleyball, emacs-minimap)
(emacs-auto-dictionary-mode, emacs-persist, emacs-shell-command+)
(emacs-map, emacs-xref, emacs-dictionary)[home-page]: Likewise.
* gnu/packages/embedded.scm (sdcc)[home-page]: Likewise.
* gnu/packages/engineering.scm (asco, libngspice, libspnav)
(openctm)[home-page]: Likewise.
* gnu/packages/erlang.scm (erlang-erlware-commons)[home-page]: Likewise.
* gnu/packages/file-systems.scm (jfsutils, curlftpfs)[home-page]:
Likewise.
* gnu/packages/finance.scm (gbonds)[home-page]: Likewise.
* gnu/packages/flashing-tools.scm (dfu-util, srecord)[home-page]:
Likewise.
* gnu/packages/fltk.scm (ntk)[home-page]: Likewise.
* gnu/packages/fonts.scm (font-terminus, font-tex-gyre)
(font-comic-neue)[home-page]: Likewise.
* gnu/packages/fontutils.scm (ttf2pt1, potrace, libspiro)[home-page]:
Likewise.
* gnu/packages/fpga.scm (icestorm, gtkwave, gtkwave)
(python-myhdl)[home-page]: Likewise.
* gnu/packages/freedesktop.scm (libatasmart)[home-page]: Likewise.
* gnu/packages/ftp.scm (weex)[home-page]: Likewise.
* gnu/packages/game-development.scm (dds, python-tmx, sfxr, quesoglc)
(eureka, plib)[home-page]: Likewise.
* gnu/packages/games.scm (abe, alex4, armagetronad, barony)
(foobillard++, golly, ltris, pipewalker, prboom-plus, trigger-rally)
(cmatrix, pinball, pioneers, tennix, chromium-bsu, freeciv, kiki)
(quakespasm, frotz, frotz-dumb-terminal, frotz-sdl, btanks)
(flare-engine, chessx, barrage, cgoban, passage)[home-page]: Likewise.
* gnu/packages/geo.scm (python-geopandas, saga)[home-page]: Likewise.
* gnu/packages/gl.scm (freeglut, gl2ps)[home-page]: Likewise.
* gnu/packages/gnome.scm (cogl, clutter-gtk, clutter-gst, bluefish)
(workrave)[home-page]: Likewise.
* gnu/packages/gnustep.scm (wmnd, wmfire, wmfire)[home-page]: Likewise.
* gnu/packages/graph.scm (mscgen)[home-page]: Likewise.
* gnu/packages/graphics.scm (assimp, alembic, ctl, agg)
(opencsg)[home-page]: Likewise.
* gnu/packages/graphviz.scm (gts)[home-page]: Likewise.
* gnu/packages/gtk.scm (gtkspell3)[home-page]: Likewise.
* gnu/packages/guile-xyz.scm (guile-irregex)[home-page]: Likewise.
* gnu/packages/haskell-apps.scm (cpphs)[home-page]: Likewise.
* gnu/packages/haskell-check.scm (ghc-hunit)[home-page]: Likewise.
* gnu/packages/haskell-web.scm (ghc-http-client-restricted)
(ghc-blaze-html, ghc-happstack-server, ghc-sourcemap)[home-page]:
Likewise.
* gnu/packages/haskell-xyz.scm (ghc-assoc, ghc-cairo, ghc-cborg)
(ghc-csv, ghc-glob, ghc-gtk2hs-buildtools, ghc-hmatrix-gsl-stats)
(ghc-intervalmap, ghc-lens-family-core, ghc-managed, ghc-mountpoints)
(ghc-network-multicast, ghc-optional-args, ghc-regex, ghc-spoon)
(ghc-transformers, ghc-turtle, ghc-utf8-light, ghc-wizards)
(ghc-template-haskell, ghc-boot-th, ghc-binary-orphans)
(ghc-postgresql-simple)[home-page]: Likewise.
* gnu/packages/hexedit.scm (ht, bvi)[home-page]: Likewise.
* gnu/packages/hunspell.scm (hunspell-dict-hu)[home-page]: Likewise.
* gnu/packages/image-processing.scm (mia)[home-page]: Likewise.
* gnu/packages/image-viewers.scm (geeqie, gpicview, luminance-hdr)
(qiv)[home-page]: Likewise.
* gnu/packages/image.scm (libuemf, devil, steghide, optipng, niftilib)
(sng, mtpaint)[home-page]: Likewise.
* gnu/packages/java-xml.scm (java-simple-xml, java-jaxp)
(java-apache-xml-commons-resolver)[home-page]: Likewise.
* gnu/packages/java.scm (java-cisd-base, java-cisd-args4j)
(java-hamcrest-core, java-jsr305, java-eclipse-osgi)
(java-eclipse-equinox-common, java-eclipse-core-jobs)
(java-eclipse-equinox-registry, java-eclipse-equinox-app)
(java-eclipse-equinox-preferences, java-eclipse-core-contenttype)
(java-eclipse-text, java-treelayout, java-aopalliance, java-jeromq)
(java-cdi-api)[home-page]: Likewise.
* gnu/packages/jemalloc.scm (jemalloc-4.5.0)[home-page]: Likewise.
* gnu/packages/julia-xyz.scm (julia-recipespipeline)[home-page]:
Likewise.
* gnu/packages/kde-internet.scm (kget)[home-page]: Likewise.
* gnu/packages/kde-systemtools.scm (dolphin-plugins)
(konsole)[home-page]: Likewise.
* gnu/packages/kodi.scm (fstrcmp)[home-page]: Likewise.
* gnu/packages/language.scm (hime, libchewing)[home-page]: Likewise.
* gnu/packages/lego.scm (nqc)[home-page]: Likewise.
* gnu/packages/lesstif.scm (lesstif)[home-page]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[home-page]: Likewise.
* gnu/packages/libdaemon.scm (libdaemon)[home-page]: Likewise.
* gnu/packages/libffi.scm (libffi)[home-page]: Likewise.
* gnu/packages/libreoffice.scm (libwpd, libwpg, libwps)[home-page]:
Likewise.
* gnu/packages/libusb.scm (libmtp, gmtp)[home-page]: Likewise.
* gnu/packages/linux.scm (e2fsprogs, extundelete, lsscsi, net-tools)
(kbd, sysfsutils, cpuid, libpfm4)[home-page]: Likewise.
* gnu/packages/lisp-check.scm (sbcl-ptester, sbcl-xlunit)[home-page]:
Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-html-encode, sbcl-py-configparser)
(sbcl-cl-utilities, sbcl-series, sbcl-uffi, sbcl-clsql, sbcl-sycamore)
(sbcl-osicat, sbcl-hu.dwim.common, sbcl-caveman, sbcl-trivial-shell)
(sbcl-trivial-benchmark, sbcl-screamer, sbcl-smug)[home-page]: Likewise.
* gnu/packages/lisp.scm (lush2)[home-page]: Likewise.
* gnu/packages/logging.scm (log4cpp)[home-page]: Likewise.
* gnu/packages/lua.scm (lua-ldoc)[home-page]: Likewise.
* gnu/packages/machine-learning.scm (mcl, openfst, rxcpp)[home-page]:
Likewise.
* gnu/packages/mail.scm (muchsync, procmail, sendmail)
(opensmtpd-filter-dkimsign, crm114)[home-page]: Likewise.
* gnu/packages/man.scm (libpipeline, man-db)[home-page]: Likewise.
* gnu/packages/maths.scm (lapack, scalapack, hdf-eos5, itpp, gmsh)
(metamath, p4est, armadillo, suitesparse, atlas, lpsolve, wcalc, why3)
(frama-c)[home-page]: Likewise.
* gnu/packages/mcrypt.scm (mcrypt, libmcrypt, libmhash)[home-page]:
Likewise.
* gnu/packages/minetest.scm (minetest-advtrains)[home-page]: Likewise.
* gnu/packages/monitoring.scm (python-whisper, python-carbon)
(hostscope)[home-page]: Likewise.
* gnu/packages/mp3.scm (id3lib, libmp3splt, mp3splt, mpg321)
(lame)[home-page]: Likewise.
* gnu/packages/multiprecision.scm (mpc)[home-page]: Likewise.
* gnu/packages/music.scm (aria-maestosa, lingot, setbfree, bristol)
(portmidi, python-pyportmidi, zynaddsubfx, yoshimi, aj-snapshot)
(schismtracker, midicsv, midicsv, qmidiarp, qmidiroute, dssi, tap-lv2)
(shiru-lv2)[home-page]: Likewise.
* gnu/packages/ncurses.scm (stfl)[home-page]: Likewise.
* gnu/packages/networking.scm (lksctp-tools, mbuffer, ifstatus, bird)
(tunctl, traceroute)[home-page]: Likewise.
* gnu/packages/node-xyz.scm (node-mersenne)[home-page]: Likewise.
* gnu/packages/ntp.scm (openntpd)[home-page]: Likewise.
* gnu/packages/ocaml.scm (opam, hevea, ocaml-menhir, ocaml-piqilib)
(ocaml-graph, cubicle)[home-page]: Likewise.
* gnu/packages/opencl.scm (python-pyopencl)[home-page]: Likewise.
* gnu/packages/package-management.scm (xstow, modules)[home-page]:
Likewise.
* gnu/packages/parallel.scm (xjobs)[home-page]: Likewise.
* gnu/packages/pdf.scm (podofo, qpdf, xournal, impressive)[home-page]:
Likewise.
* gnu/packages/perl.scm (perl-math-vecstat, perltidy)[home-page]:
Likewise.
* gnu/packages/photo.scm (libpano13, enblend-enfuse, hugin)[home-page]:
Likewise.
* gnu/packages/plan9.scm (drawterm)[home-page]: Likewise.
* gnu/packages/plotutils.scm (guile-charting, ploticus)[home-page]:
Likewise.
* gnu/packages/popt.scm (argtable, popt)[home-page]: Likewise.
* gnu/packages/profiling.scm (otf2)[home-page]: Likewise.
* gnu/packages/pulseaudio.scm (pulseaudio)[home-page]: Likewise.
* gnu/packages/python-check.scm (python-mypy)[home-page]: Likewise.
* gnu/packages/python-web.scm (python-cssutils)
(python-translationstring)[home-page]: Likewise.
* gnu/packages/python-xyz.scm (python-diskcache, python-doxyqml)
(python-docutils, python-pexpect, python-importlib-resources)
(python-simplegeneric, python-urwid, python-xlrd, python-xlwt)
(python-pyasn1, python-pythondialog, python-tftpy, python-random2)
(python-arcp, python-pyopengl, python-sortedcollections)
(python-sortedcontainers, python-yapsy, python-pydispatcher)
(python-posix-ipc)[home-page]: Likewise.
* gnu/packages/qt.scm (qwt, libqglviewer, signond)[home-page]: Likewise.
* gnu/packages/radio.scm (unixcw, gnuais)[home-page]: Likewise.
* gnu/packages/raspberry-pi.scm (bcm2835)[home-page]: Likewise.
* gnu/packages/rdf.scm (clucene, rasqal, redland)[home-page]: Likewise.
* gnu/packages/regex.scm (tre)[home-page]: Likewise.
* gnu/packages/rsync.scm (librsync)[home-page]: Likewise.
* gnu/packages/ruby.scm (ruby-packnga, ruby-nokogiri, ruby-oj, ruby-ox)
(ruby-sinatra, ruby-citrus, ruby-cbor, ruby-roda)[home-page]: Likewise.
* gnu/packages/scheme.scm (scheme48, tinyscheme)[home-page]: Likewise.
* gnu/packages/screen.scm (dtach)[home-page]: Likewise.
* gnu/packages/scsi.scm (sg3-utils)[home-page]: Likewise.
* gnu/packages/sdl.scm (libmikmod, sdl-pango)[home-page]: Likewise.
* gnu/packages/shellutils.scm (hstr, rig)[home-page]: Likewise.
* gnu/packages/simulation.scm (python-dolfin-adjoint)[home-page]:
Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[home-page]: Likewise.
* gnu/packages/speech.scm (espeak)[home-page]: Likewise.
* gnu/packages/stalonetray.scm (stalonetray)[home-page]: Likewise.
* gnu/packages/statistics.scm (jags, r-mass, r-class, r-lattice)
(r-matrix, r-nnet, r-spatial, r-bit, r-bit64, r-digest, r-xtable)
(python-statsmodels, r-ade4, r-latticeextra, r-rcurl, r-xml, r-mvtnorm)
(r-robustbase, r-minqa, r-fdrtool, java-jdistlib, xlispstat)[home-page]:
Likewise.
* gnu/packages/swig.scm (swig)[home-page]: Likewise.
* gnu/packages/task-management.scm (wtime)[home-page]: Likewise.
* gnu/packages/tcl.scm (itcl, tclxml, tclx)[home-page]: Likewise.
* gnu/packages/terminals.scm (libtermkey, mlterm, libvterm)
(libvterm)[home-page]: Likewise.
* gnu/packages/tex.scm (texlive-lm, texlive-lm-math, texlive-cs)
(texlive-csplain, biber, texmaker)[home-page]: Likewise.
* gnu/packages/text-editors.scm (joe)[home-page]: Likewise.
* gnu/packages/textutils.scm (drm-tools, docx2txt)[home-page]: Likewise.
* gnu/packages/tv.scm (tvtime)[home-page]: Likewise.
* gnu/packages/unicode.scm (libunibreak)[home-page]: Likewise.
* gnu/packages/upnp.scm (libupnp)[home-page]: Likewise.
* gnu/packages/version-control.scm (cvs)[home-page]: Likewise.
* gnu/packages/video.scm (transcode, libquicktime, mjpegtools, aalib)
(liba52, libmpeg2, x265, libdv, dvdauthor, aegisub, pitivi, gavl)
(dvdbackup, guvcview, video-contact-sheet)[home-page]: Likewise.
* gnu/packages/virtualization.scm (bochs)[home-page]: Likewise.
* gnu/packages/w3m.scm (w3m)[home-page]: Likewise.
* gnu/packages/web.scm (qjson, libquvi-scripts, libquvi, quvi)
(tidy-html, htmlcxx)[home-page]: Likewise.
* gnu/packages/wm.scm (evilwm, menumaker)[home-page]: Likewise.
* gnu/packages/wv.scm (wv)[home-page]: Likewise.
* gnu/packages/wxwidgets.scm (wxsvg)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (mtdev, xsel)[home-page]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[home-page]: Likewise.
* gnu/packages/xml.scm (openjade, python-pyxb, xmlstarlet, xmlrpc-c)
(opensp)[home-page]: Likewise.
* gnu/packages/xorg.scm (xf86-video-qxl)[home-page]: Likewise.
2023-02-12 00:00:00 +00:00
|
|
|
|
(home-page "https://spacenav.sourceforge.net/")
|
2019-07-07 02:05:37 +00:00
|
|
|
|
(synopsis
|
|
|
|
|
"Library for communicating with spacenavd or 3dxsrv")
|
|
|
|
|
(description
|
|
|
|
|
"The libspnav library is provided as a replacement of the magellan
|
|
|
|
|
library. It provides a cleaner, and more orthogonal interface. libspnav
|
|
|
|
|
supports both the original X11 protocol for communicating with the driver, and
|
|
|
|
|
the new alternative non-X protocol. Programs that choose to use the X11
|
|
|
|
|
protocol, are automatically compatible with either the free spacenavd driver
|
|
|
|
|
or the official 3dxserv, as if they were using the magellan SDK.
|
|
|
|
|
|
|
|
|
|
Also, libspnav provides a magellan API wrapper on top of the new API. So, any
|
|
|
|
|
applications that were using the magellan library, can switch to libspnav
|
2019-11-12 03:17:55 +00:00
|
|
|
|
without any changes. And programmers that are familiar with the magellan API
|
2019-07-07 02:05:37 +00:00
|
|
|
|
can continue using it with a free library without the restrictions of the
|
|
|
|
|
official SDK.")
|
|
|
|
|
(license license:bsd-3)))
|
2020-05-14 14:55:32 +00:00
|
|
|
|
|
|
|
|
|
(define-public openctm
|
|
|
|
|
(let ((revision 603))
|
|
|
|
|
;; Previous versions don't compile, they need to link libGL and libGLU.
|
|
|
|
|
;; Fixed in this revision.
|
|
|
|
|
(package
|
|
|
|
|
(name "openctm")
|
|
|
|
|
(version (string-append "1.0.3." (number->string revision)))
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method svn-fetch)
|
|
|
|
|
(uri (svn-reference
|
|
|
|
|
(url "https://svn.code.sf.net/p/openctm/code/trunk")
|
|
|
|
|
(revision revision)))
|
|
|
|
|
(file-name (string-append name "-" version "-checkout"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "01wb70m48xh5gwhv60a5brv4sxl0i0rh038w32cgnlxn5x86s9f1"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list pkg-config))
|
2020-05-16 10:24:47 +00:00
|
|
|
|
(inputs
|
2020-05-14 14:55:32 +00:00
|
|
|
|
`(("mesa" ,mesa)
|
|
|
|
|
("glu" ,glu)
|
|
|
|
|
("glut" ,freeglut)
|
2020-05-16 10:24:47 +00:00
|
|
|
|
("gtk" ,gtk+-2)))
|
2020-05-14 14:55:32 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ;no tests
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(rename-file "Makefile.linux" "Makefile")
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
;; Create output directories.
|
|
|
|
|
(mkdir-p (string-append out "/lib"))
|
|
|
|
|
(mkdir-p (string-append out "/include"))
|
|
|
|
|
(mkdir-p (string-append out "/bin"))
|
|
|
|
|
;; Fix rpath.
|
|
|
|
|
(substitute* "tools/Makefile.linux"
|
|
|
|
|
(("-rpath,\\.")
|
|
|
|
|
(string-append "-rpath," out "/lib/"))
|
|
|
|
|
(("/usr/local")
|
|
|
|
|
out))
|
|
|
|
|
;; Set right output.
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("/usr/lib")
|
|
|
|
|
(string-append out "/lib"))
|
|
|
|
|
(("\\/usr\\/local")
|
|
|
|
|
out))
|
|
|
|
|
#t))))))
|
|
|
|
|
(synopsis "3D triangle mesh format and related tools and libraries")
|
|
|
|
|
(description "OpenCTM is a file format, a software library and a tool set
|
|
|
|
|
for compression of 3D triangle meshes. The geometry is compressed to a
|
|
|
|
|
fraction of comparable file formats (3DS, STL, COLLADA...), and the format is
|
|
|
|
|
accessible through a simple API")
|
|
|
|
|
(license license:zlib)
|
gnu: Use HTTPS package home pages wherever possible.
* gnu/packages/accessibility.scm (florence)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (netcat, nmon)[home-page]: Likewise.
* gnu/packages/algebra.scm (mpfrcx, cm, flint, fftw, r-dtt)[home-page]:
Likewise.
* gnu/packages/apr.scm (apr, apr-util)[home-page]: Likewise.
* gnu/packages/aspell.scm (aspell-dict-it)[home-page]: Likewise.
* gnu/packages/astronomy.scm (casacore, sextractor, libnova)
(xplanet)[home-page]: Likewise.
* gnu/packages/audio.scm (libtimidity, alsa-modular-synth, azr3, tao)
(freepats, rakarrack, liblo, libshout-idjc, timidity++, libsbsms)
(libmodplug, libxmp, xmp, sox, drc, gsm, gnaural)
(streamripper)[home-page]: Likewise.
* gnu/packages/authentication.scm (pamtester)[home-page]: Likewise.
* gnu/packages/backup.scm (grsync)[home-page]: Likewise.
* gnu/packages/bioconductor.scm (r-nmf, r-edger, r-limma)
(r-plgem)[home-page]: Likewise.
* gnu/packages/bioinformatics.scm (python-biom-format, bowtie, bowtie1)
(bwa, crossmap, java-htsjdk, java-htsjdk-latest, java-picard)
(java-picard-2.10.3, kaiju, proteinortho, rsem, rseqc, seek, samtools)
(snap-aligner, subread, stringtie, r-centipede, prinseq, emboss, phylip)
(libsbml)[home-page]: Likewise.
* gnu/packages/build-tools.scm (tup)[home-page]: Likewise.
* gnu/packages/cdrom.scm (libcddb, cdrdao, cdrtools)
(cd-discid)[home-page]: Likewise.
* gnu/packages/check.scm (cunit, python-nose)
(python-pyhamcrest)[home-page]: Likewise.
* gnu/packages/chemistry.scm (gromacs)[home-page]: Likewise.
* gnu/packages/chez.scm (chez-fmt)[home-page]: Likewise.
* gnu/packages/code.scm (lcov, uncrustify, cscope)[home-page]: Likewise.
* gnu/packages/compression.scm (p7zip)[home-page]: Likewise.
* gnu/packages/cran.scm (r-emdist, r-proj4, r-zoo, r-ggalluvial)
(r-orgmassspecr, r-polychrome, r-partykit, r-rcpp, r-ff, r-emdbook)
(r-fitdistrplus, r-linprog, r-geometry, r-dtw, r-fst, r-rjags)
(r-intergraph, r-qualv, r-labelled, r-survey, r-coin, r-fmsb, r-tm)
(r-corpcor, r-rmpfr, r-spatialextremes, r-longitudinal, r-genenet)
(r-bayesm, r-seqinr, r-mpm, r-text2vec, r-rgdal, r-seewave, r-hdrcde)
(r-shapes, r-anytime, r-stm, r-d3network, r-tam, r-directlabels)
(r-spatstat-utils, r-spatstat-sparse, r-spatstat-data, r-spatstat-geom)
(r-spatstat-core, r-spatstat-linnet, r-spatstat-random, r-spatstat)
(r-rcpptoml, r-mlecens, r-seurat, r-mlearning, r-zooimage)[home-page]:
Likewise.
* gnu/packages/crates-io.scm (rust-nickel-0.11, rust-thrift-0.13)
(rust-trust-dns-https-0.20, rust-trust-dns-native-tls-0.20)
(rust-trust-dns-openssl-0.20, rust-trust-dns-proto-0.20)
(rust-trust-dns-resolver-0.20, rust-trust-dns-rustls-0.20)
(rust-uint-0.9, rust-yaml-rust-0.4)[home-page]: Likewise.
* gnu/packages/crypto.scm (libdecaf, ccrypt)[home-page]: Likewise.
* gnu/packages/curl.scm (curlpp)[home-page]: Likewise.
* gnu/packages/databases.scm (python-pylibmc, unixodbc, wiredtiger)
(libpqxx, mdbtools, virtuoso-ose, libdbi, libdbi-drivers)
(soci)[home-page]: Likewise.
* gnu/packages/debian.scm (apt-mirror)[home-page]: Likewise.
* gnu/packages/debug.scm (remake)[home-page]: Likewise.
* gnu/packages/disk.scm (sdparm, idle3-tools, duc)[home-page]: Likewise.
* gnu/packages/django.scm (python-django-haystack)[home-page]: Likewise.
* gnu/packages/djvu.scm (djvulibre, djview)[home-page]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[home-page]: Likewise.
* gnu/packages/docbook.scm (dblatex, docbook2x)[home-page]: Likewise.
* gnu/packages/documentation.scm (scrollkeeper)[home-page]: Likewise.
* gnu/packages/ebook.scm (liblinebreak)[home-page]: Likewise.
* gnu/packages/electronics.scm (xoscope)[home-page]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-bbdb, emacs-caps-lock, emacs-djvu)
(emacs-pabbrev, emacs-twittering-mode, emacs-filladapt, emacs-rudel)
(emacs-stream, emacspeak, emacs-cc-mode, emacs-eldoc, emacs-jsonrpc)
(emacs-gtk-look, emacs-xclip, emacs-slime-volleyball, emacs-minimap)
(emacs-auto-dictionary-mode, emacs-persist, emacs-shell-command+)
(emacs-map, emacs-xref, emacs-dictionary)[home-page]: Likewise.
* gnu/packages/embedded.scm (sdcc)[home-page]: Likewise.
* gnu/packages/engineering.scm (asco, libngspice, libspnav)
(openctm)[home-page]: Likewise.
* gnu/packages/erlang.scm (erlang-erlware-commons)[home-page]: Likewise.
* gnu/packages/file-systems.scm (jfsutils, curlftpfs)[home-page]:
Likewise.
* gnu/packages/finance.scm (gbonds)[home-page]: Likewise.
* gnu/packages/flashing-tools.scm (dfu-util, srecord)[home-page]:
Likewise.
* gnu/packages/fltk.scm (ntk)[home-page]: Likewise.
* gnu/packages/fonts.scm (font-terminus, font-tex-gyre)
(font-comic-neue)[home-page]: Likewise.
* gnu/packages/fontutils.scm (ttf2pt1, potrace, libspiro)[home-page]:
Likewise.
* gnu/packages/fpga.scm (icestorm, gtkwave, gtkwave)
(python-myhdl)[home-page]: Likewise.
* gnu/packages/freedesktop.scm (libatasmart)[home-page]: Likewise.
* gnu/packages/ftp.scm (weex)[home-page]: Likewise.
* gnu/packages/game-development.scm (dds, python-tmx, sfxr, quesoglc)
(eureka, plib)[home-page]: Likewise.
* gnu/packages/games.scm (abe, alex4, armagetronad, barony)
(foobillard++, golly, ltris, pipewalker, prboom-plus, trigger-rally)
(cmatrix, pinball, pioneers, tennix, chromium-bsu, freeciv, kiki)
(quakespasm, frotz, frotz-dumb-terminal, frotz-sdl, btanks)
(flare-engine, chessx, barrage, cgoban, passage)[home-page]: Likewise.
* gnu/packages/geo.scm (python-geopandas, saga)[home-page]: Likewise.
* gnu/packages/gl.scm (freeglut, gl2ps)[home-page]: Likewise.
* gnu/packages/gnome.scm (cogl, clutter-gtk, clutter-gst, bluefish)
(workrave)[home-page]: Likewise.
* gnu/packages/gnustep.scm (wmnd, wmfire, wmfire)[home-page]: Likewise.
* gnu/packages/graph.scm (mscgen)[home-page]: Likewise.
* gnu/packages/graphics.scm (assimp, alembic, ctl, agg)
(opencsg)[home-page]: Likewise.
* gnu/packages/graphviz.scm (gts)[home-page]: Likewise.
* gnu/packages/gtk.scm (gtkspell3)[home-page]: Likewise.
* gnu/packages/guile-xyz.scm (guile-irregex)[home-page]: Likewise.
* gnu/packages/haskell-apps.scm (cpphs)[home-page]: Likewise.
* gnu/packages/haskell-check.scm (ghc-hunit)[home-page]: Likewise.
* gnu/packages/haskell-web.scm (ghc-http-client-restricted)
(ghc-blaze-html, ghc-happstack-server, ghc-sourcemap)[home-page]:
Likewise.
* gnu/packages/haskell-xyz.scm (ghc-assoc, ghc-cairo, ghc-cborg)
(ghc-csv, ghc-glob, ghc-gtk2hs-buildtools, ghc-hmatrix-gsl-stats)
(ghc-intervalmap, ghc-lens-family-core, ghc-managed, ghc-mountpoints)
(ghc-network-multicast, ghc-optional-args, ghc-regex, ghc-spoon)
(ghc-transformers, ghc-turtle, ghc-utf8-light, ghc-wizards)
(ghc-template-haskell, ghc-boot-th, ghc-binary-orphans)
(ghc-postgresql-simple)[home-page]: Likewise.
* gnu/packages/hexedit.scm (ht, bvi)[home-page]: Likewise.
* gnu/packages/hunspell.scm (hunspell-dict-hu)[home-page]: Likewise.
* gnu/packages/image-processing.scm (mia)[home-page]: Likewise.
* gnu/packages/image-viewers.scm (geeqie, gpicview, luminance-hdr)
(qiv)[home-page]: Likewise.
* gnu/packages/image.scm (libuemf, devil, steghide, optipng, niftilib)
(sng, mtpaint)[home-page]: Likewise.
* gnu/packages/java-xml.scm (java-simple-xml, java-jaxp)
(java-apache-xml-commons-resolver)[home-page]: Likewise.
* gnu/packages/java.scm (java-cisd-base, java-cisd-args4j)
(java-hamcrest-core, java-jsr305, java-eclipse-osgi)
(java-eclipse-equinox-common, java-eclipse-core-jobs)
(java-eclipse-equinox-registry, java-eclipse-equinox-app)
(java-eclipse-equinox-preferences, java-eclipse-core-contenttype)
(java-eclipse-text, java-treelayout, java-aopalliance, java-jeromq)
(java-cdi-api)[home-page]: Likewise.
* gnu/packages/jemalloc.scm (jemalloc-4.5.0)[home-page]: Likewise.
* gnu/packages/julia-xyz.scm (julia-recipespipeline)[home-page]:
Likewise.
* gnu/packages/kde-internet.scm (kget)[home-page]: Likewise.
* gnu/packages/kde-systemtools.scm (dolphin-plugins)
(konsole)[home-page]: Likewise.
* gnu/packages/kodi.scm (fstrcmp)[home-page]: Likewise.
* gnu/packages/language.scm (hime, libchewing)[home-page]: Likewise.
* gnu/packages/lego.scm (nqc)[home-page]: Likewise.
* gnu/packages/lesstif.scm (lesstif)[home-page]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[home-page]: Likewise.
* gnu/packages/libdaemon.scm (libdaemon)[home-page]: Likewise.
* gnu/packages/libffi.scm (libffi)[home-page]: Likewise.
* gnu/packages/libreoffice.scm (libwpd, libwpg, libwps)[home-page]:
Likewise.
* gnu/packages/libusb.scm (libmtp, gmtp)[home-page]: Likewise.
* gnu/packages/linux.scm (e2fsprogs, extundelete, lsscsi, net-tools)
(kbd, sysfsutils, cpuid, libpfm4)[home-page]: Likewise.
* gnu/packages/lisp-check.scm (sbcl-ptester, sbcl-xlunit)[home-page]:
Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-html-encode, sbcl-py-configparser)
(sbcl-cl-utilities, sbcl-series, sbcl-uffi, sbcl-clsql, sbcl-sycamore)
(sbcl-osicat, sbcl-hu.dwim.common, sbcl-caveman, sbcl-trivial-shell)
(sbcl-trivial-benchmark, sbcl-screamer, sbcl-smug)[home-page]: Likewise.
* gnu/packages/lisp.scm (lush2)[home-page]: Likewise.
* gnu/packages/logging.scm (log4cpp)[home-page]: Likewise.
* gnu/packages/lua.scm (lua-ldoc)[home-page]: Likewise.
* gnu/packages/machine-learning.scm (mcl, openfst, rxcpp)[home-page]:
Likewise.
* gnu/packages/mail.scm (muchsync, procmail, sendmail)
(opensmtpd-filter-dkimsign, crm114)[home-page]: Likewise.
* gnu/packages/man.scm (libpipeline, man-db)[home-page]: Likewise.
* gnu/packages/maths.scm (lapack, scalapack, hdf-eos5, itpp, gmsh)
(metamath, p4est, armadillo, suitesparse, atlas, lpsolve, wcalc, why3)
(frama-c)[home-page]: Likewise.
* gnu/packages/mcrypt.scm (mcrypt, libmcrypt, libmhash)[home-page]:
Likewise.
* gnu/packages/minetest.scm (minetest-advtrains)[home-page]: Likewise.
* gnu/packages/monitoring.scm (python-whisper, python-carbon)
(hostscope)[home-page]: Likewise.
* gnu/packages/mp3.scm (id3lib, libmp3splt, mp3splt, mpg321)
(lame)[home-page]: Likewise.
* gnu/packages/multiprecision.scm (mpc)[home-page]: Likewise.
* gnu/packages/music.scm (aria-maestosa, lingot, setbfree, bristol)
(portmidi, python-pyportmidi, zynaddsubfx, yoshimi, aj-snapshot)
(schismtracker, midicsv, midicsv, qmidiarp, qmidiroute, dssi, tap-lv2)
(shiru-lv2)[home-page]: Likewise.
* gnu/packages/ncurses.scm (stfl)[home-page]: Likewise.
* gnu/packages/networking.scm (lksctp-tools, mbuffer, ifstatus, bird)
(tunctl, traceroute)[home-page]: Likewise.
* gnu/packages/node-xyz.scm (node-mersenne)[home-page]: Likewise.
* gnu/packages/ntp.scm (openntpd)[home-page]: Likewise.
* gnu/packages/ocaml.scm (opam, hevea, ocaml-menhir, ocaml-piqilib)
(ocaml-graph, cubicle)[home-page]: Likewise.
* gnu/packages/opencl.scm (python-pyopencl)[home-page]: Likewise.
* gnu/packages/package-management.scm (xstow, modules)[home-page]:
Likewise.
* gnu/packages/parallel.scm (xjobs)[home-page]: Likewise.
* gnu/packages/pdf.scm (podofo, qpdf, xournal, impressive)[home-page]:
Likewise.
* gnu/packages/perl.scm (perl-math-vecstat, perltidy)[home-page]:
Likewise.
* gnu/packages/photo.scm (libpano13, enblend-enfuse, hugin)[home-page]:
Likewise.
* gnu/packages/plan9.scm (drawterm)[home-page]: Likewise.
* gnu/packages/plotutils.scm (guile-charting, ploticus)[home-page]:
Likewise.
* gnu/packages/popt.scm (argtable, popt)[home-page]: Likewise.
* gnu/packages/profiling.scm (otf2)[home-page]: Likewise.
* gnu/packages/pulseaudio.scm (pulseaudio)[home-page]: Likewise.
* gnu/packages/python-check.scm (python-mypy)[home-page]: Likewise.
* gnu/packages/python-web.scm (python-cssutils)
(python-translationstring)[home-page]: Likewise.
* gnu/packages/python-xyz.scm (python-diskcache, python-doxyqml)
(python-docutils, python-pexpect, python-importlib-resources)
(python-simplegeneric, python-urwid, python-xlrd, python-xlwt)
(python-pyasn1, python-pythondialog, python-tftpy, python-random2)
(python-arcp, python-pyopengl, python-sortedcollections)
(python-sortedcontainers, python-yapsy, python-pydispatcher)
(python-posix-ipc)[home-page]: Likewise.
* gnu/packages/qt.scm (qwt, libqglviewer, signond)[home-page]: Likewise.
* gnu/packages/radio.scm (unixcw, gnuais)[home-page]: Likewise.
* gnu/packages/raspberry-pi.scm (bcm2835)[home-page]: Likewise.
* gnu/packages/rdf.scm (clucene, rasqal, redland)[home-page]: Likewise.
* gnu/packages/regex.scm (tre)[home-page]: Likewise.
* gnu/packages/rsync.scm (librsync)[home-page]: Likewise.
* gnu/packages/ruby.scm (ruby-packnga, ruby-nokogiri, ruby-oj, ruby-ox)
(ruby-sinatra, ruby-citrus, ruby-cbor, ruby-roda)[home-page]: Likewise.
* gnu/packages/scheme.scm (scheme48, tinyscheme)[home-page]: Likewise.
* gnu/packages/screen.scm (dtach)[home-page]: Likewise.
* gnu/packages/scsi.scm (sg3-utils)[home-page]: Likewise.
* gnu/packages/sdl.scm (libmikmod, sdl-pango)[home-page]: Likewise.
* gnu/packages/shellutils.scm (hstr, rig)[home-page]: Likewise.
* gnu/packages/simulation.scm (python-dolfin-adjoint)[home-page]:
Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[home-page]: Likewise.
* gnu/packages/speech.scm (espeak)[home-page]: Likewise.
* gnu/packages/stalonetray.scm (stalonetray)[home-page]: Likewise.
* gnu/packages/statistics.scm (jags, r-mass, r-class, r-lattice)
(r-matrix, r-nnet, r-spatial, r-bit, r-bit64, r-digest, r-xtable)
(python-statsmodels, r-ade4, r-latticeextra, r-rcurl, r-xml, r-mvtnorm)
(r-robustbase, r-minqa, r-fdrtool, java-jdistlib, xlispstat)[home-page]:
Likewise.
* gnu/packages/swig.scm (swig)[home-page]: Likewise.
* gnu/packages/task-management.scm (wtime)[home-page]: Likewise.
* gnu/packages/tcl.scm (itcl, tclxml, tclx)[home-page]: Likewise.
* gnu/packages/terminals.scm (libtermkey, mlterm, libvterm)
(libvterm)[home-page]: Likewise.
* gnu/packages/tex.scm (texlive-lm, texlive-lm-math, texlive-cs)
(texlive-csplain, biber, texmaker)[home-page]: Likewise.
* gnu/packages/text-editors.scm (joe)[home-page]: Likewise.
* gnu/packages/textutils.scm (drm-tools, docx2txt)[home-page]: Likewise.
* gnu/packages/tv.scm (tvtime)[home-page]: Likewise.
* gnu/packages/unicode.scm (libunibreak)[home-page]: Likewise.
* gnu/packages/upnp.scm (libupnp)[home-page]: Likewise.
* gnu/packages/version-control.scm (cvs)[home-page]: Likewise.
* gnu/packages/video.scm (transcode, libquicktime, mjpegtools, aalib)
(liba52, libmpeg2, x265, libdv, dvdauthor, aegisub, pitivi, gavl)
(dvdbackup, guvcview, video-contact-sheet)[home-page]: Likewise.
* gnu/packages/virtualization.scm (bochs)[home-page]: Likewise.
* gnu/packages/w3m.scm (w3m)[home-page]: Likewise.
* gnu/packages/web.scm (qjson, libquvi-scripts, libquvi, quvi)
(tidy-html, htmlcxx)[home-page]: Likewise.
* gnu/packages/wm.scm (evilwm, menumaker)[home-page]: Likewise.
* gnu/packages/wv.scm (wv)[home-page]: Likewise.
* gnu/packages/wxwidgets.scm (wxsvg)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (mtdev, xsel)[home-page]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[home-page]: Likewise.
* gnu/packages/xml.scm (openjade, python-pyxb, xmlstarlet, xmlrpc-c)
(opensp)[home-page]: Likewise.
* gnu/packages/xorg.scm (xf86-video-qxl)[home-page]: Likewise.
2023-02-12 00:00:00 +00:00
|
|
|
|
(home-page "https://openctm.sourceforge.net/"))))
|
2020-05-15 14:05:11 +00:00
|
|
|
|
|
|
|
|
|
(define-public lib3ds
|
|
|
|
|
(package
|
|
|
|
|
(name "lib3ds")
|
|
|
|
|
(version "1.3.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://storage.googleapis.com/google-code-archive-downloads"
|
|
|
|
|
"/v2/code.google.com/lib3ds/lib3ds-" version ".zip"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1qr9arfdkjf7q11xhvxwzmhxqz3nhcjkyb8zzfjpz9jm54q0rc7m"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list unzip))
|
2020-05-15 14:05:11 +00:00
|
|
|
|
(home-page "https://code.google.com/archive/p/lib3ds")
|
|
|
|
|
(synopsis "3DS format file toolkit")
|
|
|
|
|
(description "Lib3ds is a toolkit for handling the 3DS format for 3D
|
|
|
|
|
model files. Its main goal is to simplify the creation of 3DS import and
|
|
|
|
|
export filters.")
|
|
|
|
|
(license license:lgpl2.1+)))
|
2020-06-12 21:41:18 +00:00
|
|
|
|
|
|
|
|
|
(define-public meshlab
|
|
|
|
|
(package
|
|
|
|
|
(name "meshlab")
|
2022-06-06 03:41:35 +00:00
|
|
|
|
(version "2022.02")
|
2020-06-12 21:41:18 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/cnr-isti-vclab/meshlab")
|
2022-06-06 03:41:35 +00:00
|
|
|
|
(commit (string-append "MeshLab-" version))
|
2020-06-12 21:41:18 +00:00
|
|
|
|
(recursive? #t)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2022-06-06 03:41:35 +00:00
|
|
|
|
(base32 "0dkh9qw9z2160s6gjiv0a601kp6hvl66cplvi8rfc892zcykgiwd"))))
|
2020-06-12 21:41:18 +00:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list qtbase-5
|
|
|
|
|
mesa
|
|
|
|
|
glu
|
|
|
|
|
glew
|
|
|
|
|
muparser
|
|
|
|
|
gmp
|
|
|
|
|
eigen
|
|
|
|
|
libfreenect
|
|
|
|
|
lib3ds
|
|
|
|
|
openctm
|
2022-06-06 03:41:35 +00:00
|
|
|
|
qhull))
|
2020-06-12 21:41:18 +00:00
|
|
|
|
(arguments
|
2022-06-06 03:41:35 +00:00
|
|
|
|
(list #:tests? #f ; Has no tests
|
|
|
|
|
#:configure-flags
|
|
|
|
|
#~(list (string-append "-DCMAKE_MODULE_LINKER_FLAGS=-Wl,-rpath="
|
|
|
|
|
#$output "/lib/meshlab")
|
|
|
|
|
(string-append "-DCMAKE_SHARED_LINKER_FLAGS=-Wl,-rpath="
|
|
|
|
|
#$output "/lib/meshlab")
|
|
|
|
|
(string-append "-DCMAKE_EXE_LINKER_FLAGS=-Wl,-rpath="
|
|
|
|
|
#$output "/lib/meshlab"))
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'go-to-source-dir
|
|
|
|
|
(lambda _ (chdir "src"))))))
|
2020-06-12 21:41:18 +00:00
|
|
|
|
(synopsis "3D triangular mesh processing and editing software")
|
|
|
|
|
(home-page "https://www.meshlab.net/")
|
2022-06-06 03:41:35 +00:00
|
|
|
|
(description "MeshLab is a system for the processing and editing of large,
|
|
|
|
|
unstructured, 3D triangular meshes. It is aimed to help the processing of the
|
|
|
|
|
typical, not-so-small unstructured models arising in 3D scanning, providing a
|
|
|
|
|
set of tools for editing, cleaning, healing, inspecting, rendering and
|
|
|
|
|
converting this kind of meshes. These tools include MeshLab proper, a
|
|
|
|
|
versatile program with a graphical user interface, and @samp{meshlabserver}, a
|
|
|
|
|
program that can perform mesh processing tasks in batch mode, without a GUI.")
|
2020-06-12 21:41:18 +00:00
|
|
|
|
(license license:gpl3+)))
|
2020-06-19 14:08:40 +00:00
|
|
|
|
|
|
|
|
|
(define-public poke
|
2021-02-26 14:08:59 +00:00
|
|
|
|
(package
|
|
|
|
|
(name "poke")
|
2023-08-22 06:18:14 +00:00
|
|
|
|
(version "3.3")
|
2021-02-26 14:08:59 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/poke/poke-" version
|
|
|
|
|
".tar.gz"))
|
|
|
|
|
(sha256
|
2023-08-22 06:18:14 +00:00
|
|
|
|
(base32 "0vlm9xcr7rrfli2x4hi2q41nh8vjd2izpz4zd0xwhqshx2flb000"))
|
2021-12-06 09:37:48 +00:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; Delete files generated by Bison.
|
|
|
|
|
(delete-file "gl/parse-datetime.c")
|
|
|
|
|
(delete-file "gl/parse-datetime-gen.h")
|
|
|
|
|
(delete-file "jitter/example-vms/structured/structured-parser.c")
|
|
|
|
|
(delete-file "jitter/example-vms/structured/structured-parser.h")
|
|
|
|
|
(delete-file "jitter/jitterc/jitterc-parser.c")
|
|
|
|
|
(delete-file "jitter/jitterc/jitterc-parser.h")
|
|
|
|
|
(delete-file "jitter/jitter/jitter-routine-parser.c")
|
|
|
|
|
(delete-file "jitter/jitter/jitter-routine-parser.h")
|
|
|
|
|
(delete-file "libpoke/pkl-tab.c")
|
|
|
|
|
(delete-file "libpoke/pkl-tab.h")
|
|
|
|
|
(delete-file "poke/pk-map-tab.c")
|
|
|
|
|
(delete-file "poke/pk-map-tab.h")
|
|
|
|
|
;; Delete files generated by flex.
|
|
|
|
|
(delete-file "jitter/example-vms/structured/structured-scanner.c")
|
|
|
|
|
(delete-file "jitter/example-vms/structured/structured-scanner.h")
|
|
|
|
|
(delete-file "jitter/jitterc/jitterc-scanner.c")
|
|
|
|
|
(delete-file "jitter/jitterc/jitterc-scanner.h")
|
|
|
|
|
(delete-file "jitter/jitter/jitter-routine-scanner.c")
|
|
|
|
|
(delete-file "jitter/jitter/jitter-routine-scanner.h")
|
|
|
|
|
(delete-file "libpoke/pkl-lex.c")
|
|
|
|
|
(delete-file "libpoke/pkl-lex.h")
|
|
|
|
|
(delete-file "poke/pk-map-lex.c")
|
|
|
|
|
(delete-file "poke/pk-map-lex.h")
|
|
|
|
|
;; Other generated files:
|
|
|
|
|
(delete-file "jitter/example-vms/jitterlisp/jitterlispvm-vm1.c")
|
|
|
|
|
(delete-file "jitter/example-vms/jitterlisp/jitterlispvm-vm2.c")
|
|
|
|
|
(delete-file "jitter/example-vms/jitterlisp/jitterlispvm-vm.h")
|
|
|
|
|
(delete-file "jitter/example-vms/structured/structuredvm-vm1.c")
|
|
|
|
|
(delete-file "jitter/example-vms/structured/structuredvm-vm2.c")
|
|
|
|
|
(delete-file "jitter/example-vms/structured/structuredvm-vm.h")
|
|
|
|
|
(delete-file "jitter/example-vms/structured/structuredvm-vm-main.c")
|
|
|
|
|
(delete-file "jitter/example-vms/uninspired/uninspired-vm1.c")
|
|
|
|
|
(delete-file "jitter/example-vms/uninspired/uninspired-vm2.c")
|
|
|
|
|
(delete-file "jitter/example-vms/uninspired/uninspired-vm.h")
|
|
|
|
|
(delete-file "jitter/example-vms/uninspired/uninspired-vm-main.c")
|
|
|
|
|
(delete-file "libpoke/pvm-vm.h")
|
|
|
|
|
(delete-file "libpoke/pvm-vm1.c")
|
|
|
|
|
(delete-file "libpoke/pvm-vm2.c")))))
|
2021-02-26 14:08:59 +00:00
|
|
|
|
(build-system gnu-build-system)
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(native-inputs (list bison dejagnu flex libtool pkg-config))
|
2021-02-26 14:08:59 +00:00
|
|
|
|
;; FIXME: Enable NBD support by adding `libnbd' (currently unpackaged).
|
2023-10-15 17:47:06 +00:00
|
|
|
|
(inputs (list libgc readline libtextstyle))
|
2021-02-26 14:08:59 +00:00
|
|
|
|
(arguments
|
2023-10-15 17:47:06 +00:00
|
|
|
|
(list
|
2023-10-15 17:47:07 +00:00
|
|
|
|
#:imported-modules `((guix build emacs-build-system)
|
|
|
|
|
(guix build emacs-utils)
|
|
|
|
|
,@%gnu-build-system-modules)
|
|
|
|
|
#:modules '((guix build gnu-build-system)
|
|
|
|
|
((guix build emacs-build-system) #:prefix emacs:)
|
|
|
|
|
(guix build utils))
|
2023-10-15 17:47:06 +00:00
|
|
|
|
#:configure-flags
|
|
|
|
|
#~(list "--disable-static"
|
2024-02-25 13:29:56 +00:00
|
|
|
|
(string-append "--with-vimdir=" #$output
|
|
|
|
|
"/share/vim/vimfiles/pack/guix/start/poke")
|
2023-10-15 17:47:07 +00:00
|
|
|
|
(string-append "--with-lispdir="
|
|
|
|
|
(emacs:elpa-directory #$output)))))
|
2021-12-06 08:07:44 +00:00
|
|
|
|
(home-page "https://www.gnu.org/software/poke/#documentation")
|
|
|
|
|
(synopsis "Editing of arbitrary binary data")
|
|
|
|
|
(description "GNU poke is an interactive, extensible editor for binary data.
|
|
|
|
|
Not limited to editing basic entities such as bits and bytes, it provides a
|
|
|
|
|
full-fledged procedural, interactive programming language designed to describe
|
|
|
|
|
data structures and to operate on them.")
|
2021-02-26 14:08:59 +00:00
|
|
|
|
(license license:gpl3+)))
|
2019-05-21 11:07:05 +00:00
|
|
|
|
|
2023-01-26 09:25:00 +00:00
|
|
|
|
(define-public emacs-poke
|
2023-10-15 17:47:08 +00:00
|
|
|
|
;; The 'emacs-poke' name may eventually refer to 'poke' from ELPA, which is
|
|
|
|
|
;; a different beast.
|
|
|
|
|
(deprecated-package "emacs-poke" poke))
|
2023-01-26 09:25:00 +00:00
|
|
|
|
|
2019-05-21 11:07:05 +00:00
|
|
|
|
(define-public pcb2gcode
|
2023-04-02 17:45:50 +00:00
|
|
|
|
(package
|
|
|
|
|
(name "pcb2gcode")
|
|
|
|
|
(version "2.5.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/pcb2gcode/pcb2gcode")
|
|
|
|
|
(commit (string-append "v" version))
|
|
|
|
|
(recursive? #t)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"01s41znkcq9x1rinsdqrrdj8p35isckrcxs14ajsi7wr39n1m5kk"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
(list boost
|
|
|
|
|
geos
|
|
|
|
|
gerbv
|
|
|
|
|
glibmm
|
|
|
|
|
gtkmm-2
|
2023-08-15 12:14:30 +00:00
|
|
|
|
(librsvg-for-system)))
|
2023-04-02 17:45:50 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
(list autoconf automake libtool pkg-config))
|
|
|
|
|
(home-page "https://github.com/pcb2gcode/pcb2gcode")
|
|
|
|
|
(synopsis "Generate G-code for milling PCBs")
|
|
|
|
|
(description "pcb2gcode is a command-line program for isolation routing
|
2019-05-21 11:07:05 +00:00
|
|
|
|
and drilling of PCBs. It takes Gerber files as input and outputs G-code files
|
|
|
|
|
for the milling of PCBs. It also includes an autoleveller for the automatic
|
|
|
|
|
dynamic calibration of the milling depth.")
|
2023-04-02 17:45:50 +00:00
|
|
|
|
(license license:gpl3+)))
|
2022-09-06 08:24:01 +00:00
|
|
|
|
|
|
|
|
|
;; libdxfrw has no readme, no version release, no tags. Initial commit says
|
|
|
|
|
;; "libdxfrw-0.6.3 import", but it shares no git history with "upstream"
|
|
|
|
|
;; https://github.com/codelibs/libdxfrw. Both are difficult to package
|
|
|
|
|
;; separately as they don't install properly. Copying in-tree instead of
|
|
|
|
|
;; #:recursive #t to avoid downloading the other bigger dependencies which
|
|
|
|
|
;; aren't needed.
|
|
|
|
|
(define libdxfrw-sources
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference (url
|
|
|
|
|
"https://github.com/solvespace/libdxfrw")
|
|
|
|
|
(commit
|
|
|
|
|
"0b7b7b709d9299565db603f878214656ef5e9ddf")))
|
|
|
|
|
(sha256 (base32
|
|
|
|
|
"0d2wjq81466m3hb5cffiy99vhx0irwwy47yfxp318k2q4cvd5z2a"))))
|
|
|
|
|
|
|
|
|
|
(define-public solvespace
|
|
|
|
|
(let ((commit "70bde63cb32a7f049fa56cbdf924e2695fcb2916")
|
|
|
|
|
(version "3.1"))
|
|
|
|
|
(package
|
|
|
|
|
(name "solvespace")
|
|
|
|
|
(version version)
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/solvespace/solvespace")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1hbdln44k00a6vlklv2mq2c9zda3i9d5x0f7ks85w4v6zskhqnra"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(native-inputs (list pkg-config gettext-minimal))
|
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
#:build-type "Release"
|
|
|
|
|
#:phases #~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'unpack-libdxfrw
|
|
|
|
|
(lambda _
|
|
|
|
|
(copy-recursively #$libdxfrw-sources
|
|
|
|
|
"extlib/libdxfrw")))
|
|
|
|
|
(add-before 'configure 'embed-git-commit-hash
|
|
|
|
|
(lambda _
|
|
|
|
|
;; `git describe` doesn't work here, so embed
|
|
|
|
|
;; the commit hash directly in CMakeLists.txt as
|
|
|
|
|
;; described instead.
|
|
|
|
|
(substitute* "CMakeLists.txt"
|
|
|
|
|
(("include\\(GetGitCommitHash\\)")
|
|
|
|
|
(string-append "set(GIT_COMMIT_HASH "
|
|
|
|
|
#$commit ")")))))
|
|
|
|
|
(add-before 'configure 'use-packaged-mimalloc
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "CMakeLists.txt"
|
|
|
|
|
(("message\\(STATUS \"Using in-tree mimalloc\"\\)")
|
|
|
|
|
"message(STATUS \"Using guix packaged mimalloc\")")
|
|
|
|
|
(("add_subdirectory\\(extlib/mimalloc EXCLUDE_FROM_ALL\\)")
|
2022-09-12 09:51:02 +00:00
|
|
|
|
"find_package(mimalloc REQUIRED)"))))
|
|
|
|
|
(add-after 'install 'wrap-program
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(wrap-program (string-append (assoc-ref outputs "out")
|
|
|
|
|
"/bin/solvespace")
|
|
|
|
|
;; For GtkFileChooserDialog.
|
|
|
|
|
`("GSETTINGS_SCHEMA_DIR" =
|
|
|
|
|
(,(string-append (assoc-ref inputs "gtk+")
|
|
|
|
|
"/share/glib-2.0/schemas")))))))))
|
2022-09-06 08:24:01 +00:00
|
|
|
|
(inputs (list cairo
|
|
|
|
|
eigen
|
|
|
|
|
freetype
|
|
|
|
|
gtkmm-3
|
|
|
|
|
json-c
|
|
|
|
|
libpng
|
|
|
|
|
libspnav ;spaceware
|
|
|
|
|
mimalloc
|
|
|
|
|
mesa
|
|
|
|
|
zlib))
|
|
|
|
|
(synopsis
|
|
|
|
|
"Parametric 2D/3D @acronym{CAD, computer-aided design} software")
|
|
|
|
|
(description
|
|
|
|
|
"SOLVESPACE is a parametric 3D @acronym{CAD,
|
|
|
|
|
computer-aided design} tool. Applications include:
|
|
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
|
@item modeling 3D parts — draw with extrudes, revolves, helixes and
|
|
|
|
|
Boolean (union / difference / intersection) operations
|
|
|
|
|
@item modeling 2D parts — draw the part as a single section,
|
|
|
|
|
and export DXF, PDF, SVG; use 3D assembly to verify fit
|
|
|
|
|
@item 3D-printed parts — export the STL or other triangle mesh
|
|
|
|
|
expected by most 3D printers
|
|
|
|
|
@item preparing CAM data — export 2D vector art for a waterjet
|
|
|
|
|
machine or laser cutter; or generate STEP or STL, for import into
|
|
|
|
|
third-party CAM software for machining
|
|
|
|
|
@item mechanism design — use the constraint solver to simulate planar
|
|
|
|
|
or spatial linkages, with pin, ball, or slide joints
|
|
|
|
|
@item plane and solid geometry — replace hand-solved trigonometry and spreadsheets
|
|
|
|
|
with a live dimensioned drawing
|
|
|
|
|
@end itemize")
|
|
|
|
|
(home-page "https://solvespace.com/")
|
|
|
|
|
(license license:gpl3+))))
|
2021-02-21 22:42:10 +00:00
|
|
|
|
|
|
|
|
|
(define-public syscall-intercept
|
|
|
|
|
;; Upstream provides no tag. Also, last version update is 4 years old.
|
|
|
|
|
(let ((commit "304404581c57d43478438d175099d20260bae74e")
|
|
|
|
|
(revision "0"))
|
|
|
|
|
(package
|
|
|
|
|
(name "syscall-intercept")
|
|
|
|
|
(version (git-version "0.1.0" revision commit))
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(git-reference
|
|
|
|
|
(url "https://github.com/pmem/syscall_intercept/")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "17sw78xp5wjzv25adpbq3khl8fi0avj7bgpi57q3jnvl3c68xy5z"))))
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list perl pkg-config))
|
2021-02-21 22:42:10 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list capstone))
|
2021-02-21 22:42:10 +00:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:build-type "Release"
|
|
|
|
|
;; FIXME: "syscall_format_logging" test fails.
|
|
|
|
|
#:tests? #f))
|
|
|
|
|
(home-page "https://github.com/pmem/syscall_intercept")
|
|
|
|
|
(synopsis "System call intercepting library")
|
|
|
|
|
(description
|
|
|
|
|
"The system call intercepting library provides a low-level interface
|
|
|
|
|
for hooking Linux system calls in user space. This is achieved by
|
|
|
|
|
hot-patching the machine code of the standard C library in the memory of
|
|
|
|
|
a process.")
|
|
|
|
|
(license license:bsd-2))))
|
2021-09-20 22:15:50 +00:00
|
|
|
|
|
2021-11-21 10:40:50 +00:00
|
|
|
|
(define-public xfoil
|
|
|
|
|
(package
|
|
|
|
|
(name "xfoil")
|
|
|
|
|
(version "6.99")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://web.mit.edu/drela/Public/web/xfoil/xfoil"
|
|
|
|
|
version ".tgz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0h5y5v0qlyvi4qc943x394npz4779i8f52iksxshxkjj7xj500jw"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(add-after 'unpack 'edit-files
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; The instructions in orrs/README say that orrs/bin/osmap.f
|
|
|
|
|
;; should be edited, but that file is never used by XFOIL.
|
|
|
|
|
;; Instead, it is osrc/osmap.f that is used.
|
|
|
|
|
(substitute* "osrc/osmap.f"
|
|
|
|
|
(("^[ ]{6}DATA OSFILE / '/var/local/codes/orrs/osmap.dat' /")
|
|
|
|
|
(let ((replacement (string-append (make-string 6 #\space)
|
|
|
|
|
"DATA OSFILE / '"
|
|
|
|
|
(assoc-ref outputs "out")
|
|
|
|
|
"/share/xfoil/osmap.dat' /")))
|
|
|
|
|
;; In fixed form Fortran, lines cannot exceed 72 columns.
|
|
|
|
|
;; The Guix store path exceeds this limit.
|
|
|
|
|
(string-append
|
|
|
|
|
(substring replacement 0 72) "\n"
|
|
|
|
|
(make-string 5 #\space) "&" (substring replacement 72)))))
|
|
|
|
|
(substitute* "orrs/bin/Makefile_DP"
|
|
|
|
|
(("^FC = ifort")
|
|
|
|
|
"FC = gfortran")
|
|
|
|
|
(("^FLG = -O -r8")
|
|
|
|
|
"FLG = -O2 -fdefault-real-8"))
|
|
|
|
|
(substitute* "plotlib/Makefile"
|
|
|
|
|
(("^include ./config.make")
|
|
|
|
|
"include ./config.make.gfortranDP"))
|
|
|
|
|
(substitute* "bin/Makefile_gfortran"
|
|
|
|
|
(("^BINDIR = /home/codes/bin/")
|
|
|
|
|
(string-append "BINDIR = " (assoc-ref outputs "out") "/bin"))
|
|
|
|
|
(("^CC = cc")
|
|
|
|
|
"CC = gcc")
|
|
|
|
|
(("^CFLAGS = -O -DUNDERSCORE")
|
|
|
|
|
"CFLAGS = -O2 -DUNDERSCORE")
|
|
|
|
|
(("^FFLAGS = -O \\$\\(CHK\\) \\$\\(DBL\\)")
|
|
|
|
|
"FFLAGS = -O2 $(CHK) $(DBL)")
|
|
|
|
|
(("^FFLOPT = -O \\$\\(CHK\\) \\$\\(DBL\\)")
|
|
|
|
|
"FFLOPT = -O2 $(CHK) $(DBL)")
|
|
|
|
|
;; Separate the build stage from the install stage.
|
|
|
|
|
(("\\$\\(INSTALLCMD\\) xfoil \\$\\(BINDIR\\)") "")
|
|
|
|
|
(("\\$\\(INSTALLCMD\\) pxplot \\$\\(BINDIR\\)") "")
|
|
|
|
|
(("\\$\\(INSTALLCMD\\) pplot \\$\\(BINDIR\\)") ""))))
|
|
|
|
|
(replace 'build
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "make" "-C" "orrs/bin" "-f" "Makefile_DP" "osgen")
|
|
|
|
|
(with-directory-excursion "orrs"
|
|
|
|
|
(invoke "bin/osgen" "osmaps_ns.lst"))
|
|
|
|
|
(invoke "make" "-C" "plotlib")
|
|
|
|
|
(substitute* "bin/Makefile_gfortran"
|
|
|
|
|
(("^FFLAGS =(.*)$" _ suffix)
|
|
|
|
|
(string-append "FFLAGS = -fallow-argument-mismatch "
|
|
|
|
|
suffix "\n")))
|
|
|
|
|
(invoke "make" "-C" "bin" "-f" "Makefile_gfortran")))
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin-dir (string-append out "/bin"))
|
|
|
|
|
(data-dir (string-append out "/share/xfoil"))
|
|
|
|
|
(doc-dir (string-append out "/share/doc/xfoil")))
|
|
|
|
|
(mkdir-p bin-dir)
|
|
|
|
|
(invoke "make" "-C" "bin" "-f" "Makefile_gfortran" "install")
|
|
|
|
|
(mkdir-p data-dir)
|
|
|
|
|
(install-file "orrs/osmap.dat" data-dir)
|
|
|
|
|
(mkdir-p doc-dir)
|
|
|
|
|
(install-file "xfoil_doc.txt" doc-dir)))))
|
|
|
|
|
#:tests? #f))
|
|
|
|
|
(inputs
|
|
|
|
|
(list libx11))
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list gfortran))
|
|
|
|
|
(home-page "https://web.mit.edu/drela/Public/web/xfoil/")
|
|
|
|
|
(synopsis "Program for the design and analysis of subsonic airfoils")
|
|
|
|
|
(description
|
|
|
|
|
"XFOIL is an interactive program for the design and analysis of subsonic
|
|
|
|
|
isolated airfoils. It consists of a collection of menu-driven routines which
|
|
|
|
|
perform various useful functions such as:
|
|
|
|
|
@itemize
|
|
|
|
|
@item Viscous (or inviscid) analysis of an existing airfoil
|
|
|
|
|
@item Airfoil design and redesign by interactive modification of surface speed
|
|
|
|
|
distributions
|
|
|
|
|
@item Airfoil redesign by interactive modification of geometric parameters
|
|
|
|
|
@item Blending of airfoils
|
|
|
|
|
@item Writing and reading of airfoil coordinates and polar save files
|
|
|
|
|
@item Plotting of geometry, pressure distributions, and multiple polars
|
|
|
|
|
@end itemize")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2021-09-20 22:15:50 +00:00
|
|
|
|
(define-public libigl
|
|
|
|
|
(package
|
|
|
|
|
(name "libigl")
|
|
|
|
|
(version "2.3.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/libigl/libigl")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"004a22ifq2vibgkgvrlyihqimpsfizvq5l448204kwfg3lkycajj"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
'("-DLIBIGL_USE_STATIC_LIBRARY=OFF"
|
|
|
|
|
"-DLIBIGL_BUILD_TESTS=ON"
|
|
|
|
|
"-DLIBIGL_BUILD_TUTORIALS=OFF"
|
|
|
|
|
"-DLIBIGL_EXPORT_TARGETS=ON"
|
|
|
|
|
;; The following options disable tests for the corresponding libraries.
|
|
|
|
|
;; The options do not affect whether the libraries are linked to
|
|
|
|
|
;; libigl or not, they are used for tests.
|
|
|
|
|
"-DLIBIGL_WITH_COMISO=OFF"
|
|
|
|
|
"-DLIBIGL_WITH_CORK=OFF"
|
|
|
|
|
"-DLIBIGL_WITH_MATLAB=OFF"
|
|
|
|
|
"-DLIBIGL_WITH_MOSEK=OFF"
|
|
|
|
|
"-DLIBIGL_WITH_TRIANGLE=OFF" ;; Undefined reference to "triangulate".
|
|
|
|
|
"-DLIBIGL_WITH_OPENGL_GLFW_IMGUI=OFF")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'unpack-external
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "HOME" (getcwd)) ;; cmake needs this to export modules
|
|
|
|
|
(mkdir "external")
|
|
|
|
|
(copy-recursively (assoc-ref %build-inputs "libigl-glad") "external/glad")
|
|
|
|
|
(copy-recursively (assoc-ref %build-inputs "libigl-stb") "external/stb")
|
|
|
|
|
(copy-recursively (assoc-ref %build-inputs "libigl-tetgen") "external/tetgen")
|
|
|
|
|
(copy-recursively (assoc-ref %build-inputs "libigl-predicates") "external/predicates")))
|
|
|
|
|
(add-after 'unpack-external 'patch-cmake
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Fix references to external libraries
|
|
|
|
|
(substitute* "cmake/libigl.cmake"
|
|
|
|
|
(("if\\(NOT TARGET Eigen3::Eigen\\)" all)
|
|
|
|
|
(string-append "find_package(Eigen3 CONFIG REQUIRED)\n" all))
|
|
|
|
|
(("if\\(NOT TARGET CGAL::CGAL\\)" all)
|
|
|
|
|
(string-append "find_package(CGAL CONFIG COMPONENTS Core)\n" all))
|
|
|
|
|
(("if\\(NOT TARGET tinyxml2\\)" all)
|
|
|
|
|
(string-append "find_package(tinyxml2 CONFIG REQUIRED)\n"
|
|
|
|
|
"if (NOT TARGET tinyxml2::tinyxml2)"))
|
|
|
|
|
(("if\\(NOT TARGET embree\\)" all)
|
|
|
|
|
(string-append "find_package(embree 3 CONFIG REQUIRED)\n" all))
|
|
|
|
|
(("if\\(NOT TARGET glfw\\)" all)
|
|
|
|
|
(string-append "find_package(glfw3 CONFIG REQUIRED)\n" all))
|
|
|
|
|
(("igl_download_glad\\(\\)" all) "")
|
|
|
|
|
(("igl_download_stb\\(\\)" all) "")
|
|
|
|
|
(("igl_download_tetgen\\(\\)" all) "")
|
|
|
|
|
(("igl_download_triangle\\(\\)" all) "")
|
|
|
|
|
(("igl_download_predicates\\(\\)" all) ""))
|
|
|
|
|
(substitute* "tests/CMakeLists.txt"
|
|
|
|
|
(("igl_download_test_data\\(\\)") "")
|
|
|
|
|
(("set\\(IGL_TEST_DATA.*")
|
|
|
|
|
(format #f "set(IGL_TEST_DATA ~a)\n"
|
|
|
|
|
(assoc-ref %build-inputs "libigl-test-data")))
|
|
|
|
|
(("igl_download_catch2\\(\\)") "find_package(Catch2 CONFIG REQUIRED)")
|
|
|
|
|
(("list\\(APPEND CMAKE_MODULE_PATH \\$\\{LIBIGL_EXTERNAL\\}/catch2/contrib\\)")
|
|
|
|
|
"")
|
|
|
|
|
(("add_subdirectory\\(\\$\\{LIBIGL_EXTERNAL\\}/catch2 catch2\\)") ""))
|
|
|
|
|
;; Install otherwise missing headers
|
|
|
|
|
(substitute* "cmake/libigl.cmake"
|
|
|
|
|
(("install_dir_files\\(copyleft\\)" all)
|
|
|
|
|
(string-join (list all
|
|
|
|
|
"install_dir_files(copyleft/cgal)"
|
|
|
|
|
"install_dir_files(copyleft/opengl)"
|
|
|
|
|
"install_dir_files(copyleft/tetgen)"
|
|
|
|
|
"install_dir_files(embree)"
|
|
|
|
|
"install_dir_files(opengl)"
|
|
|
|
|
"install_dir_files(png)"
|
|
|
|
|
"install_dir_files(predicates)"
|
|
|
|
|
"install_dir_files(xml)")
|
|
|
|
|
"\n"))))))))
|
|
|
|
|
;; XXX: Inputs are currently only used to build tests.
|
|
|
|
|
;; We would need to patch the CMake recipe to build a shared library
|
|
|
|
|
;; with all of these.
|
|
|
|
|
(inputs
|
|
|
|
|
`(("boost" ,boost)
|
2022-09-16 00:08:21 +00:00
|
|
|
|
("catch2" ,catch2)
|
2021-09-20 22:15:50 +00:00
|
|
|
|
("cgal" ,cgal)
|
|
|
|
|
("eigen" ,eigen)
|
|
|
|
|
("embree" ,embree)
|
|
|
|
|
("glfw" ,glfw)
|
|
|
|
|
("gmp" ,gmp)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("mpfr" ,mpfr)
|
2023-04-22 08:58:51 +00:00
|
|
|
|
("tbb" ,tbb)
|
2021-09-20 22:15:50 +00:00
|
|
|
|
("tinyxml2" ,tinyxml2)
|
|
|
|
|
;; When updating this package, update commit fields below according to
|
|
|
|
|
;; the hashes listed in "cmake/LibiglDownloadExternal.cmake".
|
|
|
|
|
("libigl-test-data"
|
|
|
|
|
,(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/libigl/libigl-tests-data")
|
|
|
|
|
(commit "19cedf96d70702d8b3a83eb27934780c542356fe")))
|
|
|
|
|
(file-name (git-file-name "libigl-test-data" version))
|
|
|
|
|
(sha256 (base32 "1wxglrxw74xw4a4jmmjpm8719f3mnlbxbwygjb4ddfixxxyya4i2"))))
|
|
|
|
|
("libigl-glad"
|
|
|
|
|
,(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/libigl/libigl-glad")
|
|
|
|
|
(commit "09b4969c56779f7ddf8e6176ec1873184aec890f")))
|
|
|
|
|
(file-name (git-file-name "libigl-glad" version))
|
|
|
|
|
(sha256 (base32 "0rwrs7513ylp6gxv7crjzflapcg9p7x04nzfvywgl665vl53rawk"))))
|
|
|
|
|
("libigl-stb"
|
|
|
|
|
,(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/libigl/libigl-stb.git")
|
|
|
|
|
(commit "cd0fa3fcd90325c83be4d697b00214e029f94ca3")))
|
|
|
|
|
(file-name (git-file-name "libigl-stb" version))
|
|
|
|
|
(sha256 (base32 "0wwlb370z40y63ic3ny6q7lxibhixg2k1pjdkl4ymzv79zld28kj"))))
|
|
|
|
|
("libigl-predicates"
|
|
|
|
|
,(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/libigl/libigl-predicates.git")
|
|
|
|
|
(commit "488242fa2b1f98a9c5bd1441297fb4a99a6a9ae4")))
|
|
|
|
|
(file-name (git-file-name "libigl-predicates" version))
|
|
|
|
|
(sha256 (base32 "13bd98g8lgcq37i3crj66433z09grnb2xjrcqpwqmyn147rp5wyh"))))
|
|
|
|
|
;; TODO: Package tetgen separately from <http://www.tetgen.org>
|
|
|
|
|
("libigl-tetgen"
|
|
|
|
|
,(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/libigl/tetgen.git")
|
|
|
|
|
(commit "4f3bfba3997f20aa1f96cfaff604313a8c2c85b6")))
|
|
|
|
|
(file-name (git-file-name "libigl-tetgen" version))
|
|
|
|
|
(sha256 (base32 "1k724syssw37py7kwmibk3sfwkkgyjyy7qkijnhn6rjm91g8qxsg"))))))
|
|
|
|
|
(home-page "https://libigl.github.io/")
|
|
|
|
|
(synopsis "Simple C++ geometry processing library")
|
|
|
|
|
(description "This library provides functionality for shape modelling,
|
|
|
|
|
visualization, matrix manipulation.")
|
|
|
|
|
(license (list license:gpl3 license:mpl2.0))))
|
2021-09-20 22:15:52 +00:00
|
|
|
|
|
|
|
|
|
(define-public prusa-slicer
|
|
|
|
|
(package
|
|
|
|
|
(name "prusa-slicer")
|
2023-04-22 10:24:32 +00:00
|
|
|
|
(version "2.5.2")
|
2021-09-20 22:15:52 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(git-reference
|
|
|
|
|
(url "https://github.com/prusa3d/PrusaSlicer")
|
|
|
|
|
(commit (string-append "version_" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2023-04-22 10:24:32 +00:00
|
|
|
|
(sha256 (base32 "02qcrw3fa0d8ldbp73hp14l1qxbp3f4608j4csc07ny00ra42151"))
|
|
|
|
|
(patches (search-patches "prusa-slicer-boost-fixes.patch"
|
|
|
|
|
"prusa-slicer-fix-tests.patch"
|
|
|
|
|
"prusa-slicer-with-cereal-1.3.1.patch"))
|
2021-09-20 22:15:52 +00:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; Prusa slicer bundles a lot of dependencies in src/ directory.
|
|
|
|
|
;; Most of them contain prusa-specific modifications (e.g. avrdude),
|
|
|
|
|
;; but others do not. Here we replace the latter with Guix packages.
|
|
|
|
|
;; Remove bundled libraries that were not modified by Prusa Slicer developers.
|
|
|
|
|
(delete-file-recursively "src/hidapi")
|
|
|
|
|
(delete-file-recursively "src/eigen")
|
|
|
|
|
(delete-file-recursively "src/libigl/igl")
|
|
|
|
|
(substitute* "src/CMakeLists.txt"
|
|
|
|
|
(("add_subdirectory\\(libigl\\)" all)
|
|
|
|
|
(string-append
|
|
|
|
|
all "\ninclude_directories(libigl INTERFACE libigl::core)"))
|
|
|
|
|
(("add_subdirectory\\(hidapi\\)")
|
|
|
|
|
"pkg_check_modules(HIDAPI REQUIRED hidapi-hidraw)")
|
|
|
|
|
(("include_directories\\(hidapi/include\\)")
|
|
|
|
|
"include_directories()"))
|
|
|
|
|
(substitute* "src/slic3r/CMakeLists.txt"
|
|
|
|
|
(("add_library\\(libslic3r_gui.*" all)
|
|
|
|
|
(string-append
|
|
|
|
|
all
|
|
|
|
|
"\ntarget_include_directories(libslic3r_gui PUBLIC ${HIDAPI_INCLUDE_DIRS})\n"))
|
|
|
|
|
(("\\bhidapi\\b") "${HIDAPI_LIBRARIES}"))))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
'("-DSLIC3R_FHS=1" ;; Use The Filesystem Hierarchy Standard.
|
|
|
|
|
"-DSLIC3R_GTK=3" ;; Use GTK+
|
|
|
|
|
;; Use wxWidgets 3.0.x.x to prevent GUI crashes when adding support enforcers.
|
|
|
|
|
"-DSLIC3R_WX_STABLE=1")))
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list pkg-config))
|
2021-09-20 22:15:52 +00:00
|
|
|
|
(inputs
|
2021-12-30 22:06:23 +00:00
|
|
|
|
(list boost
|
2023-04-22 10:24:32 +00:00
|
|
|
|
cereal
|
2021-12-30 22:06:23 +00:00
|
|
|
|
cgal
|
|
|
|
|
curl
|
|
|
|
|
dbus
|
|
|
|
|
eigen
|
|
|
|
|
expat
|
|
|
|
|
glew
|
|
|
|
|
glib
|
|
|
|
|
gmp
|
|
|
|
|
gtk+
|
|
|
|
|
hidapi
|
|
|
|
|
ilmbase
|
|
|
|
|
libigl
|
2022-11-20 17:06:24 +00:00
|
|
|
|
libjpeg-turbo
|
2021-12-30 22:06:23 +00:00
|
|
|
|
libpng
|
|
|
|
|
mesa
|
|
|
|
|
mpfr
|
|
|
|
|
nlopt
|
2022-11-20 17:06:24 +00:00
|
|
|
|
opencascade-occt
|
2021-12-30 22:06:23 +00:00
|
|
|
|
openvdb
|
|
|
|
|
pango
|
|
|
|
|
tbb
|
|
|
|
|
eudev
|
2023-01-01 18:50:19 +00:00
|
|
|
|
;; prusa-slicer 2.5 segfaults on startup with wxwidgets 3.2
|
|
|
|
|
;; See https://github.com/prusa3d/PrusaSlicer/issues/8299
|
|
|
|
|
wxwidgets-3.0
|
2021-12-30 22:06:23 +00:00
|
|
|
|
zlib))
|
2021-09-20 22:15:52 +00:00
|
|
|
|
(home-page "https://www.prusa3d.com/prusaslicer/")
|
|
|
|
|
(synopsis "G-code generator for 3D printers (RepRap, Makerbot, Ultimaker etc.)")
|
|
|
|
|
(description "PrusaSlicer takes 3D models (STL, OBJ, AMF) and converts them into
|
|
|
|
|
G-code instructions for FFF printers or PNG layers for mSLA 3D printers.")
|
2021-12-04 17:08:26 +00:00
|
|
|
|
(license license:agpl3)
|
|
|
|
|
|
|
|
|
|
;; Mark as tunable to take advantage of SIMD code in Eigen and in libigl.
|
|
|
|
|
(properties '((tunable? . #t)))))
|
2022-02-01 13:45:45 +00:00
|
|
|
|
|
|
|
|
|
(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)))
|
2022-04-07 13:25:05 +00:00
|
|
|
|
|
|
|
|
|
(define-public libarcus
|
|
|
|
|
(package
|
|
|
|
|
(name "libarcus")
|
|
|
|
|
(version "4.13.0") ; Should same version as Cura package.
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/Ultimaker/libArcus")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "19fi0y0lk45cyampczgh3kz2swai4zcgzkffp0xf5h55rxxrdpvk"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
(list protobuf
|
|
|
|
|
python
|
|
|
|
|
python-sip-4))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f
|
|
|
|
|
#:configure-flags '("-DBUILD_EXAMPLES=OFF")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2022-11-18 14:00:27 +00:00
|
|
|
|
(add-after 'unpack 'fix-protobuf-compatibility
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "src/Socket_p.h"
|
|
|
|
|
(("stream\\.SetTotalBytesLimit\\(message_size_maximum,.*\\);")
|
|
|
|
|
"stream.SetTotalBytesLimit(message_size_maximum);"))))
|
2022-04-07 13:25:05 +00:00
|
|
|
|
(add-before 'configure 'fix-python-sitearch
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(substitute* "cmake/FindSIP.cmake"
|
|
|
|
|
(("\\$\\{_process_output\\} Python3_SITEARCH")
|
|
|
|
|
(string-append (assoc-ref outputs "out")
|
|
|
|
|
"/lib/python"
|
|
|
|
|
,(version-major+minor
|
|
|
|
|
(package-version python))
|
|
|
|
|
"/site-packages"
|
|
|
|
|
" Python3_SITEARCH"))))))))
|
|
|
|
|
(home-page "https://github.com/Ultimaker/libArcus")
|
|
|
|
|
(synopsis "Communication library for Ultimaker software components")
|
|
|
|
|
(description "This library contains C++ code and Python3 bindings for
|
|
|
|
|
creating a socket in a thread and using this socket to send and receive
|
|
|
|
|
messages based on the Protocol Buffers library. It is designed to
|
|
|
|
|
facilitate the communication between Cura and its backend and similar code.")
|
|
|
|
|
(license license:lgpl3+)))
|
2022-04-07 13:40:47 +00:00
|
|
|
|
|
|
|
|
|
(define-public cura-engine
|
|
|
|
|
(package
|
|
|
|
|
(name "cura-engine")
|
|
|
|
|
(version "4.13.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/Ultimaker/CuraEngine")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0xp2r0m5wwfsh9wdb3biqzvfqfz5jsmyw4bww93aksw0rgli07bp"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list googletest pkg-config))
|
|
|
|
|
(inputs
|
|
|
|
|
(list libarcus protobuf stb-image))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags '("-DBUILD_TESTS=ON")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'fix-paths
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "../source/cmake/FindStb.cmake"
|
|
|
|
|
(("/usr/include")
|
|
|
|
|
(string-append (assoc-ref inputs "stb-image")
|
|
|
|
|
"/include"))
|
|
|
|
|
(("stb/stb_image_resize.h")
|
|
|
|
|
"stb_image.h"))
|
|
|
|
|
(substitute*
|
|
|
|
|
"../source/src/infill/ImageBasedDensityProvider.cpp"
|
|
|
|
|
(("stb/stb_image.h")
|
|
|
|
|
"stb_image.h")))))))
|
|
|
|
|
(home-page "https://github.com/Ultimaker/CuraEngine")
|
|
|
|
|
(synopsis "Cura slicing engine")
|
2022-08-14 00:00:00 +00:00
|
|
|
|
(description
|
|
|
|
|
"CuraEngine is an engine for processing 3D models into 3D printing
|
|
|
|
|
instructions for Ultimaker and other GCode-based 3D printers. It is part of a
|
|
|
|
|
larger project called Cura.")
|
2022-04-07 13:40:47 +00:00
|
|
|
|
(license license:agpl3+)))
|
2022-04-07 13:53:35 +00:00
|
|
|
|
|
|
|
|
|
(define-public cura-binary-data
|
|
|
|
|
(package
|
|
|
|
|
(name "cura-binary-data")
|
|
|
|
|
(version "4.13.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/Ultimaker/cura-binary-data")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "11dra399adky7jxpaqqk1swrg5y3cc1086l54c3injg3ccgrvwik"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; Remove Windows executables and prebuilt firmware files.
|
|
|
|
|
(delete-file-recursively "cura/resources/firmware")
|
|
|
|
|
(delete-file-recursively "windows")))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; No test suite.
|
|
|
|
|
#:configure-flags '("-DENABLE_FIRMWARE_INSTALL=OFF")))
|
|
|
|
|
(home-page "https://github.com/Ultimaker/cura-binary-data")
|
|
|
|
|
(synopsis "Binary data for Cura, like compiled translations")
|
|
|
|
|
(description "This package contains binary data for Cura releases, like
|
|
|
|
|
compiled translations. Prebuilt Firmware files are removed.")
|
|
|
|
|
(license license:agpl3)))
|
2022-04-07 15:15:28 +00:00
|
|
|
|
|
|
|
|
|
(define-public uranium
|
|
|
|
|
(package
|
|
|
|
|
(name "uranium")
|
|
|
|
|
(version "4.13.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/Ultimaker/Uranium")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1nyxm3fdyrsisqkxbqld66bljd852wnc1yc6i1lyvncwvzn8ai32"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list doxygen
|
|
|
|
|
gettext-minimal
|
|
|
|
|
graphviz
|
|
|
|
|
pkg-config
|
|
|
|
|
python-pytest
|
|
|
|
|
python-mypy
|
|
|
|
|
python-certifi
|
|
|
|
|
python-twisted))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
(list cura-binary-data
|
|
|
|
|
libarcus
|
|
|
|
|
python
|
|
|
|
|
python-cryptography
|
|
|
|
|
python-numpy
|
|
|
|
|
python-pyqt
|
|
|
|
|
python-scipy
|
|
|
|
|
python-shapely
|
|
|
|
|
python-trimesh
|
|
|
|
|
python-zeroconf
|
|
|
|
|
qtbase
|
2022-07-18 01:03:18 +00:00
|
|
|
|
qtdeclarative-5
|
2022-04-07 15:15:28 +00:00
|
|
|
|
qtgraphicaleffects
|
2022-07-18 03:47:28 +00:00
|
|
|
|
qtquickcontrols-5
|
2022-07-18 03:49:07 +00:00
|
|
|
|
qtquickcontrols2-5
|
2022-07-17 05:11:46 +00:00
|
|
|
|
qtsvg-5))
|
2022-04-07 15:15:28 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(;; FIXME: tests are disabled, because they cause an infinite loop.
|
|
|
|
|
#:tests? #f
|
|
|
|
|
#:configure-flags
|
|
|
|
|
,#~(list (string-append "-DGETTEXT_MSGINIT_EXECUTABLE="
|
|
|
|
|
#$(this-package-native-input "gettext-minimal")
|
|
|
|
|
"/bin/msginit")
|
|
|
|
|
(string-append "-DCURA_BINARY_DATA_DIRECTORY="
|
|
|
|
|
#$(this-package-input "cura-binary-data")))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'fix-uranium-plugin-path
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(substitute* "UM/Application.py"
|
|
|
|
|
(("app_root =.*$")
|
|
|
|
|
(string-append "app_root = \""
|
|
|
|
|
(assoc-ref outputs "out") "\"\n"))
|
|
|
|
|
(("app_root, \"share\", \"uranium\", \"plugins\"")
|
|
|
|
|
"app_root, \"lib\", \"uranium\", \"plugins\"")))))))
|
|
|
|
|
(home-page "https://github.com/Ultimaker/Uranium")
|
|
|
|
|
(synopsis "Python framework for building desktop applications")
|
|
|
|
|
(description "Uranium is a Python Framework for building 3D printing
|
|
|
|
|
related desktop applications using PyQt5. It belongs to the Cura project
|
|
|
|
|
from Ultimaker.")
|
|
|
|
|
(license license:lgpl3+)))
|
2022-04-07 15:21:13 +00:00
|
|
|
|
|
2022-04-07 20:01:22 +00:00
|
|
|
|
(define-public libnest2d-for-cura
|
|
|
|
|
;; Cura uses a custom fork of the libnest2d library.
|
|
|
|
|
(package
|
|
|
|
|
(name "libnest2d-for-cura")
|
|
|
|
|
(version "4.12.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/Ultimaker/libnest2d")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1wk7cv8sqnxy7srq61scrr18dz2i0l4s4slmjfh4890iy0wf9i7n"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
(list boost clipper nlopt))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'fix-clipper-detection
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(setenv "CLIPPER_PATH" (assoc-ref inputs "clipper")))))))
|
|
|
|
|
(home-page "https://github.com/Ultimaker/libnest2d")
|
|
|
|
|
(synopsis "2D irregular bin packaging and nesting library")
|
|
|
|
|
(description
|
|
|
|
|
"Libnest2D is a library and framework for the 2D bin packaging
|
|
|
|
|
problem. It was inspired from the SVGNest Javascript library.")
|
|
|
|
|
(license license:lgpl3)))
|
|
|
|
|
|
2022-04-07 20:12:58 +00:00
|
|
|
|
(define-public python-pynest2d
|
|
|
|
|
(package
|
|
|
|
|
(name "python-pynest2d")
|
|
|
|
|
(version "4.12.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/Ultimaker/pynest2d")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0jhqfylg6vzlbz9rqs981bg6y8s18iklw1p8hmax72xq2c7561s1"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list pkg-config))
|
|
|
|
|
(inputs
|
|
|
|
|
(list boost
|
|
|
|
|
clipper
|
|
|
|
|
libnest2d-for-cura
|
|
|
|
|
nlopt
|
|
|
|
|
python
|
|
|
|
|
python-sip-4))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'fix-clipper-detection
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(setenv "CLIPPER_PATH" (assoc-ref inputs "clipper"))))
|
|
|
|
|
(add-before 'configure 'fix-python-sitearch
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((path (string-append (assoc-ref outputs "out")
|
|
|
|
|
"/lib/python"
|
|
|
|
|
,(version-major+minor
|
|
|
|
|
(package-version python))
|
|
|
|
|
"/site-packages")))
|
|
|
|
|
(substitute* "cmake/FindSIP.cmake"
|
|
|
|
|
(("\\$\\{_process_output\\} Python3_SITEARCH")
|
|
|
|
|
(string-append path " Python3_SITEARCH"))
|
|
|
|
|
(("\\$\\{_process_output\\} Python3_SITELIB")
|
|
|
|
|
(string-append path " Python3_SITELIB")))))))))
|
|
|
|
|
(home-page "https://github.com/Ultimaker/pynest2d")
|
|
|
|
|
(synopsis "Python bindings for libnest2d")
|
|
|
|
|
(description
|
|
|
|
|
"This package contains CPython bindings for libnest2d-for-cura.")
|
|
|
|
|
(license license:lgpl3+)))
|
|
|
|
|
|
2022-04-07 15:21:13 +00:00
|
|
|
|
(define-public libcharon
|
|
|
|
|
(package
|
|
|
|
|
(name "libcharon")
|
|
|
|
|
(version "4.13.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/Ultimaker/libCharon")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0ibv15y7lfxs09k6rbc3kiaz13gq3v9vqxrk20rqp6bdclk3izff"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list python-pytest))
|
|
|
|
|
(inputs
|
|
|
|
|
(list python))
|
|
|
|
|
(home-page "https://github.com/Ultimaker/libCharon")
|
|
|
|
|
(synopsis "File metadata and streaming library")
|
|
|
|
|
(description "LibCharon is a Python file metadata and streaming library. It
|
|
|
|
|
belongs to the Cura project from Ultimaker.")
|
|
|
|
|
(license license:lgpl3+)))
|
2022-04-07 15:28:35 +00:00
|
|
|
|
|
|
|
|
|
(define-public libsavitar
|
|
|
|
|
(package
|
|
|
|
|
(name "libsavitar")
|
|
|
|
|
(version "4.13.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/Ultimaker/libSavitar")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1cq85x0xizsjwf9nl7v7x4i9vl335mgv2lda3q2c9fcwrndsc3wk"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
(list python python-sip-4))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; No test suite.
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'fix-python-sitearch
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((path (string-append (assoc-ref outputs "out")
|
|
|
|
|
"/lib/python"
|
|
|
|
|
,(version-major+minor
|
|
|
|
|
(package-version python))
|
|
|
|
|
"/site-packages")))
|
|
|
|
|
(substitute* "cmake/FindSIP.cmake"
|
|
|
|
|
(("\\$\\{_process_output\\} Python3_SITEARCH")
|
|
|
|
|
(string-append path " Python3_SITEARCH"))
|
|
|
|
|
(("\\$\\{_process_output\\} Python3_SITELIB")
|
|
|
|
|
(string-append path " Python3_SITELIB")))))))))
|
|
|
|
|
(home-page "https://github.com/Ultimaker/libSavitar")
|
|
|
|
|
(synopsis "C++ implementation of 3mf loading with SIP python bindings")
|
|
|
|
|
(description "LibSavitar is a C++ implementation of 3mf loading with SIP
|
|
|
|
|
python bindings. It belongs to the Cura project from Ultimaker.")
|
|
|
|
|
(license license:lgpl3+)))
|
2022-04-07 15:42:45 +00:00
|
|
|
|
|
|
|
|
|
(define-public cura
|
|
|
|
|
(package
|
|
|
|
|
(name "cura")
|
|
|
|
|
(version "4.13.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/Ultimaker/Cura")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0yg17pcrj5gm02aqcjfk40ynvpb9r9aaq9rj108dkpki1is15ks7"))))
|
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list python-certifi
|
|
|
|
|
python-mypy
|
|
|
|
|
python-pytest
|
|
|
|
|
python-requests))
|
|
|
|
|
(inputs
|
|
|
|
|
(list cura-engine
|
|
|
|
|
libcharon
|
|
|
|
|
libsavitar
|
|
|
|
|
python
|
|
|
|
|
python-keyring
|
|
|
|
|
python-pynest2d
|
|
|
|
|
python-pyserial
|
|
|
|
|
python-sentry-sdk
|
|
|
|
|
python-sip
|
|
|
|
|
uranium))
|
|
|
|
|
(arguments
|
|
|
|
|
`(;; TODO: Fix tests.
|
|
|
|
|
#:tests? #f
|
|
|
|
|
#:configure-flags '("-DURANIUM_SCRIPTS_DIR=")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'link-to-CuraEngine
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(symlink (string-append (assoc-ref inputs "cura-engine")
|
|
|
|
|
"/bin/CuraEngine")
|
|
|
|
|
(string-append (assoc-ref outputs "out")
|
|
|
|
|
"/bin/CuraEngine"))))
|
|
|
|
|
(add-after 'link-to-CuraEngine 'wrap-pythonpath
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(wrap-program (string-append out "/bin/cura")
|
|
|
|
|
(list "GUIX_PYTHONPATH"
|
|
|
|
|
'prefix (list (string-append out
|
|
|
|
|
"/lib/python"
|
|
|
|
|
,(version-major+minor
|
|
|
|
|
(package-version python))
|
|
|
|
|
"/site-packages")
|
|
|
|
|
(getenv "GUIX_PYTHONPATH"))))))))))
|
|
|
|
|
(home-page "https://github.com/Ultimaker/Cura")
|
|
|
|
|
(synopsis "Slicer for 3D printers")
|
|
|
|
|
(description "Cura is a slicing software from Ultimaker. A @emph{slicer}
|
|
|
|
|
generates G-Code for 3D printers.")
|
|
|
|
|
(license license:lgpl3+)))
|
2022-04-26 11:27:51 +00:00
|
|
|
|
|
|
|
|
|
(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* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(setenv "CC" ,(cc-for-target))
|
|
|
|
|
(invoke "./configure"
|
|
|
|
|
(string-append "--prefix="
|
|
|
|
|
(assoc-ref outputs "out"))))))))
|
|
|
|
|
(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+))))
|
2022-06-23 20:02:40 +00:00
|
|
|
|
|
|
|
|
|
(define-public candle
|
|
|
|
|
;; The latest tagged version 1.2b fails on the build stage due to
|
|
|
|
|
;; non-supported g++ flags so we need to use the latest commit from the
|
|
|
|
|
;; 'master' branch in the repository.
|
|
|
|
|
(let ((commit "3f763bcde1195e23ba119a5b3c70d7c889881019")
|
|
|
|
|
(revision "1"))
|
|
|
|
|
(package
|
|
|
|
|
(name "candle")
|
|
|
|
|
(version (git-version "1.2b" revision commit))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/Denvi/Candle")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"08rqhl6a5a8s67a8yl16944zgcsnnb08xfv4klzyqwlvaqgfp783"))))
|
|
|
|
|
(build-system gnu-build-system)
|
2022-07-19 20:52:05 +00:00
|
|
|
|
(native-inputs (list qttools-5))
|
2022-06-23 20:02:40 +00:00
|
|
|
|
(inputs (list qtbase-5 qtserialport))
|
|
|
|
|
(arguments
|
|
|
|
|
(list #:tests? #f ; no tests.
|
|
|
|
|
#:phases #~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'fix-sources
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* (find-files "." ".*\\.h")
|
|
|
|
|
(("const char\\* what\\(\\) const override")
|
|
|
|
|
"const char* what() const noexcept override"))))
|
|
|
|
|
(add-after 'unpack 'fix-application-settings-path
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "src/frmmain.cpp"
|
|
|
|
|
(("\
|
|
|
|
|
qApp->applicationDirPath\\(\\) \\+ \"\\/settings\\.ini\"")
|
|
|
|
|
"QDir::homePath() + \"/.config/candle.ini\""))))
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "src")
|
|
|
|
|
(invoke "qmake"
|
|
|
|
|
(string-append "QMAKE_CC="
|
|
|
|
|
#$(cc-for-target)))))
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda _
|
|
|
|
|
(install-file "Candle"
|
|
|
|
|
(string-append #$output "/bin")))))))
|
|
|
|
|
(home-page "https://github.com/Denvi/Candle")
|
|
|
|
|
(synopsis "GRBL controller with G-Code visualizer")
|
|
|
|
|
(description
|
|
|
|
|
"Candle is a GRBL controller application with a visualizer for G-Code,
|
|
|
|
|
the @acronym{CNC, computer numerical control} programming language.
|
|
|
|
|
|
|
|
|
|
Supported functions include:
|
|
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
|
@item Controlling GRBL-based cnc-machine via console commands, buttons on
|
|
|
|
|
form, numpad.
|
|
|
|
|
@item Monitoring CNC-machine state.
|
|
|
|
|
@item Loading, editing, saving and sending of G-code files to CNC-machine.
|
|
|
|
|
@item Visualizing G-code files.
|
|
|
|
|
@end itemize")
|
|
|
|
|
(license license:gpl3+))))
|
2022-08-11 06:37:49 +00:00
|
|
|
|
|
|
|
|
|
(define-public rizin
|
|
|
|
|
(package
|
|
|
|
|
(name "rizin")
|
2024-03-12 10:37:16 +00:00
|
|
|
|
(version "0.7.2")
|
2022-08-11 06:37:49 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/rizinorg/rizin/releases/download/v"
|
|
|
|
|
version "/rizin-src-v" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2024-03-12 10:37:16 +00:00
|
|
|
|
"0ajqng66b01phs0hjygg9phyc8p3fs0a1isbc0zmxdz2bas3zzzw"))))
|
2022-08-11 06:37:49 +00:00
|
|
|
|
(build-system meson-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
#:configure-flags
|
|
|
|
|
#~(list "-Dpackager=guix"
|
|
|
|
|
(string-append "-Dpackager_version=" #$version)
|
|
|
|
|
"-Duse_sys_capstone=enabled"
|
|
|
|
|
"-Duse_sys_magic=enabled"
|
|
|
|
|
"-Duse_sys_libzip=enabled"
|
|
|
|
|
"-Duse_sys_zlib=enabled"
|
|
|
|
|
"-Duse_sys_lz4=enabled"
|
2024-03-12 10:37:16 +00:00
|
|
|
|
"-Duse_sys_libzstd=enabled"
|
2022-08-11 06:37:49 +00:00
|
|
|
|
"-Duse_sys_xxhash=enabled"
|
|
|
|
|
"-Duse_sys_openssl=enabled"
|
|
|
|
|
"-Duse_sys_tree_sitter=enabled"
|
2023-04-01 12:19:28 +00:00
|
|
|
|
"-Duse_sys_lzma=enabled"
|
|
|
|
|
"-Duse_sys_libmspack=enabled"
|
2024-03-12 10:37:16 +00:00
|
|
|
|
"-Duse_sys_pcre2=enabled"
|
2023-04-01 12:19:28 +00:00
|
|
|
|
"-Duse_zlib=true"
|
|
|
|
|
"-Duse_lzma=true"
|
|
|
|
|
"-Dinstall_sigdb=false"
|
|
|
|
|
"-Duse_swift_demangler=true"
|
2022-08-11 06:37:49 +00:00
|
|
|
|
"-Duse_gpl=true")
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'skip-integration-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Skip integration tests, which require prebuilt binaries at:
|
|
|
|
|
;; <https://github.com/rizinorg/rizin-testbins>.
|
|
|
|
|
(substitute* "test/meson.build"
|
2023-04-01 12:19:28 +00:00
|
|
|
|
(("subdir\\('integration'\\)") ""))
|
2023-05-06 10:49:13 +00:00
|
|
|
|
;;; Skip failing tests.
|
2023-04-01 12:19:28 +00:00
|
|
|
|
(substitute* "test/unit/meson.build"
|
2024-03-12 10:37:16 +00:00
|
|
|
|
(("'bin_mach0',\n") "")))))))
|
2022-08-11 06:37:49 +00:00
|
|
|
|
(native-inputs (list pkg-config))
|
|
|
|
|
(inputs
|
2023-09-24 00:00:00 +00:00
|
|
|
|
(list capstone
|
|
|
|
|
file
|
|
|
|
|
libuv
|
|
|
|
|
libzip
|
|
|
|
|
lz4
|
|
|
|
|
openssl
|
2024-03-12 10:37:16 +00:00
|
|
|
|
pcre2
|
2023-09-24 00:00:00 +00:00
|
|
|
|
tree-sitter
|
|
|
|
|
xxhash
|
|
|
|
|
zlib
|
2024-03-12 10:37:16 +00:00
|
|
|
|
(list zstd "lib")
|
2023-09-24 00:00:00 +00:00
|
|
|
|
libmspack))
|
2022-08-11 06:37:49 +00:00
|
|
|
|
(home-page "https://rizin.re")
|
2023-09-24 00:00:00 +00:00
|
|
|
|
(synopsis "Disassemble, debug, analyze, and manipulate binary files")
|
2022-08-11 06:37:49 +00:00
|
|
|
|
(description
|
|
|
|
|
"Rizin is a reverse engineering framework and a set of small command-line
|
|
|
|
|
utilities, providing a complete binary analysis experience with features like
|
|
|
|
|
disassembler, hexadecimal editor, emulation, binary inspection, debugger, and
|
|
|
|
|
more.")
|
|
|
|
|
;; Most files are under LGPL-3.0-only, other are under: Apache-2.0,
|
|
|
|
|
;; BSD-2-Clause, BSD-3-Clause, CC0-1.0, CC-BY-SA-4.0, GPL-1.0-or-later,
|
|
|
|
|
;; GPL-2.0-only, GPL-2.0-or-later, GPL-3.0-or-later, LGPL-2.0-or-later,
|
|
|
|
|
;; LGPL-2.1-only, LGPL-2.1-or-later, LGPL-3.0-only, MIT, NCSA.
|
|
|
|
|
(license license:gpl3+)))
|
2023-08-01 16:40:59 +00:00
|
|
|
|
|
|
|
|
|
(define-public python-asyncua
|
|
|
|
|
(package
|
|
|
|
|
(name "python-asyncua")
|
|
|
|
|
(version "1.0.3")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/FreeOpcUa/opcua-asyncio.git")
|
|
|
|
|
(commit (string-append "v" version))
|
|
|
|
|
(recursive? #t)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0bazk3k2dyzlrh7yxs4pc76m5ysm7riia3ncg7as3xr4y9dy29bx"))))
|
|
|
|
|
(build-system pyproject-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list python-pytest-asyncio python-pytest-runner python-asynctest
|
|
|
|
|
python-pytest-mock))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
(list python-aiofiles python-aiosqlite python-cryptography
|
|
|
|
|
python-importlib-metadata python-dateutil python-pytz
|
|
|
|
|
python-sortedcontainers))
|
|
|
|
|
(synopsis "OPC UA / IEC 62541 client and server library")
|
|
|
|
|
(description "This package provides an OPC UA / IEC 62541 client and
|
|
|
|
|
server for Python and pypy3.")
|
|
|
|
|
(home-page "https://freeopcua.github.io/")
|
|
|
|
|
(license license:lgpl3+)))
|