evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / tempora / default.nix
blob8ac06879c1052ce89dfe2d7915aefbe63e341828
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   jaraco-functools,
6   pytest-freezer,
7   pytestCheckHook,
8   python-dateutil,
9   pythonOlder,
10   setuptools-scm,
13 buildPythonPackage rec {
14   pname = "tempora";
15   version = "5.7.0";
16   pyproject = true;
18   disabled = pythonOlder "3.8";
20   src = fetchFromGitHub {
21     owner = "jaraco";
22     repo = "tempora";
23     rev = "refs/tags/v${version}";
24     hash = "sha256-M6nWKYvgn4tk2diiTDAYb1uQdP8H1M8yqhsFLJ9H7HU=";
25   };
27   build-system = [ setuptools-scm ];
29   dependencies = [
30     jaraco-functools
31     python-dateutil
32   ];
34   nativeCheckInputs = [
35     pytest-freezer
36     pytestCheckHook
37   ];
39   pythonImportsCheck = [
40     "tempora"
41     "tempora.schedule"
42     "tempora.timing"
43     "tempora.utc"
44   ];
46   meta = with lib; {
47     description = "Objects and routines pertaining to date and time";
48     mainProgram = "calc-prorate";
49     homepage = "https://github.com/jaraco/tempora";
50     changelog = "https://github.com/jaraco/tempora/blob/v${version}/NEWS.rst";
51     license = licenses.mit;
52     maintainers = [ ];
53   };