1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pytest,
6 future,
7 pyparsing,
8}:
9
10buildPythonPackage {
11 pname = "kinparse";
12 version = "unstable-2019-12-18";
13 format = "setuptools";
14
15 src = fetchFromGitHub {
16 owner = "xesscorp";
17 repo = "kinparse";
18 rev = "eeb3f346d57a67a471bdf111f39bef8932644481";
19 sha256 = "1nrjnybwzy93c79yylcwmb4lvkx7hixavnjwffslz0zwn32l0kx3";
20 };
21
22 pythonImportsCheck = [ "kinparse" ];
23
24 nativeCheckInputs = [ pytest ];
25
26 propagatedBuildInputs = [
27 future
28 pyparsing
29 ];
30
31 meta = with lib; {
32 description = "Parser for KiCad EESCHEMA netlists";
33 mainProgram = "kinparse";
34 homepage = "https://github.com/xesscorp/kinparse";
35 license = licenses.mit;
36 maintainers = with maintainers; [ matthuszagh ];
37 };
38}