format tools.scm
This commit is contained in:
parent
6675502425
commit
d07fc907d4
1 changed files with 59 additions and 42 deletions
|
@ -16,11 +16,14 @@
|
||||||
(package
|
(package
|
||||||
(name "gradle")
|
(name "gradle")
|
||||||
(version "8.4")
|
(version "8.4")
|
||||||
(source (origin
|
(source
|
||||||
(method url-fetch)
|
(origin
|
||||||
(uri (string-append "https://downloads.gradle.org/distributions/gradle-" version "-bin.zip"))
|
(method url-fetch)
|
||||||
(sha256
|
(uri (string-append
|
||||||
(base32 "1bkjxw7i0lm17pdyyvka4xpl6z0cdj0izagphync6839i2pg66iy"))))
|
"https://downloads.gradle.org/distributions/gradle-"
|
||||||
|
version "-bin.zip"))
|
||||||
|
(sha256
|
||||||
|
(base32 "1bkjxw7i0lm17pdyyvka4xpl6z0cdj0izagphync6839i2pg66iy"))))
|
||||||
(build-system copy-build-system)
|
(build-system copy-build-system)
|
||||||
(inputs (list `(,openjdk20 "jdk")))
|
(inputs (list `(,openjdk20 "jdk")))
|
||||||
(native-inputs (list unzip))
|
(native-inputs (list unzip))
|
||||||
|
@ -35,32 +38,40 @@
|
||||||
(package
|
(package
|
||||||
(name "terraform")
|
(name "terraform")
|
||||||
(version "1.8.4")
|
(version "1.8.4")
|
||||||
(source (origin
|
(source
|
||||||
(method url-fetch)
|
(origin
|
||||||
(uri (string-append "https://releases.hashicorp.com/terraform/" version "/terraform_" version "_linux_amd64.zip"))
|
(method url-fetch)
|
||||||
(sha256
|
(uri (string-append
|
||||||
(base32
|
"https://releases.hashicorp.com/terraform/" version
|
||||||
"1i181cmzwlrx8d40z1spilcwgnhkzwalrg8822d23sqdmrs7a5hj"))))
|
"/terraform_" version "_linux_amd64.zip"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1i181cmzwlrx8d40z1spilcwgnhkzwalrg8822d23sqdmrs7a5hj"))))
|
||||||
(build-system binary-build-system)
|
(build-system binary-build-system)
|
||||||
(supported-systems '("x86_64-linux"))
|
(supported-systems '("x86_64-linux"))
|
||||||
(arguments '(
|
(arguments
|
||||||
#:install-plan
|
'(
|
||||||
`(("." ("terraform") "bin/"))
|
#:install-plan
|
||||||
#:phases
|
`(("." ("terraform") "bin/"))
|
||||||
(modify-phases %standard-phases
|
#:phases
|
||||||
;; this is required because standard unpack expects
|
(modify-phases
|
||||||
;; the archive to contain a directory with everything inside it,
|
%standard-phases
|
||||||
;; while babashka's release .tar.gz only contains the `bb` binary.
|
;; this is required because standard unpack expects
|
||||||
(replace 'unpack
|
;; the archive to contain a directory with everything inside it,
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
;; while babashka's release .tar.gz only contains the `bb` binary.
|
||||||
(system* (which "unzip")
|
(replace 'unpack
|
||||||
(assoc-ref inputs "source"))
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
#t)))))
|
(system* (which "unzip")
|
||||||
|
(assoc-ref inputs "source"))
|
||||||
|
#t)))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("unzip" ,unzip)))
|
`(("unzip" ,unzip)))
|
||||||
(synopsis "A tool to describe and deploy infrastructure as code")
|
(synopsis "A tool to describe and deploy infrastructure as code")
|
||||||
(description
|
(description
|
||||||
"Terraform allows you to describe your complete infrastructure in the form of code. Even if your servers come from different providers such as AWS or Azure, Terraform helps you build and manage these resources in parallel across providers.")
|
"Terraform allows you to describe your complete infrastructure in the
|
||||||
|
form of code. Even if your servers come from different providers such
|
||||||
|
as AWS or Azure, Terraform helps you build and manage these resources
|
||||||
|
in parallel across providers.")
|
||||||
(home-page "https://hashicorp.com/terraform")
|
(home-page "https://hashicorp.com/terraform")
|
||||||
(license #f)))
|
(license #f)))
|
||||||
|
|
||||||
|
@ -70,10 +81,12 @@
|
||||||
(version "1.6.6")
|
(version "1.6.6")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "https://releases.hashicorp.com/terraform/" version "/terraform_" version "_linux_amd64.zip"))
|
(uri (string-append
|
||||||
|
"https://releases.hashicorp.com/terraform/" version
|
||||||
|
"/terraform_" version "_linux_amd64.zip"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"002g0ypkkfqy5nf989jyk3m1l7l0455hsaq11xfhr5lbv4zqh5yi"))))))
|
"002g0ypkkfqy5nf989jyk3m1l7l0455hsaq11xfhr5lbv4zqh5yi"))))))
|
||||||
|
|
||||||
|
|
||||||
(define-public vault
|
(define-public vault
|
||||||
|
@ -83,25 +96,29 @@
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
|
|
||||||
(uri (string-append "https://releases.hashicorp.com/vault/" version "/vault_" version "_linux_amd64.zip"))
|
(uri (string-append
|
||||||
|
"https://releases.hashicorp.com/vault/" version
|
||||||
|
"/vault_" version "_linux_amd64.zip"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1n3147l5slzmw7svqdwbhzxybzl5597jb64i4hvsrhswqnnx8cya"))))
|
"1n3147l5slzmw7svqdwbhzxybzl5597jb64i4hvsrhswqnnx8cya"))))
|
||||||
(build-system binary-build-system)
|
(build-system binary-build-system)
|
||||||
(supported-systems '("x86_64-linux"))
|
(supported-systems '("x86_64-linux"))
|
||||||
(arguments '(
|
(arguments
|
||||||
#:install-plan
|
'(
|
||||||
`(("." ("vault") "bin/"))
|
#:install-plan
|
||||||
#:phases
|
`(("." ("vault") "bin/"))
|
||||||
(modify-phases %standard-phases
|
#:phases
|
||||||
;; this is required because standard unpack expects
|
(modify-phases
|
||||||
;; the archive to contain a directory with everything inside it,
|
%standard-phases
|
||||||
;; while babashka's release .tar.gz only contains the `bb` binary.
|
;; this is required because standard unpack expects
|
||||||
(replace 'unpack
|
;; the archive to contain a directory with everything inside it,
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
;; while babashka's release .tar.gz only contains the `bb` binary.
|
||||||
(system* (which "unzip")
|
(replace 'unpack
|
||||||
(assoc-ref inputs "source"))
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
#t)))))
|
(system* (which "unzip")
|
||||||
|
(assoc-ref inputs "source"))
|
||||||
|
#t)))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("unzip" ,unzip)))
|
`(("unzip" ,unzip)))
|
||||||
(synopsis "Tool to describe and deploy secrets")
|
(synopsis "Tool to describe and deploy secrets")
|
||||||
|
|
Loading…
Reference in a new issue