summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/funcparserlib/default.nix
blob: 9361c788c39d02c2709ce61f551f8d0dbf20ac7a (plain)
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
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  poetry-core,
  pytestCheckHook,
  six,
}:

buildPythonPackage rec {
  pname = "funcparserlib";
  version = "1.0.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "vlasovskikh";
    repo = "funcparserlib";
    rev = version;
    hash = "sha256-LE9ItCaEzEGeahpM3M3sSnDBXEr6uX5ogEkO5x2Jgzc=";
  };

  nativeBuildInputs = [ poetry-core ];

  nativeCheckInputs = [
    pytestCheckHook
    six
  ];

  pythonImportsCheck = [ "funcparserlib" ];

  meta = {
    description = "Recursive descent parsing library based on functional combinators";
    homepage = "https://github.com/vlasovskikh/funcparserlib";
    license = lib.licenses.mit;
    platforms = lib.platforms.unix;
  };
}