>From 2d7b2109cd42f12192e9e2bf601d539dd4896986 Mon Sep 17 00:00:00 2001 From: swedebugia Date: Thu, 3 Jan 2019 17:04:09 +0100 Subject: [PATCH 1/2] gnu: artanis: Update to 0.3.1. * gnu/packages/guile.scm (artanis): Update it. Added TODO about unbundling guile-csv. --- gnu/packages/guile.scm | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm index 07b568ee7..29e488175 100644 --- a/gnu/packages/guile.scm +++ b/gnu/packages/guile.scm @@ -528,7 +528,7 @@ program can be installed in one go.") ;;; (define-public artanis - (let ((release "0.2.1") + (let ((release "0.3.1") (revision 3)) (package (name "artanis") @@ -543,13 +543,14 @@ program can be installed in one go.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "041ajcg2pz918kd9iqcj4inpzddc3impvz3r2nhlpbv8zrz011hn")) + "0hqr5m3mb558bdhkc2sadmd9cbrhp3y525wx7cwirgy6i0zmay68")) (modules '((guix build utils))) (snippet '(begin (delete-file-recursively "artanis/third-party/json.scm") (delete-file-recursively "artanis/third-party/json") (substitute* '("artanis/artanis.scm" + "artanis/lpc.scm" "artanis/oht.scm") (("(#:use-module \\()artanis third-party (json\\))" _ use-module json) @@ -565,6 +566,7 @@ program can be installed in one go.") "")) #t)))) (build-system gnu-build-system) + ;; TODO replace bundled csv with guile-csv ;; TODO: Add guile-dbi and guile-dbd optional dependencies. (inputs `(("guile" ,guile-2.2) ("guile-json" ,guile-json))) @@ -601,7 +603,13 @@ program can be installed in one go.") (wrap-program (string-append bin "/art") `("GUILE_LOAD_PATH" ":" prefix (,scm)) `("GUILE_LOAD_COMPILED_PATH" ":" prefix (,go))) - #t)))))) + #t))) + (delete 'strip)))) + ;; native-search-paths are needed but left out because we propagate it + ;; from the installation of guile. + ;; On foreign distributions you have to set this manually no matter if + ;; you installed guile with guix or not. On GuixSD it should be set + ;; correctly automatically (Guile is always installed there) (synopsis "Web application framework written in Guile") (description "GNU Artanis is a web application framework written in Guile Scheme. A web application framework (WAF) is a software framework that is -- 2.19.2