evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / propcache / default.nix
blob7dc515ef6fee813212fd5b3b40f741fcb0fe79b7
2   lib,
3   buildPythonPackage,
4   cython,
5   expandvars,
6   fetchFromGitHub,
7   pytest-cov-stub,
8   pytest-xdist,
9   pytestCheckHook,
10   pythonOlder,
11   setuptools,
14 buildPythonPackage rec {
15   pname = "propcache";
16   version = "0.2.0";
17   pyproject = true;
19   disabled = pythonOlder "3.11";
21   src = fetchFromGitHub {
22     owner = "aio-libs";
23     repo = "propcache";
24     rev = "refs/tags/v${version}";
25     hash = "sha256-S0u5/HJYtZCWB9X+Nlnz+oSFb3o98mGWWwsNLodzS9g=";
26   };
28   build-system = [
29     cython
30     expandvars
31     setuptools
32   ];
34   nativeCheckInputs = [
35     pytest-cov-stub
36     pytest-xdist
37     pytestCheckHook
38   ];
40   pythonImportsCheck = [ "propcache" ];
42   meta = {
43     description = "Fast property caching";
44     homepage = "https://github.com/aio-libs/propcache";
45     changelog = "https://github.com/aio-libs/propcache/blob/${src.rev}/CHANGES.rst";
46     license = lib.licenses.asl20;
47     maintainers = with lib.maintainers; [ fab ];
48   };