diff options
| author | Cayetano Santos <csantosb@inventati.org> | 2025-07-26 22:24:12 +0200 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2025-08-13 17:59:07 +0200 |
| commit | d7b508c2895bd5d4fb075f89c60efcdaec1cecca (patch) | |
| tree | 76b1d8e0ef92486739ff43ea0b92b6131f5f5031 /gnu | |
| parent | ccc5acdd0fce2db6bb1d7ddf242477119f44b8e6 (diff) | |
gnu: Add sch-rnd.
* gnu/packages/electronics.scm (sch-rnd): New variable.
Change-Id: I6be48f0f0b02449a8fe022da2e373488308baa6f
Signed-off-by: Andreas Enge <andreas@enge.fr>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/electronics.scm | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm index 05bee696b2a..9bdb7cf5922 100644 --- a/gnu/packages/electronics.scm +++ b/gnu/packages/electronics.scm @@ -919,6 +919,40 @@ netlists from the drawn schematic, allowing the simulation of the circuit.") (home-page "https://xschem.sourceforge.io/stefan/index.html") (license license:gpl2+))) +(define-public sch-rnd + (package + (name "sch-rnd") + (version "1.0.9") + (source + (origin + (method url-fetch) + (uri (string-append "http://repo.hu/projects/sch-rnd/" + "releases/sch-rnd-" version ".tar.gz")) + (sha256 + (base32 + "07a1ik0rpsa5cscg9l7i5rnipx76543s7cdnkg802747rral7yj5")))) + (build-system glib-or-gtk-build-system) + (arguments + (list + #:test-target "test" + #:phases + #~(modify-phases %standard-phases + (replace 'configure + ;; The configure script doesn't tolerate most of our configure + ;; flags. + (lambda _ + (setenv "CC" #$(cc-for-target)) + (setenv "LIBRND_PREFIX" #$(this-package-input "librnd")) + (invoke "./configure" (string-append "--prefix=" #$output))))))) + (inputs (list librnd)) + (home-page "http://repo.hu/projects/sch-rnd/") + (synopsis "Scriptable editor of schematics for electronics boards") + (description + "@code{Sch-rnd} is a standalone and workflow agnostic schematics capture +tool for @acronym{PCB, Printed Circuit Board}, part of the RiNgDove EDA +suite.") + (license license:gpl2+))) + (define-public sigrok-cli (package (name "sigrok-cli") |
