1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 future,
6 kinparse,
7 pyspice,
8 graphviz,
9 sexpdata,
10}:
11buildPythonPackage rec {
12 pname = "skidl";
13 version = "2.0.1";
14 format = "setuptools";
15
16 src = fetchFromGitHub {
17 owner = "devbisme";
18 repo = "skidl";
19 tag = version;
20 sha256 = "sha256-EzKtXdQFB6kjaIuCYAsyFPlwmkefb5RJcnpFYCVHHb8=";
21 };
22
23 propagatedBuildInputs = [
24 future
25 kinparse
26 pyspice
27 graphviz
28 sexpdata
29 ];
30
31 # Checks require availability of the kicad symbol libraries.
32 doCheck = false;
33 pythonImportsCheck = [ "skidl" ];
34
35 meta = with lib; {
36 description = "SKiDL is a module that extends Python with the ability to design electronic circuits";
37 mainProgram = "netlist_to_skidl";
38 homepage = "https://devbisme.github.io/skidl/";
39 license = licenses.mit;
40 maintainers = with maintainers; [ matthuszagh ];
41 };
42}