me
/
guix
Archived
1
0
Fork 0

gnu: chezmoi: Refresh package style.

* gnu/packages/configuration-management.scm (chezmoi): Use G-expressions
and list style, re-indent.
[arguments]: <#:go>: Set to go-1.21.

Change-Id: I5a7a4deffcd8b9102614b3f628a7ddd33ee82633
master
Sharlatan Hellseher 2024-06-18 17:47:39 +01:00
parent aa32bdfa78
commit 77ec077071
No known key found for this signature in database
GPG Key ID: 76D727BFF62CD2B5
1 changed files with 36 additions and 32 deletions

View File

@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com> ;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2024 Sharlatan Hellseher <sharlatanus@gmail.com>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -19,6 +20,7 @@
(define-module (gnu packages configuration-management) (define-module (gnu packages configuration-management)
#:use-module (gnu packages) #:use-module (gnu packages)
#:use-module (guix build-system go) #:use-module (guix build-system go)
#:use-module (guix gexp)
#:use-module (guix git-download) #:use-module (guix git-download)
#:use-module (gnu packages golang) #:use-module (gnu packages golang)
#:use-module (gnu packages golang-build) #:use-module (gnu packages golang-build)
@ -45,38 +47,40 @@
"0ildvlq7v8vnw74y4fgnv3hpq49bpl6zh1wmakfh46crwg7ffmjb")))) "0ildvlq7v8vnw74y4fgnv3hpq49bpl6zh1wmakfh46crwg7ffmjb"))))
(build-system go-build-system) (build-system go-build-system)
(arguments (arguments
`(#:import-path "github.com/twpayne/chezmoi" (list
#:install-source? #f #:go go-1.21
#:phases #:import-path "github.com/twpayne/chezmoi"
(modify-phases %standard-phases #:install-source? #f
;; Remove test script which expect additional user's programs available #:phases
;; in the PATH. The testdata directory is removed in the latest version #~(modify-phases %standard-phases
;; (2.46.1) of the program. ;; Remove test script which expect additional user's programs available
(add-after 'unpack 'remove-failing-test-scripts ;; in the PATH. The testdata directory is removed in the latest version
(lambda* (#:key import-path #:allow-other-keys) ;; (2.46.1) of the program.
(for-each (lambda (f) (add-after 'unpack 'remove-failing-test-scripts
(delete-file (string-append "src/" import-path "/testdata/scripts/" f))) (lambda* (#:key import-path #:allow-other-keys)
'("bitwarden.txt" (for-each (lambda (f)
"cd.txt" (delete-file (string-append "src/" import-path "/testdata/scripts/" f)))
"cd_unix.txt" '("bitwarden.txt"
"completion.txt" "cd.txt"
"diff.txt" "cd_unix.txt"
"edit.txt" "completion.txt"
"editconfig.txt" "diff.txt"
"git.txt" "edit.txt"
"gopass.txt" "editconfig.txt"
"keepassxc.txt" "git.txt"
"lastpass.txt" "gopass.txt"
"onepassword.txt" "keepassxc.txt"
"pass.txt" "lastpass.txt"
"runscriptdir_unix.txt" "onepassword.txt"
"script_unix.txt" "pass.txt"
"secretgeneric.txt" "runscriptdir_unix.txt"
"secretgopass.txt" "script_unix.txt"
"secretkeepassxc.txt" "secretgeneric.txt"
"secretlastpass.txt" "secretgopass.txt"
"secretonepassword.txt" "secretkeepassxc.txt"
"secretpass.txt"))))))) "secretlastpass.txt"
"secretonepassword.txt"
"secretpass.txt")))))))
(native-inputs (native-inputs
(list go-etcd-io-bbolt (list go-etcd-io-bbolt
go-github-com-alecthomas-chroma go-github-com-alecthomas-chroma