Paste number 147713: gexp->package

Paste number 147713: gexp->package
Pasted by: civodul
When:5 years, 1 month ago
Share:Tweet this! | http://paste.lisp.org/+35Z5
Channel:None
Paste contents:
Raw Source | XML | Display As
(use-modules (guix) (guix licenses)
             (guix build-system trivial))

(define* (gexp->package gexp name
                        #:key
                        (version "0") (modules '()) (guile (default-guile))
                        (home-page "http://www.gnu.org/software/guix/"))
  (package
    (name name)
    (version version)
    (source #f)
    (build-system trivial-build-system)
    (arguments
     `(#:guile ,guile
       #:modules ,modules
       #:builder ,gexp))
    (outputs ((@@ (guix gexp) gexp-outputs) gexp))
    (synopsis "")
    (description "")
    (home-page home-page)
    (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.