evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / methodtools / default.nix
blob88898db177eefb671fcf1e640f76a0b7395e02f2
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   setuptools,
6   wirerope,
7   pytestCheckHook,
8   pytest-cov-stub,
9 }:
11 buildPythonPackage rec {
12   pname = "methodtools";
13   version = "0.4.7";
14   pyproject = true;
16   src = fetchFromGitHub {
17     owner = "youknowone";
18     repo = "methodtools";
19     rev = version;
20     hash = "sha256-Y5VdYVSb3A+32waUUoIDDGW+AhRapN71pebTTlJC0es=";
21   };
23   build-system = [ setuptools ];
25   dependencies = [ wirerope ];
27   pythonImportsCheck = [ "methodtools" ];
29   nativeCheckInputs = [
30     pytestCheckHook
31     pytest-cov-stub
32   ];
34   meta = with lib; {
35     description = "Expands the functools lru_cache to classes";
36     homepage = "https://github.com/youknowone/methodtools";
37     changelog = "https://github.com/youknowone/methodtools/releases/tag/${version}";
38     license = licenses.bsd2WithViews;
39     maintainers = with maintainers; [ pbsds ];
40   };