depot/third_party/nixpkgs/pkgs/development/python-modules/kinparse/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

39 lines
795 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pytest,
future,
pyparsing,
}:
buildPythonPackage {
pname = "kinparse";
version = "unstable-2019-12-18";
format = "setuptools";
src = fetchFromGitHub {
owner = "xesscorp";
repo = "kinparse";
rev = "eeb3f346d57a67a471bdf111f39bef8932644481";
sha256 = "1nrjnybwzy93c79yylcwmb4lvkx7hixavnjwffslz0zwn32l0kx3";
};
doCheck = true;
pythonImportsCheck = [ "kinparse" ];
nativeCheckInputs = [ pytest ];
propagatedBuildInputs = [
future
pyparsing
];
meta = with lib; {
description = "Parser for KiCad EESCHEMA netlists";
mainProgram = "kinparse";
homepage = "https://github.com/xesscorp/kinparse";
license = licenses.mit;
maintainers = with maintainers; [ matthuszagh ];
};
}