evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / cachetools / default.nix
blob55a083807c79ccb6b3d449d6708aa81174d6d334
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pythonOlder,
6   setuptools,
7   pytestCheckHook,
8 }:
10 buildPythonPackage rec {
11   pname = "cachetools";
12   version = "5.5.0";
13   pyproject = true;
15   disabled = pythonOlder "3.7";
17   src = fetchFromGitHub {
18     owner = "tkem";
19     repo = "cachetools";
20     rev = "refs/tags/v${version}";
21     hash = "sha256-WG9PiUMVGaEXXHKbtOFEGjLiSbNnpSI2fXCogpGj1PI=";
22   };
24   build-system = [ setuptools ];
26   nativeCheckInputs = [ pytestCheckHook ];
28   pythonImportsCheck = [ "cachetools" ];
30   meta = with lib; {
31     description = "Extensible memoizing collections and decorators";
32     homepage = "https://github.com/tkem/cachetools";
33     changelog = "https://github.com/tkem/cachetools/blob/v${version}/CHANGELOG.rst";
34     license = licenses.mit;
35     maintainers = with maintainers; [ fab ];
36   };