unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add dionysus.
@ 2014-09-28 21:27 Mathieu Lirzin
  2014-09-28 22:19 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Mathieu Lirzin @ 2014-09-28 21:27 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: 0001-gnu-Add-dionysus.patch --]
[-- Type: text/x-diff, Size: 1945 bytes --]

From 2bb337586374cc9ed0b60455f53e28eb111dcea5 Mon Sep 17 00:00:00 2001
From: Mathieu Lirzin <mathieu.lirzin@openmailbox.org>
Date: Sun, 28 Sep 2014 01:29:56 +0200
Subject: [PATCH] gnu: Add dionysus.

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

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index ebc34cc..62d2384 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -4,6 +4,7 @@
 ;;; Copyright © 2014 John Darrington <jmd@gnu.org>
 ;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
 ;;; Copyright © 2014 Federico Beffa <beffa@fbengineering.ch>
+;;; Copyright © 2014 Mathieu Lirzin <mathieu.lirzin@openmailbox.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -84,6 +85,27 @@ effectively as a scientific calculator.")
    (license license:gpl3+)
    (home-page "http://www.gnu.org/software/units/")))
 
+(define-public dionysus
+  (package
+   (name "dionysus")
+   (version "1.3.0")
+   (source (origin
+            (method url-fetch)
+            (uri (string-append "mirror://gnu/dionysus/dionysus-" version
+                                ".tar.gz"))
+            (sha256 (base32
+                     "1aqnvw6z33bzqgd1ga571pnx6vq2zrkckm1cz91grv45h4jr9vgs"))))
+   (build-system gnu-build-system)
+   (synopsis "Local search for universal constants and scientific values")
+   (description
+    "GNU Dionysus is a convenient system for quickly retrieving the values of
+mathematical constants used in science and engineering.  Values can be
+searched using a simple command-line tool, choosing from three databases:
+universal constants, atomic numbers, and constants related to
+semiconductors.")
+   (license license:gpl3+)
+   (home-page "http://www.gnu.org/software/dionysus/")))
+
 (define-public gsl
   (package
     (name "gsl")
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] gnu: Add dionysus.
  2014-09-28 21:27 [PATCH] gnu: Add dionysus Mathieu Lirzin
@ 2014-09-28 22:19 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2014-09-28 22:19 UTC (permalink / raw)
  To: Mathieu Lirzin; +Cc: guix-devel

Mathieu Lirzin <mathieu.lirzin@openmailbox.org> skribis:

> From 2bb337586374cc9ed0b60455f53e28eb111dcea5 Mon Sep 17 00:00:00 2001
> From: Mathieu Lirzin <mathieu.lirzin@openmailbox.org>
> Date: Sun, 28 Sep 2014 01:29:56 +0200
> Subject: [PATCH] gnu: Add dionysus.
>
> * gnu/packages/maths.scm (dionysus): New variable.

Applied, with a minor tweak: the ‘dionysus’ program relies on tclsh, and
would thus fail to run when Tcl is not installed.  Thus I added Tcl as
an input.

Thanks, and welcome aboard!  :-)

Ludo’.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-09-28 22:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-28 21:27 [PATCH] gnu: Add dionysus Mathieu Lirzin
2014-09-28 22:19 ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).