[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/14: gnu: Add hpcguix-web.
From: |
Ludovic Courtès |
Subject: |
03/14: gnu: Add hpcguix-web. |
Date: |
Fri, 1 Jun 2018 07:52:17 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit d6a4dfec90f6b9010165bce3884dcb5d76113355
Author: Rouby Pierre-Antoine <address@hidden>
Date: Wed May 30 11:41:46 2018 +0200
gnu: Add hpcguix-web.
* gnu/package/web.scm (hpcguix-web): New variable.
Signed-off-by: Ludovic Courtès <address@hidden>
---
gnu/packages/web.scm | 81 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 81 insertions(+)
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index e06247a..fb967af 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -25,6 +25,7 @@
;;; Copyright © 2017 Pierre Langlois <address@hidden>
;;; Copyright © 2017 Rutger Helling <address@hidden>
;;; Copyright © 2018 Julien Lepiller <address@hidden>
+;;; Copyright © 2018 Pierre-Antoine Rouby <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -82,6 +83,7 @@
#:use-module (gnu packages gnuzilla)
#:use-module (gnu packages gperf)
#:use-module (gnu packages gtk)
+ #:use-module (gnu packages guile)
#:use-module (gnu packages java)
#:use-module (gnu packages javascript)
#:use-module (gnu packages jemalloc)
@@ -96,6 +98,7 @@
#:use-module (gnu packages ncurses)
#:use-module (gnu packages openstack)
#:use-module (gnu packages base)
+ #:use-module (gnu packages package-management)
#:use-module (gnu packages perl)
#:use-module (gnu packages perl-check)
#:use-module (gnu packages python)
@@ -6427,3 +6430,81 @@ compressed JSON header blocks.
@item @command{inflatehd} converts such compressed headers back to JSON pairs.
@end itemize\n")
(license l:expat)))
+
+(define-public hpcguix-web
+ (let ((commit "3e3b9a3a406ee2dcd10c96cbedcc16ea378e8e8f"))
+ (package
+ (name "hpcguix-web")
+ (version (git-version "0.0.1" "0" commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/UMCUGenetics/hpcguix-web.git")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "01888byi9mh7d3adcmwhmg44kg98g92r44ilc4wd7an66mjnxpry"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:modules ((guix build gnu-build-system)
+ (guix build utils)
+ (srfi srfi-26)
+ (ice-9 popen)
+ (ice-9 rdelim))
+
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'configure 'autoconf
+ (lambda _
+ (setenv "GUILE_AUTO_COMPILE" "0")
+ (setenv "XDG_CACHE_HOME" (getcwd))
+ (invoke "autoreconf" "-vif")))
+ (add-after 'install 'wrap-program
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (guix (assoc-ref inputs "guix"))
+ (guile (assoc-ref inputs "guile"))
+ (json (assoc-ref inputs "guile-json"))
+ (guile-cm (assoc-ref inputs
+ "guile-commonmark"))
+ (deps (list guile guile-cm guix json))
+ (effective
+ (read-line
+ (open-pipe* OPEN_READ
+ (string-append guile "/bin/guile")
+ "-c" "(display (effective-version))")))
+ (path (string-join
+ (map (cut string-append <>
+ "/share/guile/site/"
+ effective)
+ deps)
+ ":"))
+ (gopath (string-join
+ (map (cut string-append <>
+ "/lib/guile/" effective
+ "/site-ccache")
+ deps)
+ ":")))
+ (wrap-program (string-append out "/bin/run")
+ `("GUILE_LOAD_PATH" ":" prefix (,path))
+ `("GUILE_LOAD_COMPILED_PATH" ":" prefix (,gopath)))
+
+ #t))))))
+ (native-inputs
+ `(("autoconf" ,autoconf)
+ ("automake" ,automake)
+ ("uglify-js" ,uglify-js)
+ ("pkg-config" ,pkg-config)))
+ (inputs
+ `(("guix" ,guix)))
+ (propagated-inputs
+ `(("guile" ,guile-2.2)
+ ("guile-commonmark" ,guile-commonmark)
+ ("guile-json" ,guile-json)))
+ (home-page "https://github.com/UMCUGenetics/hpcguix-web")
+ (synopsis "Web interface for cluster deployments of Guix")
+ (description "Hpcguix-web provides a web interface to the list of
packages
+provided by Guix. The list of packages is searchable and provides
+instructions on how to use Guix in a shared HPC environment.")
+ (license l:agpl3+))))
- branch master updated (8674abb -> 5d66988), Ludovic Courtès, 2018/06/01
- 07/14: gnu: Add ghc-ifelse., Ludovic Courtès, 2018/06/01
- 02/14: marionette: Add 'wait-for-tcp-port'., Ludovic Courtès, 2018/06/01
- 01/14: gnu: emacs-w3m: Update and allow builds with Emacs 26., Ludovic Courtès, 2018/06/01
- 05/14: gnu: Add ghc-bloomfilter., Ludovic Courtès, 2018/06/01
- 08/14: gnu: Add ghc-esqueleto., Ludovic Courtès, 2018/06/01
- 10/14: gnu: ghc-psqueues: Allow building with newer versions of QuickCheck., Ludovic Courtès, 2018/06/01
- 13/14: gnu: rust: Add support for building 32-bit packages on 64-bit hosts., Ludovic Courtès, 2018/06/01
- 09/14: gnu: Add ghc-safesemaphore., Ludovic Courtès, 2018/06/01
- 03/14: gnu: Add hpcguix-web.,
Ludovic Courtès <=
- 06/14: gnu: Add ghc-feed., Ludovic Courtès, 2018/06/01
- 11/14: gnu: Add ghc-disk-free-space., Ludovic Courtès, 2018/06/01
- 04/14: services: Add hpcguix-web., Ludovic Courtès, 2018/06/01
- 14/14: gexp: 'compiled-modules' no longer overrides (guix build utils)., Ludovic Courtès, 2018/06/01
- 12/14: gnu: Add git-annex., Ludovic Courtès, 2018/06/01