aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2018-03-29 05:42:42 +0100
committerChristopher Baines <christopher.baines@digital.cabinet-office.gov.uk>2019-05-30 18:18:19 +0100
commitf2ad93d06f5c713b6fd8d51da2c8be0f05025f5f (patch)
tree93831e94aa41b6bcbe495955fa53df3a9cd7dc05
parent3cde81ee6af2e451650179d9abae6b739e4d1332 (diff)
downloadgnu-guix-f2ad93d06f5c713b6fd8d51da2c8be0f05025f5f.tar
gnu-guix-f2ad93d06f5c713b6fd8d51da2c8be0f05025f5f.tar.gz
gnu: Add terraform-provider-aws.
* gnu/packages/terraform.scm (terraform-provider-aws): New variable.
-rw-r--r--gnu/packages/terraform.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/terraform.scm b/gnu/packages/terraform.scm
index feedad69fa..d9fe9af708 100644
--- a/gnu/packages/terraform.scm
+++ b/gnu/packages/terraform.scm
@@ -153,3 +153,33 @@ tool. These can be shown, or written to a file in JSON or Markdown formats.")
(description "")
(home-page "")
(license "")))
+
+(define-public terraform-provider-aws
+ (package
+ (name "terraform-provider-aws")
+ (version "1.23.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/terraform-providers/terraform-provider-aws")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "156277pbllmglpppnrp6qskiq744mxjjmsw39d0d3qpqs5af4x1y"))))
+ (build-system go-build-system)
+ (outputs '("out" "lib"))
+ (arguments
+ '(#:import-path "github.com/terraform-providers/terraform-provider-aws"
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'reset-gzip-timestamps 'remove-readonly-gzip-files
+ (lambda* (#:key outputs #:allow-other-keys)
+ (for-each delete-file
+ (find-files
+ (assoc-ref outputs "lib")
+ ".*\\.t?gz")))))))
+ (synopsis "")
+ (description "")
+ (home-page "")
+ (license "")))