From 07d859cc064c2bcc2c42884478d40355e815477f Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Sun, 9 Aug 2020 12:53:46 -0300 Subject: gnu: Add libredwg. * gnu/packages/engineering.scm (libredwg): New variable. Signed-off-by: Mathieu Othacehe --- gnu/packages/engineering.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index a227fdbdad..0f4162f12b 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -19,6 +19,7 @@ ;;; Copyright © 2020 Marius Bakke ;;; Copyright © 2020 Ekaitz Zarraga ;;; Copyright © 2020 B. Wilson +;;; Copyright © 2020 Vinicius Monego ;;; ;;; This file is part of GNU Guix. ;;; @@ -95,6 +96,8 @@ #:use-module (gnu packages multiprecision) #:use-module (gnu packages mpi) #:use-module (gnu packages ncurses) + #:use-module (gnu packages parallel) + #:use-module (gnu packages pcre) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) @@ -1075,6 +1078,35 @@ provides a machine-independent interface to select the best such procedures to use on a given system.") (license license:gpl3+))) +(define-public libredwg + (package + (name "libredwg") + (version "0.11") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://gnu/libredwg/libredwg-" + version ".tar.xz")) + (sha256 + (base32 "1vd7ii32k5447z7k4w9s005hv1ffpj6dyf1w40x6c53qksrblny2")))) + (build-system gnu-build-system) + (arguments + `(#:configure-flags '("--disable-bindings"))) + (native-inputs + `(("libxml2" ,libxml2) + ("parallel" ,parallel) + ("pkg-config" ,pkg-config) + ("python" ,python) + ("python-libxml2" ,python-libxml2))) + (inputs + `(("pcre2" ,pcre2))) + (home-page "https://www.gnu.org/software/libredwg/") + (synopsis "C library to handle DWG (CAD-related) files") + (description + "GNU LibreDWG is a C library to handle DWG files. It aims to be a free +replacement for the OpenDWG libraries.") + (license license:gpl3+))) + (define-public minicom (package (name "minicom") -- cgit v1.2.3 s/ganeti.scm