python3Packages.kinparse: init at unstable-2019-12-18
commit2c71cf337a18c48e0a467986e6a2f789aa2859bb
authorMatt Huszagh <huszaghmatt@gmail.com>
dateMon 10 Aug 2020, 18:11 (6 years ago)
parentf21c421
pkgs/development/python-modules/kinparse/default.nixnew file+38
@@ -0,0 +1,38 @@
1+{ lib
2+, buildPythonPackage
3+, fetchFromGitHub
4+, pytest
5+, future
6+, pyparsing
7+}:
8+
9+buildPythonPackage {
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+ checkInputs = [
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+}
pkgs/top-level/python-packages.nix+2
@@ -930,6 +930,8 @@ in {
930930
931931 kconfiglib = callPackage ../development/python-modules/kconfiglib { };
932932
933+ kinparse = callPackage ../development/python-modules/kinparse { };
934+
933935 labelbox = callPackage ../development/python-modules/labelbox { };
934936
935937 lammps-cython = callPackage ../development/python-modules/lammps-cython {