nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
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.2.1";
14 format = "setuptools";
15
16 src = fetchFromGitHub {
17 owner = "devbisme";
18 repo = "skidl";
19 tag = "v${version}";
20 sha256 = "sha256-7rauFhaLXyZ5SGtEF7qoAbrj/VgP4qpl+BWUeERefb4=";
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 = {
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 = lib.licenses.mit;
40 maintainers = with lib.maintainers; [ matthuszagh ];
41 };
42}