1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools-scm,
6 pytestCheckHook,
7 pythonOlder,
8}:
9
10buildPythonPackage rec {
11 pname = "textparser";
12 version = "0.24.0";
13 format = "setuptools";
14
15 disabled = pythonOlder "3.7";
16
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-VvcI51qp0AKtt22CO6bvFm1+zsHj5MpMHKED+BdWgzU=";
20 };
21
22 nativeBuildInputs = [ setuptools-scm ];
23
24 nativeCheckInputs = [ pytestCheckHook ];
25
26 pythonImportsCheck = [ "textparser" ];
27
28 meta = with lib; {
29 homepage = "https://github.com/eerimoq/textparser";
30 description = "Text parser";
31 license = licenses.mit;
32 maintainers = with maintainers; [ gray-heron ];
33 };
34}