(define-module (gnu services science) #:export ( rshiny-configuration rshiny-configuration? rshiny-configuration-package rshiny-configuration-binary rshiny-shepherd-service rshiny-service-type)) (use-modules (gnu) (guix records) (ice-9 match)) (use-service-modules shepherd) (use-package-modules cran) (define-record-type* rshiny-configuration make-rshiny-configuration rshiny-configuration? (package rshiny-configuration-package ; package (default r-shiny)) (binary rshiny-configuration-binary ; string (default "rshiny"))) (define rshiny-shepherd-service (match-lambda (($ package binary) (list (shepherd-service (documentation (string-append "R-Shiny service for " binary)) (provision (list (symbol-append 'rshiny- (string->symbol
aboutsummaryrefslogtreecommitdiff
path: