2018-10-15 22:48:11 +02:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytest
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "lazy-object-proxy";
|
2018-11-04 11:35:04 +01:00
|
|
|
version = "1.3.1";
|
2018-10-15 22:48:11 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-04 11:35:04 +01:00
|
|
|
sha256 = "eb91be369f945f10d3a49f5f9be8b3d0b93a4c2be8f8a5b83b0571b8123e0a7a";
|
2018-10-15 22:48:11 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pytest ];
|
|
|
|
checkPhase = ''
|
|
|
|
py.test tests
|
|
|
|
'';
|
|
|
|
|
|
|
|
# Broken tests. Seem to be fixed upstream according to Travis.
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A fast and thorough lazy object proxy";
|
|
|
|
homepage = https://github.com/ionelmc/python-lazy-object-proxy;
|
|
|
|
license = with licenses; [ bsd2 ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|