all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#30805] [PATCH 0/3] Add terraform-docs and dependencies.
@ 2018-03-13 20:16 Christopher Baines
  2018-03-13 20:20 ` [bug#30805] [PATCH 1/3] gnu: Add go-github-com-tj-docopt Christopher Baines
  0 siblings, 1 reply; 8+ messages in thread
From: Christopher Baines @ 2018-03-13 20:16 UTC (permalink / raw)
  To: 30805

[-- Attachment #1: Type: text/plain, Size: 371 bytes --]


Christopher Baines (3):
  gnu: Add go-github-com-tj-docopt.
  gnu: Add go-github-com-hashicorp-hcl.
  gnu: Add terraform-docs.

 gnu/packages/golang.scm    | 52 +++++++++++++++++++++++++++++++++++++++++++++
 gnu/packages/terraform.scm | 53 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 105 insertions(+)
 create mode 100644 gnu/packages/terraform.scm

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 962 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [bug#30805] [PATCH 1/3] gnu: Add go-github-com-tj-docopt.
  2018-03-13 20:16 [bug#30805] [PATCH 0/3] Add terraform-docs and dependencies Christopher Baines
@ 2018-03-13 20:20 ` Christopher Baines
  2018-03-13 20:20   ` [bug#30805] [PATCH 2/3] gnu: Add go-github-com-hashicorp-hcl Christopher Baines
                     ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Christopher Baines @ 2018-03-13 20:20 UTC (permalink / raw)
  To: 30805

* gnu/packages/golang.scm (go-github-com-tj-docopt): New variable.
---
 gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 20a8c538b..92e612d34 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -8,6 +8,7 @@
 ;;; Copyright © 2017 Sergei Trofimovich <slyfox@inbox.ru>
 ;;; Copyright © 2017 Alex Vong <alexvong1995@gmail.com>
 ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2018 Christopher Baines <mail@cbaines.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -639,3 +640,27 @@ termination.")
 per-goroutine.")
     (home-page "https://github.com/jtolds/gls")
     (license license:expat)))
+
+(define-public go-github-com-tj-docopt
+  (package
+    (name "go-github-com-tj-docopt")
+    (version "1.0.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/tj/docopt")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "06h8hdg1mh3s78zqlr01g4si7k0f0g6pr7fj7lnvfg446hgc7080"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/tj/docopt"))
+    (synopsis "Go implementation of docopt")
+    (description
+     "This library allows the user to define a command-line interface from a
+program's help message rather than specifying it programatically with
+command-line parsers.")
+    (home-page "https://github.com/tj/docopt")
+    (license license:expat)))
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [bug#30805] [PATCH 2/3] gnu: Add go-github-com-hashicorp-hcl.
  2018-03-13 20:20 ` [bug#30805] [PATCH 1/3] gnu: Add go-github-com-tj-docopt Christopher Baines
@ 2018-03-13 20:20   ` Christopher Baines
  2018-03-17 21:07     ` Ludovic Courtès
  2018-03-13 20:20   ` [bug#30805] [PATCH 3/3] gnu: Add terraform-docs Christopher Baines
  2018-03-17 21:06   ` [bug#30805] [PATCH 1/3] gnu: Add go-github-com-tj-docopt Ludovic Courtès
  2 siblings, 1 reply; 8+ messages in thread
From: Christopher Baines @ 2018-03-13 20:20 UTC (permalink / raw)
  To: 30805

* gnu/packages/golang.scm (go-github-com-hashicorp-hcl): New variable.
---
 gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 92e612d34..e0ce1032f 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -664,3 +664,30 @@ program's help message rather than specifying it programatically with
 command-line parsers.")
     (home-page "https://github.com/tj/docopt")
     (license license:expat)))
