move packages to tools module in snamellit ns

This commit is contained in:
Peter Tillemans 2024-06-04 14:19:06 +02:00
parent 007670f067
commit d7950de85a
5 changed files with 0 additions and 224 deletions

View file

@ -1,53 +0,0 @@
(define-module (snam-babashka)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix utils)
#:use-module (gnu packages base)
#:use-module (gnu packages compression)
#:use-module (gnu packages gcc)
#:use-module (nonguix build-system binary))
(define-public snam-babashka
(package
(name "snam-babashka")
(version "1.3.186")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/borkdude/babashka/releases/download/v" version "/babashka-" version "-linux-amd64.tar.gz"))
(sha256
(base32
"039ak593vmqrw3yhglfdh8rmvwj2aznwqfy6yvfca1wlk1827c3l"))))
(build-system binary-build-system)
(supported-systems '("x86_64-linux" "i686-linux"))
(arguments
`(#:patchelf-plan
`(("bb"
("libc" "zlib" "libstdc++" "gcc:lib")))
#:install-plan
`(("." ("bb") "bin/"))
#:phases
(modify-phases %standard-phases
;; this is required because standard unpack expects
;; the archive to contain a directory with everything inside it,
;; while babashka's release .tar.gz only contains the `bb` binary.
(replace 'unpack
(lambda* (#:key inputs #:allow-other-keys)
(system* (which "tar")
"-xf"
(assoc-ref inputs "source"))
#t)))))
(inputs
`(("libstdc++" ,(make-libstdc++ gcc))
("zlib" ,zlib)))
(native-inputs
`(("tar" ,tar)))
(synopsis "A Clojure babushka for the grey areas of Bash")
(description
"The main idea behind babashka is to leverage Clojure in places
where you would be using bash otherwise.")
(home-page "https://github.com/borkdude/babashka")
(license license:epl1.0)))
snam-babashka

View file

@ -1,36 +0,0 @@
(define-module (snam-butler)
#:use-module (nonguix build-system binary)
#:use-module (gnu packages base)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix gexp))
(define-public snam-butler
(package
(name "butler")
(version "15.21.0")
(source (origin
(method url-fetch/zipbomb)
(uri (string-append
"https://broth.itch.ovh/butler/linux-amd64/" version "/archive/default"))
(sha256
(base32
"071frbwjclb0g9gkfh2lxcbkk4c57jhppr8f3dhcgbswvvmgqh5n"))))
(build-system binary-build-system)
(arguments
(list #:install-plan #~'(("butler" "bin/") ("7z.so" "lib") ("libc7zip.so" "lib"))
#:patchelf-plan #~'(("butler"))
#:phases #~(modify-phases %standard-phases
(add-after 'unpack 'chmod
(lambda _
(chmod "butler" #o755))))))
(inputs (list glibc))
(supported-systems '("x86_64-linux"))
(home-page "https://github.com/itchio/butler")
(synopsis "Itch.io command line tools")
(description "A command line interface to Itch.io which enables automated game project uploads.")
(license license:expat)))
snam-butler

View file

@ -1,27 +0,0 @@
(define-module (snam-gradle)
#:use-module (guix licenses)
#:use-module (guix packages)
#:use-module (gnu packages compression)
#:use-module (gnu packages java)
#:use-module (guix build-system copy)
#:use-module (guix download))
(define-public snam-gradle
(package
(name "snam-gradle")
(version "8.4")
(source (origin
(method url-fetch)
(uri (string-append "https://downloads.gradle.org/distributions/gradle-" version "-bin.zip"))
(sha256
(base32 "1bkjxw7i0lm17pdyyvka4xpl6z0cdj0izagphync6839i2pg66iy"))))
(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 asl2.0)))
snam-gradle

View file

@ -1,25 +0,0 @@
(define-module (snam-maven)
#:use-module (guix licenses)
#:use-module (guix packages)
#:use-module (guix build-system copy)
#:use-module (guix download))
(define-public snam-maven
(package
(name "snam-maven")
(version "3.9.5")
(source (origin
(method url-fetch)
(uri (string-append "https://dlcdn.apache.org/maven/maven-3/" version "/binaries/apache-maven-" version
"-bin.tar.gz"))
(sha256
(base32
"0z7ghjfi3w7r9ax56dzg714zq5g0cnbkkxj25qgfh7q40nqp5ljz"))))
(build-system copy-build-system)
(synopsis "My Maven, a java build system.")
(description
"Maven is a standard build system and package manager for java programs")
(home-page "https://maven.apache.org/")
(license asl2.0)))
snam-maven

View file

@ -1,83 +0,0 @@
(define-module (terraform)
#:use-module (guix packages)
#:use-module (gnu packages golang)
#:use-module (gnu packages base)
#:use-module (gnu packages compression)
#:use-module (gnu packages gcc)
#:use-module (guix download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (nonguix build-system binary))
(define-public snam-terraform
(package
(name "snam-terraform")
(version "1.8.4")
(source (origin
(method url-fetch)
(uri (string-append "https://releases.hashicorp.com/terraform/" version "/terraform_" version "_linux_amd64.zip"))
(sha256
(base32
"1i181cmzwlrx8d40z1spilcwgnhkzwalrg8822d23sqdmrs7a5hj"))))
(build-system binary-build-system)
(supported-systems '("x86_64-linux"))
(arguments '(
#:install-plan
`(("." ("terraform") "bin/"))
#:phases
(modify-phases %standard-phases
;; this is required because standard unpack expects
;; the archive to contain a directory with everything inside it,
;; while babashka's release .tar.gz only contains the `bb` binary.
(replace 'unpack
(lambda* (#:key inputs #:allow-other-keys)
(system* (which "unzip")
(assoc-ref inputs "source"))
#t)))))
(inputs
`(("libstdc++" ,(make-libstdc++ gcc))
("zlib" ,zlib)))
(native-inputs
`(("unzip" ,unzip)))
(synopsis "A tool to describe and deploy infrastructure as code")
(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.")
(home-page "https://hashicorp.com/terraform")
(license #f)))
(define-public snam-terraform-1.6
(package
(name "snam-terraform-1.6")
(version "1.6.6")
(source (origin
(method url-fetch)
(uri (string-append "https://releases.hashicorp.com/terraform/" version "/terraform_" version "_linux_amd64.zip"))
(sha256
(base32
"002g0ypkkfqy5nf989jyk3m1l7l0455hsaq11xfhr5lbv4zqh5yi"))))
(build-system binary-build-system)
(supported-systems '("x86_64-linux"))
(arguments '(
#:install-plan
`(("." ("terraform") "bin/"))
#:phases
(modify-phases %standard-phases
;; this is required because standard unpack expects
;; the archive to contain a directory with everything inside it,
;; while babashka's release .tar.gz only contains the `bb` binary.
(replace 'unpack
(lambda* (#:key inputs #:allow-other-keys)
(system* (which "unzip")
(assoc-ref inputs "source"))
#t)))))
(inputs
`(("libstdc++" ,(make-libstdc++ gcc))
("zlib" ,zlib)))
(native-inputs
`(("unzip" ,unzip)))
(synopsis "A tool to describe and deploy infrastructure as code")
(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.")
(home-page "https://hashicorp.com/terraform")
(license #f)))
snam-terraform-1.6