gnu: chezmoi: Update to 1.8.10.
* gnu/packages/configuration-management.scm (chezmoi): Update to 1.8.10. [arguments] <#:phases>: Add 'remove-failing-test-scripts phase, deleting testdata scripts requiring additional programs. [native-inputs]: Remove go-github-com-bmatcuk-doublestar and go-github-com-google-go-github; add go-github-com-bmatcuk-doublestar-v2, go-github-com-google-go-github-v33, and go-golang-org-x-term. Change-Id: Ia0b9b7e4dd00e99bc8150816c46b456cc272b25cmaster
parent
ac79a4a8e6
commit
193a01d73f
|
@ -33,9 +33,7 @@
|
||||||
(define-public chezmoi
|
(define-public chezmoi
|
||||||
(package
|
(package
|
||||||
(name "chezmoi")
|
(name "chezmoi")
|
||||||
;; XXX: Make sure 7f238faa61e46d79b54d4d0ea8f0b5fc27db84b2 applied before
|
(version "1.8.10")
|
||||||
;; version update, which should fix @code{password-store} integration.
|
|
||||||
(version "1.8.1")
|
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
|
@ -44,24 +42,53 @@
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1b8y0wq3myhvjdnwl0i4x85iil7i7kmsjajvbw1a47afm83jkbaw"))))
|
"0ildvlq7v8vnw74y4fgnv3hpq49bpl6zh1wmakfh46crwg7ffmjb"))))
|
||||||
(build-system go-build-system)
|
(build-system go-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:import-path "github.com/twpayne/chezmoi"
|
`(#:import-path "github.com/twpayne/chezmoi"
|
||||||
;; We don't need to install the source code for end-user applications.
|
#:install-source? #f
|
||||||
#:install-source? #f))
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
;; Remove test script which expect additional user's programs available
|
||||||
|
;; in the PATH. The testdata directory is removed in the latest version
|
||||||
|
;; (2.46.1) of the program.
|
||||||
|
(add-after 'unpack 'remove-failing-test-scripts
|
||||||
|
(lambda* (#:key import-path #:allow-other-keys)
|
||||||
|
(for-each (lambda (f)
|
||||||
|
(delete-file (string-append "src/" import-path "/testdata/scripts/" f)))
|
||||||
|
'("bitwarden.txt"
|
||||||
|
"cd.txt"
|
||||||
|
"cd_unix.txt"
|
||||||
|
"completion.txt"
|
||||||
|
"diff.txt"
|
||||||
|
"edit.txt"
|
||||||
|
"editconfig.txt"
|
||||||
|
"git.txt"
|
||||||
|
"gopass.txt"
|
||||||
|
"keepassxc.txt"
|
||||||
|
"lastpass.txt"
|
||||||
|
"onepassword.txt"
|
||||||
|
"pass.txt"
|
||||||
|
"runscriptdir_unix.txt"
|
||||||
|
"script_unix.txt"
|
||||||
|
"secretgeneric.txt"
|
||||||
|
"secretgopass.txt"
|
||||||
|
"secretkeepassxc.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
|
||||||
go-github-com-aymerick-douceur
|
go-github-com-aymerick-douceur
|
||||||
go-github-com-bmatcuk-doublestar
|
go-github-com-bmatcuk-doublestar-v2
|
||||||
go-github-com-charmbracelet-glamour
|
go-github-com-charmbracelet-glamour
|
||||||
go-github-com-chris-ramon-douceur
|
go-github-com-chris-ramon-douceur
|
||||||
go-github-com-coreos-go-semver
|
go-github-com-coreos-go-semver
|
||||||
go-github-com-danwakefield-fnmatch
|
go-github-com-danwakefield-fnmatch
|
||||||
go-github-com-dlclark-regexp2
|
go-github-com-dlclark-regexp2
|
||||||
go-github-com-godbus-dbus
|
go-github-com-godbus-dbus
|
||||||
go-github-com-google-go-github
|
go-github-com-google-go-github-v33
|
||||||
go-github-com-google-go-querystring
|
go-github-com-google-go-querystring
|
||||||
go-github-com-google-goterm
|
go-github-com-google-goterm
|
||||||
go-github-com-google-renameio
|
go-github-com-google-renameio
|
||||||
|
@ -100,6 +127,7 @@
|
||||||
go-golang-org-x-crypto
|
go-golang-org-x-crypto
|
||||||
go-golang-org-x-net
|
go-golang-org-x-net
|
||||||
go-golang-org-x-oauth2
|
go-golang-org-x-oauth2
|
||||||
|
go-golang-org-x-term
|
||||||
go-gopkg-in-errgo-fmt-errors))
|
go-gopkg-in-errgo-fmt-errors))
|
||||||
(home-page "https://www.chezmoi.io/")
|
(home-page "https://www.chezmoi.io/")
|
||||||
(synopsis "Personal configuration files manager")
|
(synopsis "Personal configuration files manager")
|
||||||
|
|
Reference in New Issue