about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/skidl/default.nix
blob: 3d2007732e8cfcb5fd1e817683bab99e7210c518 (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
41
42
43
44
45
46
{ lib
, buildPythonPackage
, fetchFromGitHub
, requests
, future
, kinparse
, enum34
, pyspice
, graphviz
, pillow
, cffi
}:

buildPythonPackage rec {
  pname = "skidl";
  version = "unstable-2020-09-15";

  src = fetchFromGitHub {
    owner = "xesscorp";
    repo = "skidl";
    rev = "551bdb92a50c0894b0802c0a89b4cb62a5b4038f";
    sha256 = "1g65cyxpkqshgsggav2q3f76rbj5pzh7sacyhmhzvfz4zfarkcxk";
  };

  propagatedBuildInputs = [
    requests
    future
    kinparse
    enum34
    pyspice
    graphviz
    pillow
    cffi
  ];

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

  meta = with lib; {
    description = "SKiDL is a module that extends Python with the ability to design electronic circuits";
    homepage = "https://xesscorp.github.io/skidl/docs/_site/";
    license = licenses.mit;
    maintainers = with maintainers; [ matthuszagh ];
  };
}