Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (define-module (packages aws)
- #:use-module (guix gexp)
- #:use-module (guix packages)
- #:use-module (gnu packages golang)
- #:use-module (gnu packages golang-build)
- #:use-module (guix build-system gnu)
- #:use-module (guix download)
- #:use-module (guix git-download)
- #:use-module ((guix licenses) :prefix license:))
- (define-public aws-session-manager-plugin
- (package
- (name "aws-session-manager-plugin")
- (version "1.2.553.0")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/aws/session-manager-plugin")
- (commit "1.2.553.0")))
- (file-name (git-file-name name version))
- (sha256
- (base32 "0x06lcgf1cdm8c8npc2mn807si014k8x5d1xxwdpmj6a7n28f84g"))))
- (build-system gnu-build-system)
- (inputs
- (list go))
- (arguments
- (list
- #:phases #~(modify-phases %standard-phases
- (delete 'configure)
- (delete 'check)
- (add-before 'build 'fix-home-directory
- (lambda _
- (setenv "HOME" "/tmp")))
- (replace 'build
- (lambda* (#:key inputs #:allow-other-keys)
- (substitute* "makefile"
- (("^build-linux-amd64: checkstyle")
- "build-linux-amd64:"))
- (invoke "make" "pre-release")
- (invoke "make" "build-linux-amd64"))))))
- (home-page "https://github.com/aws/session-manager-plugin")
- (synopsis "Session Manager Plugin")
- (description
- "This plugin helps you to use the AWS Command Line Interface (AWS CLI) to start
- and end sessions to your managed instances. Session Manager is a capability of
- AWS Systems Manager.")
- (license license:asl2.0)))
Advertisement
Add Comment
Please, Sign In to add comment