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