remove butler
This commit is contained in:
parent
abf1dc8695
commit
e541dd7597
2 changed files with 37 additions and 100 deletions
|
@ -11,43 +11,43 @@
|
||||||
|
|
||||||
(define-public snam-babashka
|
(define-public snam-babashka
|
||||||
(package
|
(package
|
||||||
(name "snam-babashka")
|
(name "snam-babashka")
|
||||||
(version "1.3.186")
|
(version "1.3.186")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "https://github.com/borkdude/babashka/releases/download/v" version "/babashka-" version "-linux-amd64.tar.gz"))
|
(uri (string-append "https://github.com/borkdude/babashka/releases/download/v" version "/babashka-" version "-linux-amd64.tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"039ak593vmqrw3yhglfdh8rmvwj2aznwqfy6yvfca1wlk1827c3l"))))
|
"039ak593vmqrw3yhglfdh8rmvwj2aznwqfy6yvfca1wlk1827c3l"))))
|
||||||
(build-system binary-build-system)
|
(build-system binary-build-system)
|
||||||
(supported-systems '("x86_64-linux" "i686-linux"))
|
(supported-systems '("x86_64-linux" "i686-linux"))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:patchelf-plan
|
`(#:patchelf-plan
|
||||||
`(("bb"
|
`(("bb"
|
||||||
("libc" "zlib" "libstdc++")))
|
("libc" "zlib" "libstdc++" "gcc:lib")))
|
||||||
#:install-plan
|
#:install-plan
|
||||||
`(("." ("bb") "bin/"))
|
`(("." ("bb") "bin/"))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
;; this is required because standard unpack expects
|
;; this is required because standard unpack expects
|
||||||
;; the archive to contain a directory with everything inside it,
|
;; the archive to contain a directory with everything inside it,
|
||||||
;; while babashka's release .tar.gz only contains the `bb` binary.
|
;; while babashka's release .tar.gz only contains the `bb` binary.
|
||||||
(replace 'unpack
|
(replace 'unpack
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(system* (which "tar")
|
(system* (which "tar")
|
||||||
"-xf"
|
"-xf"
|
||||||
(assoc-ref inputs "source"))
|
(assoc-ref inputs "source"))
|
||||||
#t)))))
|
#t)))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("libstdc++" ,(make-libstdc++ gcc))
|
`(("libstdc++" ,(make-libstdc++ gcc))
|
||||||
("zlib" ,zlib)))
|
("zlib" ,zlib)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("tar" ,tar)))
|
`(("tar" ,tar)))
|
||||||
(synopsis "A Clojure babushka for the grey areas of Bash")
|
(synopsis "A Clojure babushka for the grey areas of Bash")
|
||||||
(description
|
(description
|
||||||
"The main idea behind babashka is to leverage Clojure in places
|
"The main idea behind babashka is to leverage Clojure in places
|
||||||
where you would be using bash otherwise.")
|
where you would be using bash otherwise.")
|
||||||
(home-page "https://github.com/borkdude/babashka")
|
(home-page "https://github.com/borkdude/babashka")
|
||||||
(license license:epl1.0)))
|
(license license:epl1.0)))
|
||||||
|
|
||||||
snam-babashka
|
snam-babashka
|
||||||
|
|
|
@ -1,63 +0,0 @@
|
||||||
(define-module (snam-butler)
|
|
||||||
#: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))
|
|
||||||
|
|
||||||
|
|
||||||
(use-modules (srfi srfi-8)
|
|
||||||
(web client)
|
|
||||||
(web response)
|
|
||||||
(web uri))
|
|
||||||
|
|
||||||
(define-public snam-butler
|
|
||||||
(package
|
|
||||||
(name "snam-butler")
|
|
||||||
(version "15.21.0")
|
|
||||||
(source (origin
|
|
||||||
(method url-fetch)
|
|
||||||
(uri (uri->string
|
|
||||||
(receive (response _txt) (http-get (string-append "https://broth.itch.zone/butler/linux-amd64/" version "/archive/default"))
|
|
||||||
(response-location response))))
|
|
||||||
(sha256
|
|
||||||
(base32
|
|
||||||
"071frbwjclb0g9gkfh2lxcbkk4c57jhppr8f3dhcgbswvvmgqh5n"))))
|
|
||||||
(build-system binary-build-system)
|
|
||||||
(supported-systems '("x86_64-linux"))
|
|
||||||
(arguments
|
|
||||||
`(#:patchelf-plan
|
|
||||||
`(("butler"
|
|
||||||
("libc" "zlib" "libstdc++")))
|
|
||||||
#:install-plan
|
|
||||||
`(("." ("butler") "bin/"))
|
|
||||||
#:phases
|
|
||||||
(modify-phases %standard-phases
|
|
||||||
;; this is required because standard unpack expects
|
|
||||||
;; the archive to contain a directory with everything inside it,
|
|
||||||
;; while butler's release .tar.gz only contains the `bb` binary.
|
|
||||||
(replace 'unpack
|
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
|
||||||
(system* (which "tar")
|
|
||||||
"-xzf"
|
|
||||||
(assoc-ref inputs "source"))
|
|
||||||
#t)))
|
|
||||||
))
|
|
||||||
(inputs
|
|
||||||
`(("zlib" ,zlib)))
|
|
||||||
(native-inputs
|
|
||||||
`(("tar" ,tar)))
|
|
||||||
(synopsis "The tool provided by itch.io to manage your itch.io games and tools")
|
|
||||||
(description
|
|
||||||
"butler is a small command-line tool that lets you:
|
|
||||||
|
|
||||||
- Upload builds of your games quickly & reliably to itch.io
|
|
||||||
- Generate patches and apply them offline
|
|
||||||
- Run a few other utility commands")
|
|
||||||
(home-page "https://itch.io/docs/butler/")
|
|
||||||
(license license:expat)))
|
|
||||||
|
|
||||||
snam-butler
|
|
Loading…
Reference in a new issue