mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-14 23:20:29 -05:00
gnu: Add librnd.
* gnu/packages/engineering.scm (librnd): New variable.
This commit is contained in:
parent
42bb34e21a
commit
eacd68aa44
1 changed files with 39 additions and 0 deletions
|
@ -420,6 +420,45 @@ (define-public lepton-eda
|
||||||
and digital simulation, and printed circuit board (PCB) layout, and many other
|
and digital simulation, and printed circuit board (PCB) layout, and many other
|
||||||
features.")))
|
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
|
(define-public pcb
|
||||||
(package
|
(package
|
||||||
(name "pcb")
|
(name "pcb")
|
||||||
|
|
Loading…
Reference in a new issue