about summary refs log tree commit diff
path: root/pkgs/development/python-modules/reparser/default.nix
blob: 4ea2dab3e785c0c1046851a8acdacdbb3e66c710 (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
{
  lib,
  buildPythonPackage,
  isPy27,
  fetchFromGitHub,
}:

buildPythonPackage rec {
  pname = "reparser";
  version = "1.4.3";
  format = "setuptools";

  disabled = isPy27;

  src = fetchFromGitHub {
    owner = "xmikos";
    repo = "reparser";
    rev = "v${version}";
    sha256 = "04v7h52wny0j2qj37501nk33j0s4amm134kagdicx2is49zylzq1";
  };

  # no tests implemented
  doCheck = false;

  pythonImportsCheck = [ "reparser" ];

  meta = with lib; {
    description = "Simple regex-based lexer/parser for inline markup";
    homepage = "https://github.com/xmikos/reparser";
    license = licenses.mit;
    maintainers = with maintainers; [ dotlambda ];
  };
}