1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pytestCheckHook,
6 setuptools-scm,
7}:
8
9buildPythonPackage rec {
10 pname = "lazy-object-proxy";
11 version = "1.11.0";
12 pyproject = true;
13
14 src = fetchFromGitHub {
15 owner = "ionelmc";
16 repo = "python-lazy-object-proxy";
17 tag = "v${version}";
18 hash = "sha256-iOftyGx5wLxIUwlmo1lY06MXqgxfZek6RR1S5UydOEs=";
19 };
20
21 build-system = [ setuptools-scm ];
22
23 nativeCheckInputs = [ pytestCheckHook ];
24
25 # Broken tests. Seem to be fixed upstream according to Travis.
26 doCheck = false;
27
28 meta = with lib; {
29 description = "Fast and thorough lazy object proxy";
30 homepage = "https://github.com/ionelmc/python-lazy-object-proxy";
31 license = with licenses; [ bsd2 ];
32 };
33}