about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/kinparse/default.nix
blob: 3352d25a3c07869b0dd1651bafba62dba4537d81 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{ 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 = "A Parser for KiCad EESCHEMA netlists";
    homepage = "https://github.com/xesscorp/kinparse";
    license = licenses.mit;
    maintainers = with maintainers; [ matthuszagh ];
  };
}