guix-devel
[Top][All Lists]
Advanced

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

[PATCH] Add trio (dependency of ghostscript)


From: Ricardo Wurmus
Subject: [PATCH] Add trio (dependency of ghostscript)
Date: Sat, 23 Jul 2016 01:36:41 +0200
User-agent: mu4e 0.9.16; emacs 24.5.1

Hi Guix,

I noticed that GNU Ghostscript (and the unpackaged AGPL Ghostscript)
bundles a few dependencies.  One of them is trio.

Here’s a working build of this library that has been sitting in my “wip”
branch for more than a year.

~~ Ricardo

>From 15ee46e1db30696c0f1dade014d619a8383dfa96 Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <address@hidden>
Date: Thu, 3 Sep 2015 13:28:25 +0200
Subject: [PATCH] gnu: Add trio.

* gnu/packages/code.scm (trio): New variable.
---
 gnu/packages/code.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm
index c3efd15..cce6945 100644
--- a/gnu/packages/code.scm
+++ b/gnu/packages/code.scm
@@ -229,6 +229,29 @@ files, but compared to grep is much faster and respects 
files like .gitignore,
 .hgignore, etc.")
     (license license:asl2.0)))
 
+(define-public trio
+  (package
+    (name "trio")
+    (version "1.16")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://sourceforge/ctrio/trio/trio-"
+                                  version ".tar.gz"))
+              (sha256
+               (base32
+                "02pwd5m5vq7hbrffgm2na1dfc249z50yyr5jv73vdw15bd7ygl44"))))
+    (build-system gnu-build-system)
+    (home-page "http://daniel.haxx.se/projects/trio/";)
+    (synopsis "Portable and extendable printf and string functions")
+    (description
+     "Trio is a set of @code{printf} and string functions designed be used by
+applications with a focus on portability or with the need for additional
+features that are not supported by the standard @code{stdio} implementation.")
+    ;; This license is very similar to the ISC license, but the wording is
+    ;; slightly different.
+    (license (license:non-copyleft
+              "http://sourceforge.net/p/ctrio/git/ci/master/tree/README";))))
+
 (define-public withershins
   (package
     (name "withershins")
-- 
2.8.4


reply via email to

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