Merge branch 'newrelic' into 'master'
+ nongnu/packages/apm: `newrelic-cli` See merge request nonguix/nonguix!370
This commit is contained in:
commit
4f642e27ac
38
nongnu/packages/apm.scm
Normal file
38
nongnu/packages/apm.scm
Normal file
|
@ -0,0 +1,38 @@
|
|||
(define-module (nongnu packages apm)
|
||||
#:use-module (guix download)
|
||||
#:use-module (guix packages)
|
||||
#:use-module (nonguix build-system binary)
|
||||
#:use-module (guix licenses))
|
||||
|
||||
(define-public newrelic-cli
|
||||
(let ((arch-match (lambda (arch)
|
||||
(match arch
|
||||
((or "x86_64-linux") "x86_64")
|
||||
((or "aarch64-linux") "arm64")))))
|
||||
(package
|
||||
(name "newrelic-cli")
|
||||
(version "0.76.3")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"https://download.newrelic.com/install/newrelic-cli/v"
|
||||
version "/newrelic-cli_" version "_Linux_"
|
||||
(arch-match
|
||||
(or (%current-target-system)
|
||||
(%current-system)))
|
||||
".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1v9sz89myszlqa6012n0x6vmfj4vvpzmwdp62llfxv204v55wnb4"))))
|
||||
(build-system binary-build-system)
|
||||
(arguments
|
||||
`(#:install-plan
|
||||
`(("newrelic" "/bin/"))))
|
||||
(inputs `())
|
||||
(supported-systems '("x86_64-linux"
|
||||
"aarch64-linux"))
|
||||
(synopsis "Access the New Relic platform from the comfort of your terminal")
|
||||
(description "You can use the New Relic CLI to manage entity tags, define workloads, record deployment markers. So you can use the CLI to automate common tasks in your DevOps workflow.")
|
||||
(home-page "docs.newrelic.com/docs/new-relic-solutions/tutorials/new-relic-cli")
|
||||
(license apsl2))))
|
Loading…
Reference in New Issue
Block a user