1 { lib, fetchFromGitHub, buildPythonPackage, dateutils }:
3 buildPythonPackage rec {
4 pname = "pytimeparse2";
8 src = fetchFromGitHub {
9 owner = "onegreyonewhite";
11 rev = "refs/tags/${version}";
12 hash = "sha256-zWRbSohTvbVd3GcRRoxH/UReVGYHC0YmbNgbt8N0X48=";
15 propagatedBuildInputs = [ dateutils ];
18 # https://github.com/onegreyonewhite/pytimeparse2/blob/e00df7506b6925f2c6a5783e89e9f239d128271a/tox.ini#L36C20-L36C78
21 python tests.py -vv --failfast
25 pythonImportsCheck = [ "pytimeparse2" ];
28 description = "A pytimeparse based project with the aim of optimizing functionality and providing stable support";
29 homepage = "https://github.com/onegreyonewhite/pytimeparse2";
30 license = licenses.mit;
31 maintainers = with maintainers; [ gador ];