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