Paste number 157469: prosody.scm

Paste number 157469: prosody.scm
Pasted by: lfam
When:6 years, 9 months ago
Share:Tweet this! |
Paste contents:
Raw Source | XML | Display As
(define-module (leo packages prosody)
  #:use-module (leo packages luaexpat)
  #:use-module (leo packages luafilesystem)
  #:use-module (leo packages luasec)
  #:use-module (leo packages luasocket)
  #:use-module (gnu packages libidn)
  #:use-module (gnu packages lua)
  #:use-module (gnu packages tls)
  #:use-module (guix build-system gnu)
  #:use-module (guix download)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix packages)

(define-public prosody
    (name "prosody")
    (version "0.9.8")
    (source (origin
             (method url-fetch)
             (uri (string-append
                  "" version
              (base32 "0wbq4ps69l09fjb5dfjzab6i30hzpi4bvyj5kc44gf70arf42w4l"))))
    (build-system gnu-build-system)
     `(#:tests? #f ; I don't know how to run the test suite
       (modify-phases %standard-phases
         (replace 'configure
		  (lambda* (#:key build inputs outputs #:allow-other-keys)
		    (let ((out (assoc-ref outputs "out"))
;			  (lua (assoc-ref inputs "lua"))
;			  (libidn (assoc-ref inputs "libidn"))
;			  (openssl (assoc-ref inputs "openssl"))
                      (setenv "CONFIG_SHELL" (which "bash"))    
		      (zero? (system* "./configure"
				     (string-append "--prefix=" out)
				     (string-append "--no-example-certs")
    ;; TODO: Figure out what is a native-input and what is an input.
        ("luaexpat" ,luaexpat)
        ("lua" ,lua-5.1)
        ("libidn" ,libidn)
        ("luafilesystem" ,luafilesystem)
        ("luasocket" ,luasocket)
        ("luasec" ,luasec)
        ("openssl" ,openssl)))
    (synopsis "Hello, GNU world: An example GNU package")
    (description "Guess what GNU Hello prints!")
    (home-page "")
    (license (list license:gpl3+ 

This paste has no annotations.

Colorize as:
Show Line Numbers

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.