2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
future,
|
|
|
|
kinparse,
|
|
|
|
pyspice,
|
|
|
|
graphviz,
|
2020-10-07 09:15:18 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "skidl";
|
2021-07-03 03:11:41 +00:00
|
|
|
version = "1.0.0";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-10-07 09:15:18 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "xesscorp";
|
|
|
|
repo = "skidl";
|
2021-07-03 03:11:41 +00:00
|
|
|
rev = version;
|
|
|
|
sha256 = "1m0hllvmr5nkl4zy8yyzfgw9zmbrrzd5pw87ahd2mq68fjpcaqq5";
|
2020-10-07 09:15:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
future
|
|
|
|
kinparse
|
|
|
|
pyspice
|
|
|
|
graphviz
|
|
|
|
];
|
|
|
|
|
|
|
|
# Checks require availability of the kicad symbol libraries.
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "skidl" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2021-07-03 03:11:41 +00:00
|
|
|
description = "Module that extends Python with the ability to design electronic circuits";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "netlist_to_skidl";
|
2021-07-03 03:11:41 +00:00
|
|
|
homepage = "https://xess.com/skidl/docs/_site/";
|
2020-10-07 09:15:18 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ matthuszagh ];
|
|
|
|
};
|
|
|
|
}
|