2020-10-05 17:58:20 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, future
|
|
|
|
, kinparse
|
|
|
|
, pyspice
|
|
|
|
, graphviz
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "skidl";
|
2021-06-29 20:39:32 +01:00
|
|
|
version = "1.0.0";
|
2020-10-05 17:58:20 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "xesscorp";
|
|
|
|
repo = "skidl";
|
2021-06-29 20:39:32 +01:00
|
|
|
rev = version;
|
|
|
|
sha256 = "1m0hllvmr5nkl4zy8yyzfgw9zmbrrzd5pw87ahd2mq68fjpcaqq5";
|
2020-10-05 17:58:20 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
future
|
|
|
|
kinparse
|
|
|
|
pyspice
|
|
|
|
graphviz
|
|
|
|
];
|
|
|
|
|
|
|
|
# Checks require availability of the kicad symbol libraries.
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "skidl" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2021-06-29 20:39:32 +01:00
|
|
|
description = "Module that extends Python with the ability to design electronic circuits";
|
|
|
|
homepage = "https://xess.com/skidl/docs/_site/";
|
2020-10-05 17:58:20 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ matthuszagh ];
|
|
|
|
};
|
|
|
|
}
|