root/package.scm

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
;; guix package see https://gnu.org/s/guix
;; you can build this with
;;   guix build --with-source=$(pwd) -f package.scm
(use-modules (guix packages)
             (guix licenses)
             (guix download)
             (guix build-system gnu)
             (gnu packages)
             (gnu packages ncurses)
             (gnu packages curl)
             (gnu packages web)         ;jansson
             )

(package
 (name "media-u-ncurses")
 (version "0.1")
 (source
  (origin
   (method url-fetch)
   (uri (string-append
         "https://hidamari.blue/git/media-u-ncurses/release/media-u-ncurses-"
         version ".tar.gz"))
   (sha256
    (base32
     "0172vzq48hgwyln5fw7m55j68gydwpmsy0kgcgqbs9zyp9s3dx39"))))
 (build-system gnu-build-system)
 (arguments
  `(#:phases
    (alist-delete 'configure %standard-phases)
    #:make-flags (let ((out (assoc-ref %outputs "out")))
                   (list (string-append "INSTALL_PREFIX=" out)))))
 (inputs
  `(("curses" ,ncurses)
    ("curl" ,curl)
    ("jansson" ,jansson)))
 (synopsis "ncurses client for the media-u (work-title) server")
 (description "Watch your chinese cartons on another computer.")
 (home-page "https://hidamari.blue/git/media-u-ncurses")
 (license gpl3))