diff options
| author | Cayetano Santos <csantosb@inventati.org> | 2025-08-01 19:18:28 +0200 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2025-08-13 17:59:15 +0200 |
| commit | a6be6f18f89741d1d9c646d41950d4d6c3d3ab87 (patch) | |
| tree | fb28b9cafc522e2327dd8dd215c69abbb8a8d30c | |
| parent | eed7a498132857a739e1aa2a0762170f148b797c (diff) | |
gnu: Add route-rnd.
* gnu/packages/electronics.scm (route-rnd): New variable.
Change-Id: I4ef3bcbf58f31876584b1431fdd3e10bc9e7b799
Signed-off-by: Andreas Enge <andreas@enge.fr>
| -rw-r--r-- | gnu/packages/electronics.scm | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm index 22b6e8c69e7..df9f8be91a5 100644 --- a/gnu/packages/electronics.scm +++ b/gnu/packages/electronics.scm @@ -953,6 +953,41 @@ 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 route-rnd + (package + (name "route-rnd") + (version "0.9.3") + (source + (origin + (method url-fetch) + (uri (string-append "http://repo.hu/projects/route-rnd/" + "releases/route-rnd-" version ".tar.gz")) + (sha256 + (base32 + "0fy3b48s72lpicyap3y6jr9fyvb2ri42jb0gqxk6s927a278bfhc")))) + (build-system gnu-build-system) + (arguments + (list + #:tests? #f + #:make-flags #~(list (string-append "PREFIX=" #$output)) + #: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/route-rnd/") + (synopsis "Automatic routing for electronics boards") + (description + "@code{Route-rnd} is a generic external autorouter for @acronym{PCB, +Printed Circuit Board} using tEDAx file format, part of the RiNgDove EDA +suite.") + (license license:gpl2+))) + (define-public sch-rnd (package (name "sch-rnd") |
