about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/skidl/default.nix
blob: 2203dee0ca3f9abf7ab1a49e70f0b6be3f232a5e (plain) (blame)
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
{ lib
, buildPythonPackage
, fetchFromGitHub
, future
, kinparse
, pyspice
, graphviz
}:

buildPythonPackage rec {
  pname = "skidl";
  version = "1.0.0";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "xesscorp";
    repo = "skidl";
    rev = version;
    sha256 = "1m0hllvmr5nkl4zy8yyzfgw9zmbrrzd5pw87ahd2mq68fjpcaqq5";
  };

  propagatedBuildInputs = [
    future
    kinparse
    pyspice
    graphviz
  ];

  # Checks require availability of the kicad symbol libraries.
  doCheck = false;
  pythonImportsCheck = [ "skidl" ];

  meta = with lib; {
    description = "Module that extends Python with the ability to design electronic circuits";
    mainProgram = "netlist_to_skidl";
    homepage = "https://xess.com/skidl/docs/_site/";
    license = licenses.mit;
    maintainers = with maintainers; [ matthuszagh ];
  };
}