1{ stdenv
2, buildPythonPackage
3, fetchPypi
4, pytest
5, setuptools_scm
6}:
7
8buildPythonPackage rec {
9 pname = "lazy-object-proxy";
10 version = "1.5.1";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "9723364577b79ad9958a68851fe2acb94da6fd25170c595516a8289e6a129043";
15 };
16
17 nativeBuildInputs = [ setuptools_scm ];
18
19 checkInputs = [ pytest ];
20 checkPhase = ''
21 py.test tests
22 '';
23
24 # Broken tests. Seem to be fixed upstream according to Travis.
25 doCheck = false;
26
27 meta = with stdenv.lib; {
28 description = "A fast and thorough lazy object proxy";
29 homepage = "https://github.com/ionelmc/python-lazy-object-proxy";
30 license = with licenses; [ bsd2 ];
31 };
32
33}