biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / backports-cached-property / default.nix
blobc2a0bc245915242d1d9fbabffd6dd21c2a043850
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pythonOlder,
6   setuptools-scm,
7   wheel,
8   pytestCheckHook,
9   pytest-mock,
10   pytest-sugar,
13 buildPythonPackage rec {
14   pname = "backports-cached-property";
15   version = "1.0.2";
16   format = "pyproject";
18   disabled = pythonOlder "3.8";
20   src = fetchFromGitHub {
21     owner = "penguinolog";
22     repo = "backports.cached_property";
23     rev = version;
24     hash = "sha256-rdgKbVQaELilPrN4ve8RbbaLiT14Xex0esy5vUX2ZBc=";
25   };
27   nativeBuildInputs = [ setuptools-scm ];
29   propagatedBuildInputs = [ wheel ];
31   nativeCheckInputs = [
32     pytestCheckHook
33     pytest-mock
34     pytest-sugar
35   ];
37   pythonImportsCheck = [ "backports.cached_property" ];
39   meta = with lib; {
40     description = "Python 3.8 functools.cached_property backport to python 3.6";
41     homepage = "https://github.com/penguinolog/backports.cached_property";
42     license = with licenses; [ mit ];
43     maintainers = with maintainers; [ izorkin ];
44   };