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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
|
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
setuptools-scm,
wheel,
colorama,
configupdater,
importlib-metadata,
packaging,
platformdirs,
tomlkit,
pre-commit,
pyscaffoldext-cookiecutter,
pyscaffoldext-custom-extension,
pyscaffoldext-django,
pyscaffoldext-dsproject,
pyscaffoldext-markdown,
pyscaffoldext-travis,
virtualenv,
build,
certifi,
flake8,
pytest,
pytest-cov,
pytest-randomly,
pytest-xdist,
sphinx,
tox,
}:
buildPythonPackage rec {
pname = "pyscaffold";
version = "4.5";
pyproject = true;
src = fetchPypi {
pname = "PyScaffold";
inherit version;
hash = "sha256-2En5ouFb3PFl4Z+Wg18LF+Gi1Z1MVhxEW4J6CB3m0mI=";
};
nativeBuildInputs = [
setuptools
setuptools-scm
wheel
];
postPatch = ''
substituteInPlace setup.cfg --replace "platformdirs>=2,<4" "platformdirs"
'';
propagatedBuildInputs = [
colorama
configupdater
importlib-metadata
packaging
platformdirs
setuptools
setuptools-scm
tomlkit
];
passthru.optional-dependencies = {
all = [
pre-commit
pyscaffoldext-cookiecutter
pyscaffoldext-custom-extension
pyscaffoldext-django
pyscaffoldext-dsproject
pyscaffoldext-markdown
pyscaffoldext-travis
virtualenv
];
ds = [ pyscaffoldext-dsproject ];
md = [ pyscaffoldext-markdown ];
testing = [
build
certifi
flake8
pre-commit
pytest
pytest-cov
pytest-randomly
pytest-xdist
setuptools
setuptools-scm
sphinx
tomlkit
tox
virtualenv
wheel
];
};
pythonImportsCheck = [ "pyscaffold" ];
meta = with lib; {
description = "Template tool for putting up the scaffold of a Python project";
mainProgram = "putup";
homepage = "https://pypi.org/project/PyScaffold/";
license = licenses.mit;
maintainers = with maintainers; [ matthewcroughan ];
};
}
|