snamguix/snamellit/tools.scm

154 lines
4.5 KiB
Scheme
Raw Normal View History

2024-06-06 21:10:44 +02:00
(define-module (snamellit tools)
2024-06-06 21:28:33 +02:00
#:use-module (gnu packages base)
#:use-module (gnu packages compression)
#:use-module (gnu packages gcc)
#:use-module (gnu packages java)
#:use-module (guix build-system copy)
#:use-module (guix download)
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (nonguix build-system binary))
2024-06-06 21:10:44 +02:00
(define-public gradle
(package
(name "gradle")
(version "8.4")
2024-06-07 11:31:47 +02:00
(source
(origin
(method url-fetch)
(uri (string-append
"https://downloads.gradle.org/distributions/gradle-"
version "-bin.zip"))
(sha256
(base32 "1bkjxw7i0lm17pdyyvka4xpl6z0cdj0izagphync6839i2pg66iy"))))
2024-06-06 21:10:44 +02:00
(build-system copy-build-system)
(inputs (list `(,openjdk20 "jdk")))
(native-inputs (list unzip))
(synopsis "My Gradle, a java build system")
(description
"Gradle is the other build system and package manager for java programs")
(home-page "https://maven.apache.org/")
(license license:asl2.0)))
(define-public terraform
(package
2024-06-07 11:26:10 +02:00
(name "terraform")
2024-06-06 21:10:44 +02:00
(version "1.8.4")
2024-06-07 11:31:47 +02:00
(source
(origin
(method url-fetch)
(uri (string-append
"https://releases.hashicorp.com/terraform/" version
"/terraform_" version "_linux_amd64.zip"))
(sha256
(base32
"1i181cmzwlrx8d40z1spilcwgnhkzwalrg8822d23sqdmrs7a5hj"))))
2024-06-06 21:10:44 +02:00
(build-system binary-build-system)
(supported-systems '("x86_64-linux"))
2024-06-07 11:31:47 +02:00
(arguments
'(
#:install-plan
`(("." ("terraform") "bin/"))
#:phases
(modify-phases
%standard-phases
(replace 'unpack
(lambda* (#:key inputs #:allow-other-keys)
(system* (which "unzip")
(assoc-ref inputs "source"))
#t)))))
2024-06-06 21:10:44 +02:00
(native-inputs
`(("unzip" ,unzip)))
(synopsis "A tool to describe and deploy infrastructure as code")
(description
2024-06-07 11:31:47 +02:00
"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.")
2024-06-06 21:10:44 +02:00
(home-page "https://hashicorp.com/terraform")
(license #f)))
2024-06-07 11:34:22 +02:00
(define-public terraform-1.6
2024-06-06 21:10:44 +02:00
(package
2024-06-07 11:21:23 +02:00
(inherit terraform)
(version "1.6.6")
(source (origin
(method url-fetch)
2024-06-07 11:31:47 +02:00
(uri (string-append
"https://releases.hashicorp.com/terraform/" version
"/terraform_" version "_linux_amd64.zip"))
2024-06-07 11:21:23 +02:00
(sha256
(base32
2024-06-07 11:31:47 +02:00
"002g0ypkkfqy5nf989jyk3m1l7l0455hsaq11xfhr5lbv4zqh5yi"))))))
2024-06-07 11:21:23 +02:00
(define-public vault
(package
2024-06-07 11:26:10 +02:00
(name "vault")
2024-06-07 11:21:23 +02:00
(version "1.16.3")
(source (origin
(method url-fetch)
2024-06-07 11:31:47 +02:00
(uri (string-append
"https://releases.hashicorp.com/vault/" version
"/vault_" version "_linux_amd64.zip"))
2024-06-07 11:21:23 +02:00
(sha256
(base32
2024-06-07 11:31:47 +02:00
"1n3147l5slzmw7svqdwbhzxybzl5597jb64i4hvsrhswqnnx8cya"))))
2024-06-07 11:21:23 +02:00
(build-system binary-build-system)
(supported-systems '("x86_64-linux"))
2024-06-07 11:31:47 +02:00
(arguments
'(
#:install-plan
`(("." ("vault") "bin/"))
#:phases
(modify-phases
%standard-phases
(replace 'unpack
(lambda* (#:key inputs #:allow-other-keys)
(system* (which "unzip")
(assoc-ref inputs "source"))
#t)))))
2024-06-07 11:21:23 +02:00
(native-inputs
`(("unzip" ,unzip)))
2024-06-07 11:26:10 +02:00
(synopsis "Tool to describe and deploy secrets")
2024-06-07 11:21:23 +02:00
(description
"Vault allows you to store and distribute secrets securely.")
(home-page "https://hashicorp.com/vault")
(license #f)))
2024-06-06 21:10:44 +02:00
2024-06-10 16:51:43 +02:00
(define-public starship
(package
(name "starship")
(version "1.19.0")
(source (origin
(method url-fetch)
(uri (string-append
"https://github.com/starship/starship/releases/download/v"
version
"/starship-x86_64-unknown-linux-musl.tar.gz"))
(sha256
(base32
"0nk7da0lyqfk6ikkc946vz6k6j9bi58si1z7119237nqsw336a54"))))
(build-system binary-build-system)
(supported-systems '("x86_64-linux"))
(arguments
'(
#:install-plan
`(("." ("starship") "bin/"))
))
(synopsis "Tool to create a dynamic prompt in the terminal.")
(description
"Starship is a blazingly fast terminal prompt.")
(home-page "https://starship.rs")
(license license:isc)))
starship