Paste number 143592: wip GNU mediagoblin Guix package

Paste number 143592: wip GNU mediagoblin Guix package
Pasted by: davexunit
When:7 years, 3 months ago
Share:Tweet this! | http://paste.lisp.org/+32SO
Channel:None
Paste contents:
Raw Source | XML | Display As
(define-public mediagoblin
  (package
    (name "mediagoblin")
    (version "0.7.0-docfix")
    (source (origin
              (method git-fetch)
              (uri (git-reference
                    (url "git://gitorious.org/mediagoblin/mediagoblin.git")
                    (commit (string-append "v" version))))
              (sha256
               (base32
                "1y6wn9jscci48k78pildplmkh7sslhqi7g33273ylilawarrddi1"))
              (file-name (string-append name "-" version))))
    (build-system python-build-system)
    (inputs
     `(("python2-setuptools" ,python2-setuptools)
       ("python2-six" ,python2-six-1.5)
       ("python2-exif-read" ,python2-exif-read)
       ("python2-pyld" ,python2-pyld)
       ("python2-requests" ,python2-requests)
       ("python2-jsonschema" ,python2-jsonschema)
       ("python2-unidecode" ,python2-unidecode)))
    (arguments
     `(#:tests? #f ; no test command
       #:python ,python-2 ; no python 3 support
       #:phases (alist-cons-before
                 'patch-source-shebangs 'delete-broken-symlink
                 (lambda _
                   (delete-file "mediagoblin/static/css/extlib/skeleton.css"))
                 (alist-cons-after
                  'patch-source-shebangs 'set-1980-mtime
                  (lambda _
                    ;; Zip cannot work with timestamps before 1980
                    (for-each (lambda (file)
                                (system* "touch" "-d" "1 Jan 1980" file))
                              (find-files "." ".*")))
                  %standard-phases))))
    (home-page "http://mediagoblin.org/")
    (synopsis "Decentralized media publishing platform")
    (description
     "GNU MediaGoblin is a decentralized media publishing platform that
supports images, audio, video, 3D models, and more.")
    (license l:agpl3+)))

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.