portfolio: 0.71.2 -> 0.72.2 (#360387)
[NixPkgs.git] / pkgs / development / python-modules / pytimeparse / default.nix
blobf7d3934384ce706c86d6456d327f60b0cf2123f5
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pytestCheckHook,
6   pythonOlder,
7   setuptools,
8 }:
10 buildPythonPackage rec {
11   pname = "pytimeparse";
12   version = "1.1.8";
13   pyproject = true;
15   disabled = pythonOlder "3.7";
17   src = fetchPypi {
18     inherit pname version;
19     hash = "sha256-6GE2R3vpJNfmcGRqmFYZV+jKcwjUSEHiH13ep1dVago=";
20   };
22   build-system = [ setuptools ];
24   nativeCheckInputs = [ pytestCheckHook ];
25   pytestFlagsArray = [ "pytimeparse/tests/testtimeparse.py" ];
27   pythonImportsCheck = [ "pytimeparse" ];
29   meta = with lib; {
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;
34     maintainers = [ ];
35   };