1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 hatchling, 6 hatch-vcs, 7 pydantic, 8 requests, 9}: 10 11buildPythonPackage rec { 12 pname = "atopile-easyeda2kicad"; 13 version = "0.9.6"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "atopile"; 18 repo = "easyeda2kicad.py"; 19 tag = "v${version}"; 20 hash = "sha256-0d7lcs/aWSwxGBEIGkEcKc7SwBCqjBdoJIlCnLh8RFA="; 21 }; 22 23 build-system = [ 24 hatchling 25 hatch-vcs 26 ]; 27 28 dependencies = [ 29 pydantic 30 requests 31 ]; 32 33 pythonImportsCheck = [ "easyeda2kicad" ]; 34 35 doCheck = false; # no tests 36 37 meta = { 38 description = "Convert any LCSC components (including EasyEDA) to KiCad library"; 39 homepage = "https://github.com/atopile/easyeda2kicad.py"; 40 changelog = "https://github.com/atopile/easyeda2kicad.py/releases/tag/${src.tag}"; 41 license = lib.licenses.agpl3Only; 42 maintainers = with lib.maintainers; [ sigmanificient ]; 43 mainProgram = "easyeda2kicad"; 44 }; 45}