guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Trying to package GNU Gama...


From: Mathieu Lirzin
Subject: Trying to package GNU Gama...
Date: Sat, 25 Jul 2015 22:58:10 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Hello Guix,

I'm trying to package GNU Gama, but I'm blocking on 2 tests failing due
to file IO problems.  Maybe can someone with more experience find how to
fix that? If not I will send un updated patch with the tests disabled.

--
Mathieu Lirzin

>From 05770a3ff9dc8f763b1e75528e506ace7b0b271c Mon Sep 17 00:00:00 2001
From: Mathieu Lirzin <address@hidden>
Date: Sat, 25 Jul 2015 22:47:59 +0200
Subject: [PATCH] gnu: Add gama.

* gnu/packages/maths.scm (gama): New variable.
---
 gnu/packages/maths.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 2fc3ce1..6915782 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -42,6 +42,7 @@
   #:use-module (gnu packages cmake)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages curl)
+  #:use-module (gnu packages databases)
   #:use-module (gnu packages elf)
   #:use-module (gnu packages flex)
   #:use-module (gnu packages fltk)
@@ -146,6 +147,29 @@ semiconductors.")
     (license license:gpl3+)
     (home-page "http://www.gnu.org/software/dionysus/";)))
 
+(define-public gama
+  (package
+    (name "gama")
+    (version "1.16")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://gnu/gama/gama-" version ".tar.gz"))
+              (sha256
+               (base32
+                "17pfiz0lj1r4z6nwy6aq333vq5336raf9wwssccawawg5c3kyrqf"))))
+    (build-system gnu-build-system)
+    (inputs `(("expat"  ,expat)
+              ("sqlite" ,sqlite)))
+    (native-inputs `(("xmllint" ,libxml2)))
+    (synopsis "Adjustment of geodetic networks")
+    (description "GNU Gama is a program for the adjustment of geodetic
+networks.  It is useful in measurements where Global Positioning System (GPS)
+is not available, such as underground.  It features the ability to adjust in
+local Cartesian coordinates as well as partial support for adjustments in
+global coordinate systems.")
+    (home-page "http://www.gnu.org/software/gama/";)
+    (license license:gpl3+)))
+
 (define-public gsl
   (package
     (name "gsl")
-- 
2.4.3


reply via email to

[Prev in Thread] Current Thread [Next in Thread]