Commit | Line | Data |
---|---|---|
fdb77b36 OP |
1 | ;;; GNU Guix --- Functional package management for GNU |
2 | ;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com> | |
3 | ;;; | |
4 | ;;; This file is part of GNU Guix. | |
5 | ;;; | |
6 | ;;; GNU Guix is free software; you can redistribute it and/or modify it | |
7 | ;;; under the terms of the GNU General Public License as published by | |
8 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
9 | ;;; your option) any later version. | |
10 | ;;; | |
11 | ;;; GNU Guix is distributed in the hope that it will be useful, but | |
12 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | ;;; GNU General Public License for more details. | |
15 | ;;; | |
16 | ;;; You should have received a copy of the GNU General Public License | |
17 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | |
18 | ||
19 | (define-module (gnu packages configuration-management) | |
20 | #:use-module (gnu packages) | |
21 | #:use-module (guix build-system go) | |
22 | #:use-module (guix git-download) | |
23 | #:use-module (gnu packages golang) | |
24 | #:use-module (gnu packages version-control) | |
25 | #:use-module (gnu packages textutils) | |
26 | #:use-module ((guix licenses) #:prefix license:) | |
27 | #:use-module (guix packages) | |
28 | #:use-module (guix utils)) | |
29 | ||
30 | (define-public chezmoi | |
31 | (package | |
32 | (name "chezmoi") | |
33 | ;; XXX: Make sure 7f238faa61e46d79b54d4d0ea8f0b5fc27db84b2 applied before | |
34 | ;; version update, which should fix @code{password-store} integration. | |
35 | (version "1.8.1") | |
36 | (source (origin | |
37 | (method git-fetch) | |
38 | (uri (git-reference | |
39 | (url "https://github.com/twpayne/chezmoi") | |
40 | (commit (string-append "v" version)))) | |
41 | (file-name (git-file-name name version)) | |
42 | (sha256 | |
43 | (base32 | |
44 | "1b8y0wq3myhvjdnwl0i4x85iil7i7kmsjajvbw1a47afm83jkbaw")))) | |
45 | (build-system go-build-system) | |
46 | (arguments | |
47 | `(#:import-path "github.com/twpayne/chezmoi" | |
48 | ;; We don't need to install the source code for end-user applications. | |
49 | #:install-source? #f)) | |
50 | (native-inputs | |
51 | `(("go-github-com-masterminds-sprig" ,go-github-com-masterminds-sprig) | |
52 | ("go-github-com-masterminds-goutils" ,go-github-com-masterminds-goutils) | |
53 | ("go-github-com-masterminds-semver" ,go-github-com-masterminds-semver) | |
54 | ("go-github-com-google-uuid" ,go-github-com-google-uuid) | |
55 | ("go-github-com-huandu-xstrings" ,go-github-com-huandu-xstrings) | |
56 | ("go-github-com-imdario-mergo" ,go-github-com-imdario-mergo) | |
57 | ("go-github-com-mitchellh-reflectwalk" ,go-github-com-mitchellh-reflectwalk) | |
58 | ("go-github-com-mitchellh-copystructure" ,go-github-com-mitchellh-copystructure) | |
59 | ("go-github-com-bmatcuk-doublestar" ,go-github-com-bmatcuk-doublestar) | |
60 | ("go-github-com-charmbracelet-glamour" ,go-github-com-charmbracelet-glamour) | |
61 | ("go-github-com-alecthomas-chroma" ,go-github-com-alecthomas-chroma) | |
62 | ("go-github-com-coreos-go-semver" ,go-github-com-coreos-go-semver) | |
63 | ("go-github-com-danwakefield-fnmatch" ,go-github-com-danwakefield-fnmatch) | |
64 | ("go-github-com-dlclark-regexp2" ,go-github-com-dlclark-regexp2) | |
65 | ("go-github-go-git" ,go-github-go-git) | |
66 | ("go-github-com-google-go-github" ,go-github-com-google-go-github) | |
67 | ("go-github-com-google-go-querystring" ,go-github-com-google-go-querystring) | |
68 | ("go-github-com-google-renameio" ,go-github-com-google-renameio) | |
69 | ("go-github-com-microcosm-cc-bluemonday",go-github-com-microcosm-cc-bluemonday) | |
70 | ("go-github-com-aymerick-douceur" ,go-github-com-aymerick-douceur) | |
71 | ("go-github-com-chris-ramon-douceur" ,go-github-com-chris-ramon-douceur) | |
72 | ("go-github-com-gorilla-css" ,go-github-com-gorilla-css) | |
73 | ("go-github-com-muesli-reflow-ansi" ,go-github-com-muesli-reflow-ansi) | |
74 | ("go-github-com-muesli-reflow-wordwrap" ,go-github-com-muesli-reflow-wordwrap) | |
75 | ("go-github-com-muesli-reflow-indent" ,go-github-com-muesli-reflow-indent) | |
76 | ("go-github-com-muesli-reflow-padding" ,go-github-com-muesli-reflow-padding) | |
77 | ("go-github-com-muesli-termenv" ,go-github-com-muesli-termenv) | |
78 | ("go-github-com-google-goterm" ,go-github-com-google-goterm) | |
79 | ("go-golang-org-colorful" ,go-golang-org-colorful) | |
80 | ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty) | |
81 | ("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth) | |
82 | ("go-github-com-olekukonko-tablewriter" ,go-github-com-olekukonko-tablewriter) | |
83 | ("go-github-com-pelletier-go-toml" ,go-github-com-pelletier-go-toml) | |
84 | ("go-github-com-pkg-diff" ,go-github-com-pkg-diff) | |
85 | ("go-github-com-sergi-go-diff" ,go-github-com-sergi-go-diff) | |
86 | ("go-github-com-spf13-cobra" ,go-github-com-spf13-cobra) | |
87 | ("go-github-com-spf13-viper" ,go-github-com-spf13-viper) | |
88 | ("go-github-com-twpayne-go-shell" ,go-github-com-twpayne-go-shell) | |
89 | ("go-github-com-twpayne-go-vfs" ,go-github-com-twpayne-go-vfs) | |
90 | ("go-github-com-twpayne-go-vfsafero" ,go-github-com-twpayne-go-vfsafero) | |
91 | ("go-github-com-twpayne-go-xdg" ,go-github-com-twpayne-go-xdg) | |
92 | ("go-github-com-yuin-goldmark" ,go-github-com-yuin-goldmark) | |
93 | ("go-github-com-zalando-go-keyring" ,go-github-com-zalando-go-keyring) | |
94 | ("go-github-com-godbus-dbus" ,go-github-com-godbus-dbus) | |
95 | ("go-etcd-io-bbolt" ,go-etcd-io-bbolt) | |
96 | ("go-golang-org-x-crypto" ,go-golang-org-x-crypto) | |
97 | ("go-golang-org-x-net" ,go-golang-org-x-net) | |
98 | ("go-golang-org-x-oauth2" ,go-golang-org-x-oauth2) | |
99 | ("go-github-com-rogpeppe-go-internal" ,go-github-com-rogpeppe-go-internal) | |
100 | ("gopkg-in-errgo-fmt-errors" ,gopkg-in-errgo-fmt-errors))) | |
101 | (home-page "https://www.chezmoi.io/") | |
102 | (synopsis "Personal configuration files manager") | |
103 | (description "This package helps to manage personal configuration files | |
104 | across multiple machines.") | |
105 | (license license:expat))) |