emacsPackages.lsp-bridge: 0-unstable-2025-01-11 -> 0-unstable-2025-01-22 (#376531)
[NixPkgs.git] / pkgs / development / python-modules / cachetools / default.nix
blob93561a2d194e261fbe4f1adb08c71c808fb8fed7
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     tag = "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   };