Update guile-pastebin
modules/cogd/packages/guile-xyz.scm
| 39 | 39 | (license license:lgpl3+)))) | |
| 40 | 40 | ||
| 41 | 41 | (define-public guile-pastebin | |
| 42 | - | (let ((commit "0b93a120a0e82ccca7828e85310b308dbb4aca9f") | |
| 43 | - | (revision "3")) | |
| 42 | + | (let ((commit "c82bbe44134d48c2b97ff2feb066cf73f0336c30") | |
| 43 | + | (revision "4")) | |
| 44 | 44 | (package | |
| 45 | 45 | (name "guile-pastebin") | |
| 46 | 46 | (version (git-version "0" revision commit)) | |
… | |||
| 52 | 52 | (commit commit))) | |
| 53 | 53 | (file-name (git-file-name name version)) | |
| 54 | 54 | (sha256 | |
| 55 | - | (base32 "08jz44dlsmwgj1zbpibqbz6kbyi8kms93ry4ywxp60abn5nbahym")))) | |
| 55 | + | (base32 "0gksfvzm03piqmzqvnls4p73zlc7ib2qg9xpa9c6ab0c10vagvm5")))) | |
| 56 | 56 | (build-system guile-build-system) | |
| 57 | 57 | (arguments | |
| 58 | 58 | (list | |
modules/cogd/services/pastebin.scm
| 34 | 34 | (addr pastebin-configuration-addr | |
| 35 | 35 | (default "127.0.0.1")) | |
| 36 | 36 | (port pastebin-configuration-port | |
| 37 | - | (default "8080"))) | |
| 37 | + | (default "8080")) | |
| 38 | + | (css-url pastebin-configuration-css-url | |
| 39 | + | (default "https://unpkg.com/simpledotcss/simple.min.css"))) | |
| 38 | 40 | ||
| 39 | 41 | (define (pastebin-accounts config) | |
| 40 | 42 | (list (user-group | |
… | |||
| 50 | 52 | (define (pastebin-shepherd-service config) | |
| 51 | 53 | (match-record | |
| 52 | 54 | config <pastebin-configuration> | |
| 53 | - | (package data-dir addr port requirement) | |
| 55 | + | (package data-dir addr port requirement css-url) | |
| 54 | 56 | (list (shepherd-service | |
| 55 | 57 | (documentation "Run the Pastebin.") | |
| 56 | 58 | (provision '(pastebin)) | |
… | |||
| 59 | 61 | (list #$(file-append package "/bin/pastebin") | |
| 60 | 62 | "--addr" #$addr | |
| 61 | 63 | "--port" #$port | |
| 64 | + | "--css-url" #$css-url | |
| 62 | 65 | #$data-dir) | |
| 63 | 66 | #:user "pastebin" | |
| 64 | 67 | #:group "pastebin")) | |