2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
pytest,
|
|
|
|
future,
|
|
|
|
pyparsing,
|
2020-08-20 17:08:02 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage {
|
|
|
|
pname = "kinparse";
|
|
|
|
version = "unstable-2019-12-18";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-08-20 17:08:02 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "xesscorp";
|
|
|
|
repo = "kinparse";
|
|
|
|
rev = "eeb3f346d57a67a471bdf111f39bef8932644481";
|
|
|
|
sha256 = "1nrjnybwzy93c79yylcwmb4lvkx7hixavnjwffslz0zwn32l0kx3";
|
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
pythonImportsCheck = [ "kinparse" ];
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeCheckInputs = [ pytest ];
|
2020-08-20 17:08:02 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
future
|
|
|
|
pyparsing
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A Parser for KiCad EESCHEMA netlists";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "kinparse";
|
2020-08-20 17:08:02 +00:00
|
|
|
homepage = "https://github.com/xesscorp/kinparse";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ matthuszagh ];
|
|
|
|
};
|
|
|
|
}
|