+
+(define-public go-github-com-hashicorp-hcl
+  (let ((commit "23c074d0eceb2b8a5bfdbb271ab780cde70f05a8")
+        (revision "0"))
+    (package
+      (name "go-github-com-hashicorp-hcl")
+      (version (git-version "0.0.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                       (url "https://github.com/hashicorp/hcl")
+                       (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                  (base32
+                    "0db4lpqb5m130rmfy3s3gjjf4dxllypmyrzxv6ggqhkmwmc7w4mc"))))
+      (build-system go-build-system)
+      (arguments
+       '(#:tests? #f
+         #:import-path "github.com/hashicorp/hcl"))
+      (synopsis "Go implementation of HashiCorp Configuration Language")
+      (description
+       "This package contains the main implementation of the @acronym{HCL,
+HashiCorp Configuration Language}.  HCL is designed to be a language for
+expressing configuration which is easy for both humans and machines to read.")
+      (home-page "https://github.com/hashicorp/hcl")
+      (license license:mpl2.0))))
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [bug#30805] [PATCH 3/3] gnu: Add terraform-docs.
  2018-03-13 20:20 ` [bug#30805] [PATCH 1/3] gnu: Add go-github-com-tj-docopt Christopher Baines
  2018-03-13 20:20   ` [bug#30805] [PATCH 2/3] gnu: Add go-github-com-hashicorp-hcl Christopher Baines
@ 2018-03-13 20:20   ` Christopher Baines
  2018-03-17 21:08     ` Ludovic Courtès
  2018-03-17 21:06   ` [bug#30805] [PATCH 1/3] gnu: Add go-github-com-tj-docopt Ludovic Courtès
  2 siblings, 1 reply; 8+ messages in thread
From: Christopher Baines @ 2018-03-13 20:20 UTC (permalink / raw)
  To: 30805

* gnu/packages/terraform.scm (terraform-docs): New variable.
---
 gnu/packages/terraform.scm | 53 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 53 insertions(+)
 create mode 100644 gnu/packages/terraform.scm

diff --git a/gnu/packages/terraform.scm b/gnu/packages/terraform.scm
new file mode 100644
index 000000000..9d0bb4bcb
--- /dev/null
+++ b/gnu/packages/terraform.scm
@@ -0,0 +1,53 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2018 Christopher Baines <mail@cbaines.net>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages terraform)
+  #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix packages)
+  #:use-module (guix download)
+  #:use-module (guix git-download)
+  #:use-module (guix build-system go)
+  #:use-module (gnu packages golang))
+
+(define-public terraform-docs
+  (package
+    (name "terraform-docs")
+    (version "0.3.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/segmentio/terraform-docs")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0xchpik32ab8m89s6jv671vswg8xhprfvh6s5md0zd36482d2nmm"))))
+    (build-system go-build-system)
+    (native-inputs
+     `(("go-github-com-hashicorp-hcl" ,go-github-com-hashicorp-hcl)
+       ("go-github-com-tj-docopt" ,go-github-com-tj-docopt)))
+    (arguments
+     '(#:import-path "github.com/segmentio/terraform-docs"))
+    (synopsis
+     "Generate documentation from Terraform modules")
+    (description
+     "The @code{terraform-docs} utility can generate documentation describing
+the inputs and outputs of Terraform modules.  These can be shown, or written
+to a file in JSON or Markdown formats.")
+    (home-page "https://github.com/segmentio/terraform-docs")
+    (license license:expat)))
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [bug#30805] [PATCH 1/3] gnu: Add go-github-com-tj-docopt.
  2018-03-13 20:20 ` [bug#30805] [PATCH 1/3] gnu: Add go-github-com-tj-docopt Christopher Baines
  2018-03-13 20:20   ` [bug#30805] [PATCH 2/3] gnu: Add go-github-com-hashicorp-hcl Christopher Baines
  2018-03-13 20:20   ` [bug#30805] [PATCH 3/3] gnu: Add terraform-docs Christopher Baines
@ 2018-03-17 21:06   ` Ludovic Courtès
  2 siblings, 0 replies; 8+ messages in thread
From: Ludovic Courtès @ 2018-03-17 21:06 UTC (permalink / raw)
  To: Christopher Baines; +Cc: 30805

Christopher Baines <mail@cbaines.net> skribis:

> * gnu/packages/golang.scm (go-github-com-tj-docopt): New variable.

LGTM!

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [bug#30805] [PATCH 2/3] gnu: Add go-github-com-hashicorp-hcl.
  2018-03-13 20:20   ` [bug#30805] [PATCH 2/3] gnu: Add go-github-com-hashicorp-hcl Christopher Baines
@ 2018-03-17 21:07     ` Ludovic Courtès
  0 siblings, 0 replies; 8+ messages in thread
From: Ludovic Courtès @ 2018-03-17 21:07 UTC (permalink / raw)
  To: Christopher Baines; +Cc: 30805

Christopher Baines <mail@cbaines.net> skribis:

> * gnu/packages/golang.scm (go-github-com-hashicorp-hcl): New variable.

OK!

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [bug#30805] [PATCH 3/3] gnu: Add terraform-docs.
  2018-03-13 20:20   ` [bug#30805] [PATCH 3/3] gnu: Add terraform-docs Christopher Baines
@ 2018-03-17 21:08     ` Ludovic Courtès
  2018-03-17 23:08       ` bug#30805: " Christopher Baines
  0 siblings, 1 reply; 8+ messages in thread
From: Ludovic Courtès @ 2018-03-17 21:08 UTC (permalink / raw)
  To: Christopher Baines; +Cc: 30805

Christopher Baines <mail@cbaines.net> skribis:

> * gnu/packages/terraform.scm (terraform-docs): New variable.

[...]

> +    (synopsis
> +     "Generate documentation from Terraform modules")
> +    (description
> +     "The @code{terraform-docs} utility can generate documentation describing
> +the inputs and outputs of Terraform modules.  These can be shown, or written

Maybe s/Terraform modules/modules of the Terraform foobar/, with
appropriate “foobar”, to give a bit context.

Otherwise LGTM, thanks!

Ludo’.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#30805: [PATCH 3/3] gnu: Add terraform-docs.
  2018-03-17 21:08     ` Ludovic Courtès
@ 2018-03-17 23:08       ` Christopher Baines
  0 siblings, 0 replies; 8+ messages in thread
From: Christopher Baines @ 2018-03-17 23:08 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 30805-done

[-- Attachment #1: Type: text/plain, Size: 751 bytes --]


Ludovic Courtès <ludo@gnu.org> writes:

> Christopher Baines <mail@cbaines.net> skribis:
>
>> * gnu/packages/terraform.scm (terraform-docs): New variable.
>
> [...]
>
>> +    (synopsis
>> +     "Generate documentation from Terraform modules")
>> +    (description
>> +     "The @code{terraform-docs} utility can generate documentation describing
>> +the inputs and outputs of Terraform modules.  These can be shown, or written
>
> Maybe s/Terraform modules/modules of the Terraform foobar/, with
> appropriate “foobar”, to give a bit context.

Sounds good. I've updated the description.

> Otherwise LGTM, thanks!

Great, I've tweaked the last patch to update local.mk and pushed these 3
patches now.

Thanks,

Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 962 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-03-17 23:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-13 20:16 [bug#30805] [PATCH 0/3] Add terraform-docs and dependencies Christopher Baines
2018-03-13 20:20 ` [bug#30805] [PATCH 1/3] gnu: Add go-github-com-tj-docopt Christopher Baines
2018-03-13 20:20   ` [bug#30805] [PATCH 2/3] gnu: Add go-github-com-hashicorp-hcl Christopher Baines
2018-03-17 21:07     ` Ludovic Courtès
2018-03-13 20:20   ` [bug#30805] [PATCH 3/3] gnu: Add terraform-docs Christopher Baines
2018-03-17 21:08     ` Ludovic Courtès
2018-03-17 23:08       ` bug#30805: " Christopher Baines
2018-03-17 21:06   ` [bug#30805] [PATCH 1/3] gnu: Add go-github-com-tj-docopt Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.