1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
{
buildPythonPackage,
colorama,
decorator,
dunamai,
fetchFromGitHub,
funcy,
git,
hatchling,
hatch-vcs,
iteration-utilities,
jinja2,
jinja2-ansible-filters,
lib,
mkdocs-material,
mkdocs-mermaid2-plugin,
nix-update-script,
mkdocstrings,
packaging,
pathspec,
plumbum,
pydantic,
pygments,
pyyaml,
pyyaml-include,
questionary,
}:
buildPythonPackage rec {
pname = "copier";
version = "9.11.1";
pyproject = true;
src = fetchFromGitHub {
owner = "copier-org";
repo = "copier";
tag = "v${version}";
# Conflict on APFS on darwin
postFetch = ''
rm $out/tests/demo/doc/ma*ana.txt
'';
hash = "sha256-5Rv+Pg23KDEmaTa7C9A5xLcEoneuAMiaZq/obOs0vg8=";
};
POETRY_DYNAMIC_VERSIONING_BYPASS = version;
build-system = [
hatchling
hatch-vcs
];
dependencies = [
colorama
decorator
dunamai
funcy
iteration-utilities
jinja2
jinja2-ansible-filters
mkdocs-material
mkdocs-mermaid2-plugin
mkdocstrings
packaging
pathspec
plumbum
pydantic
pygments
pyyaml
pyyaml-include
questionary
];
makeWrapperArgs = [ "--suffix PATH : ${lib.makeBinPath [ git ]}" ];
passthru.updateScript = nix-update-script { };
meta = {
description = "Library and command-line utility for rendering projects templates";
homepage = "https://copier.readthedocs.io";
changelog = "https://github.com/copier-org/copier/blob/${src.tag}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
greg
savtrip
];
mainProgram = "copier";
};
}
|