remove butler

This commit is contained in:
Peter Tillemans 2024-06-06 21:28:33 +02:00
parent ed52b1f5d4
commit 7af25724b2

View file

@ -1,43 +1,17 @@
(define-module (snamellit tools)
#: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))
#: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))
(define-public 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)))
(define-public gradle
(package
(name "gradle")
@ -66,22 +40,22 @@
(uri (string-append "https://releases.hashicorp.com/terraform/" version "/terraform_" version "_linux_amd64.zip"))
(sha256
(base32
"1i181cmzwlrx8d40z1spilcwgnhkzwalrg8822d23sqdmrs7a5hj"))))
"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)))))
#: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)))