34 lines
687 B
Nix
34 lines
687 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytest
|
|
, setuptools_scm
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "lazy-object-proxy";
|
|
version = "1.5.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "a0aed261060cd0372abf08d16399b1224dbb5b400312e6b00f2b23eabe1d4e96";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools_scm ];
|
|
|
|
checkInputs = [ 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 ];
|
|
};
|
|
|
|
}
|