Subject: [PATCH] gnu: Add virtuoso-ose.

From: Roel Janssen <[email-masked]>
Date: Fri, 29 Sep 2017 13:00:53 +0200

Dear Guix,

I'd like to add Virtuoso.  The license headers state GPLv2 *only*.

Thanks for your time.

Kind regards,
Roel Janssen

>From 424ef2345220da129e68c4ff1f37152e0a450ac6 Mon Sep 17 00:00:00 2001
From: Roel Janssen <[email-masked]>
Date: Fri, 29 Sep 2017 12:53:14 +0200
Subject: [PATCH] gnu: Add virtuoso-ose.

* gnu/packages/databases.scm (virtuoso-ose): New variable.
---
 gnu/packages/databases.scm | 27 ++++++++++++++++++++++++++-
 1 file changed, 26 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 6ce5898..12c2c62 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -9,7 +9,7 @@
 ;;; Copyright © 2015 Leo Famulari <[email-masked]>
 ;;; Copyright © 2016, 2017 Efraim Flashner <[email-masked]>
 ;;; Copyright © 2016, 2017 ng0 <[email-masked]>
-;;; Copyright © 2016 Roel Janssen <[email-masked]>
+;;; Copyright © 2016, 2017 Roel Janssen <[email-masked]>
 ;;; Copyright © 2016 David Craven <[email-masked]>
 ;;; Copyright © 2016 Jan Nieuwenhuizen <[email-masked]>
 ;;; Copyright © 2016 Andy Patterson <[email-masked]>
@@ -1676,3 +1676,28 @@ implementation for Python.")
 
 (define-public python2-orator
   (package-with-python2 (strip-python2-variant python-orator)))
+
+(define-public virtuoso-ose
+  (package
+    (name "virtuoso-ose")
+    (version "7.2.4.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://github.com/openlink/virtuoso-opensource/releases/"
+             "download/v" version "/virtuoso-opensource-" version ".tar.gz"))
+       (sha256
+        (base32 "12dqam1gc1v93l0bj0vlpvjqppki6y1hqrlznywxnw0rrz9pb002"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:tests? #f)) ; Tests require a network connection.
+    (inputs
+     `(("openssl" ,openssl)
+       ("net-tools" ,net-tools)))
+    (home-page "http://vos.openlinksw.com/owiki/wiki/VOS/")
+    (synopsis "Multi-model database system")
+    (description "Virtuoso is a scalable cross-platform server that combines
+relational, graph, and document data management with web application server
+and web services platform functionality.")
+    (license license:gpl2)))
-- 
2.7.4