stripe-cli: 1.23.3 -> 1.23.5 (#375724)
[NixPkgs.git] / pkgs / development / python-modules / propcache / default.nix
blob00a03b737ed47dd36c95d0377d5b1ced2fd1080b
2   lib,
3   buildPythonPackage,
4   cython,
5   expandvars,
6   fetchFromGitHub,
7   pytest-codspeed,
8   pytest-cov-stub,
9   pytest-xdist,
10   pytestCheckHook,
11   pythonOlder,
12   setuptools,
15 buildPythonPackage rec {
16   pname = "propcache";
17   version = "0.2.1";
18   pyproject = true;
20   disabled = pythonOlder "3.11";
22   src = fetchFromGitHub {
23     owner = "aio-libs";
24     repo = "propcache";
25     tag = "v${version}";
26     hash = "sha256-j2PjSaOx0IKijoMjhtYVNrpqEwRjVFsON5OU/Fv5idc=";
27   };
29   build-system = [
30     cython
31     expandvars
32     setuptools
33   ];
35   nativeCheckInputs = [
36     pytest-codspeed
37     pytest-cov-stub
38     pytest-xdist
39     pytestCheckHook
40   ];
42   pythonImportsCheck = [ "propcache" ];
44   meta = {
45     description = "Fast property caching";
46     homepage = "https://github.com/aio-libs/propcache";
47     changelog = "https://github.com/aio-libs/propcache/blob/${src.rev}/CHANGES.rst";
48     license = lib.licenses.asl20;
49     maintainers = with lib.maintainers; [ fab ];
50   };