10 buildPythonPackage rec {
11 pname = "pytimeparse";
15 disabled = pythonOlder "3.7";
18 inherit pname version;
19 hash = "sha256-6GE2R3vpJNfmcGRqmFYZV+jKcwjUSEHiH13ep1dVago=";
22 build-system = [ setuptools ];
24 nativeCheckInputs = [ pytestCheckHook ];
25 pytestFlagsArray = [ "pytimeparse/tests/testtimeparse.py" ];
27 pythonImportsCheck = [ "pytimeparse" ];
30 description = "Library to parse various kinds of time expressions";
31 homepage = "https://github.com/wroberts/pytimeparse";
32 changelog = "https://github.com/wroberts/pytimeparse/releases/tag/${version}";
33 license = licenses.mit;