[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/10: gnu: Add librnd.
From: |
guix-commits |
Subject: |
08/10: gnu: Add librnd. |
Date: |
Tue, 14 Mar 2023 09:20:03 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit eacd68aa444e72beca91ee71da658ba3b5f20d24
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sun Mar 12 23:28:35 2023 +0100
gnu: Add librnd.
* gnu/packages/engineering.scm (librnd): New variable.
---
gnu/packages/engineering.scm | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index ebcc0f453c..c463e1c86f 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -420,6 +420,45 @@ materials (BOM) generation, netlisting into over 20
netlist formats, analog
and digital simulation, and printed circuit board (PCB) layout, and many other
features.")))
+(define-public librnd
+ (package
+ (name "librnd")
+ (version "4.0.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
"http://www.repo.hu/projects/librnd/releases/"
+ "librnd-" version ".tar.bz2"))
+ (sha256
+ (base32
+ "1fqh7gf9imhghlfajrsgzjx61mynfmdasciwpcajk7pn85d4ymql"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ #:tests? #false ;no check target
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'cc-is-gcc
+ (lambda _ (setenv "CC" "gcc")))
+ (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+)))
+
(define-public pcb
(package
(name "pcb")
- branch master updated (a6009e0bf8 -> 633c935e0a), guix-commits, 2023/03/14
- 03/10: gnu: lepton-eda: Adjust format., guix-commits, 2023/03/14
- 02/10: gnu: lepton-eda: Use gexp for arguments., guix-commits, 2023/03/14
- 01/10: gnu: lepton-eda: Drop input labels., guix-commits, 2023/03/14
- 04/10: gnu: pcb: Use gexp., guix-commits, 2023/03/14
- 05/10: gnu: pcb: Update to 4.3.0., guix-commits, 2023/03/14
- 07/10: gnu: pcb: Remove eudev., guix-commits, 2023/03/14
- 09/10: gnu: pcb-rnd: Update to 3.1.0., guix-commits, 2023/03/14
- 08/10: gnu: Add librnd.,
guix-commits <=
- 06/10: gnu: pcb: Drop input labels., guix-commits, 2023/03/14
- 10/10: gnu: r-tidyverse: Update to 2.0.0., guix-commits, 2023/03/14