tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
python3Packages.atopile: init at 0.2.69
Sigmanificient
10 months ago
b0ddacd1
57309852
+128
2 changed files
expand all
collapse all
unified
split
pkgs
development
python-modules
atopile
default.nix
top-level
python-packages.nix
+126
pkgs/development/python-modules/atopile/default.nix
···
1
1
+
{
2
2
+
lib,
3
3
+
buildPythonPackage,
4
4
+
fetchFromGitHub,
5
5
+
# build-system
6
6
+
hatchling,
7
7
+
scikit-build-core,
8
8
+
hatch-vcs,
9
9
+
nanobind,
10
10
+
# deps
11
11
+
antlr4-python3-runtime,
12
12
+
attrs,
13
13
+
case-converter,
14
14
+
cattrs,
15
15
+
click,
16
16
+
deepdiff,
17
17
+
easyeda2ato,
18
18
+
eseries,
19
19
+
fake-useragent,
20
20
+
fastapi,
21
21
+
gitpython,
22
22
+
igraph,
23
23
+
jinja2,
24
24
+
natsort,
25
25
+
networkx,
26
26
+
pandas,
27
27
+
pint,
28
28
+
pygls,
29
29
+
quart-cors,
30
30
+
quart-schema,
31
31
+
quart,
32
32
+
rich,
33
33
+
ruamel-yaml,
34
34
+
schema,
35
35
+
scipy,
36
36
+
semver,
37
37
+
toolz,
38
38
+
urllib3,
39
39
+
uvicorn,
40
40
+
watchfiles,
41
41
+
pyyaml,
42
42
+
# tests
43
43
+
pytestCheckHook,
44
44
+
pytest-xdist,
45
45
+
pytest-timeout,
46
46
+
}:
47
47
+
48
48
+
buildPythonPackage rec {
49
49
+
pname = "atopile";
50
50
+
version = "0.2.69";
51
51
+
pyproject = true;
52
52
+
53
53
+
src = fetchFromGitHub {
54
54
+
owner = "atopile";
55
55
+
repo = "atopile";
56
56
+
tag = "v${version}";
57
57
+
hash = "sha256-mQYnaWch0lVzz1hV6WboYxBGe3ruw+mK2AwMx13DQJM=";
58
58
+
};
59
59
+
60
60
+
build-system = [
61
61
+
hatchling
62
62
+
scikit-build-core
63
63
+
hatch-vcs
64
64
+
nanobind
65
65
+
];
66
66
+
67
67
+
dependencies = [
68
68
+
antlr4-python3-runtime
69
69
+
attrs
70
70
+
case-converter
71
71
+
cattrs
72
72
+
click
73
73
+
deepdiff
74
74
+
easyeda2ato
75
75
+
eseries
76
76
+
fake-useragent
77
77
+
fastapi
78
78
+
gitpython
79
79
+
igraph
80
80
+
jinja2
81
81
+
natsort
82
82
+
networkx
83
83
+
pandas
84
84
+
pint
85
85
+
pygls
86
86
+
quart-cors
87
87
+
quart-schema
88
88
+
quart
89
89
+
rich
90
90
+
ruamel-yaml
91
91
+
schema
92
92
+
scipy
93
93
+
semver
94
94
+
toolz
95
95
+
urllib3
96
96
+
uvicorn
97
97
+
watchfiles
98
98
+
pyyaml # required for ato
99
99
+
];
100
100
+
101
101
+
pythonRelaxDeps = [ "antlr4-python3-runtime" ];
102
102
+
103
103
+
pythonImportsCheck = [ "atopile" ];
104
104
+
105
105
+
preCheck = ''
106
106
+
substituteInPlace pyproject.toml \
107
107
+
--replace-fail "--html=artifacts/test-report.html" "" \
108
108
+
--replace-fail "--self-contained-html" ""
109
109
+
'';
110
110
+
111
111
+
nativeCheckInputs = [
112
112
+
pytestCheckHook
113
113
+
pytest-xdist
114
114
+
pytest-timeout
115
115
+
];
116
116
+
117
117
+
meta = {
118
118
+
description = "Design circuit boards with code";
119
119
+
homepage = "https://aiopg.readthedocs.io/";
120
120
+
downloadPage = "https://github.com/atopile/atopile";
121
121
+
changelog = "https://github.com/atopile/atopile/releases/tag/${src.rev}";
122
122
+
license = with lib.licenses; [ mit ];
123
123
+
maintainers = with lib.maintainers; [ sigmanificient ];
124
124
+
mainProgram = "ato";
125
125
+
};
126
126
+
}
+2
pkgs/top-level/python-packages.nix
···
996
996
997
997
atomicwrites-homeassistant = callPackage ../development/python-modules/atomicwrites-homeassistant { };
998
998
999
999
+
atopile = callPackage ../development/python-modules/atopile { };
1000
1000
+
999
1001
atomman = callPackage ../development/python-modules/atomman { };
1000
1002
1001
1003
atproto = callPackage ../development/python-modules/atproto { };