aboutsummaryrefslogtreecommitdiff
path: root/guix.scm
blob: 45f192dc9e05a849c650a6ad0978705e54496b53 (plain)
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
(use-modules (guix packages)
             (guix build-system ruby)
             (gnu packages ruby)
             (gnu packages databases)
             (gnu packages rails)
             (gnu packages terraform)
             (gnu packages python)
             (gds packages govuk ruby))

(define govuk-mini-environment-admin
  (package
    (name "govuk-mini-environment-admin")
    (version "0")
    (source #f)
    (build-system ruby-build-system)
    (inputs
     `(("ruby-rails" ,ruby-rails)
       ("ruby-pg" ,ruby-pg)
       ("ruby-gds-sso" ,ruby-gds-sso)
       ("ruby-govuk-admin-template" ,ruby-govuk-admin-template)
       ("ruby-plek" ,ruby-plek)
       ("ruby-terraform" ,ruby-terraform)
       ("ruby-que" ,ruby-que)
       ("ruby-git" ,ruby-git)
       ("terraform" ,terraform)
       ("terraform-provider-libvirt"
        ,(package
           (inherit terraform-provider-libvirt)
           (source
            "/home/chris/Projects/terraform-provider-libvirt")))))
    (native-inputs
     `(("ruby-rubocop" ,ruby-rubocop)
       ("python" ,python)
       ("coala" ,coala)
       ("coala-bears" ,coala-bears)))
    (synopsis "")
    (description "")
    (home-page "")
    (license "")))

(define govuk-mini-environment-admin-development-environment
  (package
    (inherit govuk-mini-environment-admin)
    (inputs
     `(,@(package-inputs govuk-mini-environment-admin)
       ("ruby" ,ruby)
       ("ruby-rerun" ,ruby-rerun)
       ("ruby-annotate" ,ruby-annotate)
       ;; Useful for debugging and required for using Robe (Emacs)
       ("ruby-pry" ,ruby-pry)
       ("postgresql" ,postgresql)))))

govuk-mini-environment-admin-development-environment