1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6 pydantic,
7 requests,
8}:
9
10buildPythonPackage rec {
11 pname = "easyeda2ato";
12 version = "0.2.7";
13 pyproject = true;
14
15 # repo version does not match
16 src = fetchPypi {
17 inherit pname version;
18
19 hash = "sha256-bHhBN+h9Vx9Q4wZVKxMzkEEXzV7hKoQz8i+JpkSFsYA=";
20 };
21
22 build-system = [ setuptools ];
23
24 dependencies = [
25 pydantic
26 requests
27 ];
28
29 pythonImportsCheck = [ "easyeda2kicad" ];
30
31 doCheck = false; # no tests
32
33 meta = {
34 description = "Convert any LCSC components (including EasyEDA) to KiCad library";
35 homepage = "https://github.com/uPesy/easyeda2kicad.py";
36 changelog = "https://github.com/uPesy/easyeda2kicad.py/releases/tag/v${version}";
37 license = lib.licenses.agpl3Only;
38 maintainers = with lib.maintainers; [ sigmanificient ];
39 mainProgram = "easyeda2kicad";
40 };
41}