Compare commits

...

2 Commits

Author SHA1 Message Date
536f02f46d Add yq package 2024-02-11 13:08:30 -05:00
ba60f0e0b4 Fix kubectl definition 2024-02-11 13:08:21 -05:00
2 changed files with 32 additions and 4 deletions

View File

@@ -15,10 +15,10 @@
(sha256 (base32 "1qx7gb6gavc4nj98przr7vaa5hafp4zgblsdccvgs68ic7h1ydf8"))))
(build-system copy-build-system)
(arguments
`(#:phases (modify-phases %standard-phases)
(add-after 'unpack 'chmod
(lambda* (#:key #:allow-other-keys)
(cmod "kubectl" #o755)))
`(#:phases (modify-phases %standard-phases
(add-after 'unpack 'chmod
(lambda* (#:key #:allow-other-keys)
(chmod "kubectl" #o755))))
#:substitutable? #f
#:install-plan '(("kubectl" "/bin/"))))
(synopsis "kubectl binary")

28
adam/packages/markups.scm Normal file
View File

@@ -0,0 +1,28 @@
(define-module (adam packages markups)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system copy)
#:use-module ((guix licenses) #:prefix license:))
;;https://github.com/mikefarah/yq/releases/download/v4.40.7/yq_linux_amd64
(define-public yq
(package
(name "yq")
(version "4.40.7")
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/mikefarah/yq/releases/download/v" version "/yq_linux_amd64"))
(sha256 (base32 "1va8ky7ipsnp226amyldmqhcjz7009scing7c67px7x40f9yw4sg"))))
(build-system copy-build-system)
(arguments
`(#:phases (modify-phases %standard-phases
(add-after 'unpack 'chmod
(lambda* (#:key #:allow-other-keys)
(chmod "yq_linux_amd64" #o755))))
#:substitutable? #f
#:install-plan '(("yq_linux_amd64" "/bin/yq"))))
(synopsis "Yaml parser")
(description "Yaml parser")
(home-page "https://github.com/mikefarah/yq")
(license license:expat)))