Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 future, 6 kinparse, 7 pyspice, 8 graphviz, 9}: 10 11buildPythonPackage rec { 12 pname = "skidl"; 13 version = "1.0.0"; 14 format = "setuptools"; 15 16 src = fetchFromGitHub { 17 owner = "xesscorp"; 18 repo = "skidl"; 19 rev = version; 20 sha256 = "1m0hllvmr5nkl4zy8yyzfgw9zmbrrzd5pw87ahd2mq68fjpcaqq5"; 21 }; 22 23 propagatedBuildInputs = [ 24 future 25 kinparse 26 pyspice 27 graphviz 28 ]; 29 30 # Checks require availability of the kicad symbol libraries. 31 doCheck = false; 32 pythonImportsCheck = [ "skidl" ]; 33 34 meta = with lib; { 35 description = "Module that extends Python with the ability to design electronic circuits"; 36 mainProgram = "netlist_to_skidl"; 37 homepage = "https://xess.com/skidl/docs/_site/"; 38 license = licenses.mit; 39 maintainers = with maintainers; [ matthuszagh ]; 40 }; 41}