aboutsummaryrefslogtreecommitdiff
path: root/guix.scm
blob: 231f97abb07fe9cf28ae06d890cb4151c255cb79 (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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
(use-modules (guix packages)
             (guix git-download)
             (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
            (origin
              (method git-fetch)
              (uri (git-reference
                    (url "http://git.cbaines.net/terraform-provider-libvirt")
                    ;; hash for the for-govuk-mini-environment-admin branch
                    (commit "682f8a9865fe0bec16423f63018725f5b364659b")))
              (sha256
               (base32
                "1wxiyfkmvflf6c669h6i9ym21r5w4mw55jiy6gma3cddlbhpjhhb"))))))
       ("terraform-provider-template" ,terraform-provider-template)
       ("terraform-provider-aws" ,terraform-provider-aws)
       ("terraform-provider-local" ,terraform-provider-local)))
    (native-inputs
     `(("ruby-rubocop" ,ruby-rubocop)
       ("python" ,python)
       ("ruby-mocha" ,ruby-mocha)
       ("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-byebug" ,ruby-byebug)
       ("ruby-web-console", ruby-web-console)
       ("postgresql" ,postgresql)))))

govuk-mini-environment-admin-development-environment