2024-05-21 11:12:06 +02:00
|
|
|
(define-module (snam-butler)
|
2024-05-21 10:22:35 +02:00
|
|
|
#: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
|
2024-05-21 11:07:35 +02:00
|
|
|
(list #:install-plan #~'(("butler" "bin/") ("7z.so" "lib") ("libc7zip.so" "lib"))
|
2024-05-21 10:22:35 +02:00
|
|
|
#: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
|