~ruther/guix-local

8de57226faa0f5ca49843fc9dbdaebd1f10ff703 — Vinicius Monego 2 years ago 7774c61
gnu: Add horizon-eda.

* gnu/packages/engineering.scm (horizon-eda): New variable.

Change-Id: Ibe0decef39b6fb768b356b3443c51f0e32981dce
1 files changed, 53 insertions(+), 0 deletions(-)

M gnu/packages/engineering.scm
M gnu/packages/engineering.scm => gnu/packages/engineering.scm +53 -0
@@ 81,6 81,7 @@
  #:use-module (gnu packages)
  #:use-module (gnu packages algebra)
  #:use-module (gnu packages autotools)
  #:use-module (gnu packages backup)
  #:use-module (gnu packages base)
  #:use-module (gnu packages bash)
  #:use-module (gnu packages bdw-gc)


@@ 142,6 143,7 @@
  #:use-module (gnu packages openkinect)
  #:use-module (gnu packages parallel)
  #:use-module (gnu packages pcre)
  #:use-module (gnu packages pdf)
  #:use-module (gnu packages perl)
  #:use-module (gnu packages pkg-config)
  #:use-module (gnu packages pretty-print)


@@ 1524,6 1526,57 @@ 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)))))

(define-public horizon-eda
  (package
    (name "horizon-eda")
    (version "2.7.0")
    ;; TODO: try to unbundle some of the 3rd parties.
    ;; We have packages for nlohmann-json, range-v3, catch2 and clipper.
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/horizon-eda/horizon")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1sq1d2x9wq168cz91l2rd93gnlq5scknb45bi1njqqcw3jjjhsk3"))))
    (build-system meson-build-system)
    (arguments
     (list
      #:tests? #f ; no tests
      #:glib-or-gtk? #t))
    (native-inputs (list cmake-minimal ;; OpenCASCADE is only found by cmake
                         `(,glib "bin")
                         gobject-introspection
                         pkg-config))
    (inputs (list boost
                  cairomm
                  cppzmq
                  curl
                  glib
                  glibmm
                  glm
                  gsettings-desktop-schemas
                  gtk+
                  gtkmm-3
                  libarchive
                  libgit2-glib
                  librsvg
                  libspnav
                  libzip
                  opencascade-occt
                  podofo
                  sqlite
                  `(,util-linux "lib")
                  zeromq))
    (home-page "https://horizon-eda.org/")
    (synopsis "Electronic Design Automation package")
    (description "Horizon EDA is an Electronic Design Automation package
supporting an integrated end-to-end workflow for printed circuit board design
including parts management and schematic entry.")
    (license license:gpl3+)))

(define-public linsmith
  (package
    (name "linsmith")