Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 30 lines 625 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, pytest 5}: 6 7buildPythonPackage rec { 8 pname = "lazy-object-proxy"; 9 version = "1.3.1"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "eb91be369f945f10d3a49f5f9be8b3d0b93a4c2be8f8a5b83b0571b8123e0a7a"; 14 }; 15 16 buildInputs = [ pytest ]; 17 checkPhase = '' 18 py.test tests 19 ''; 20 21 # Broken tests. Seem to be fixed upstream according to Travis. 22 doCheck = false; 23 24 meta = with stdenv.lib; { 25 description = "A fast and thorough lazy object proxy"; 26 homepage = https://github.com/ionelmc/python-lazy-object-proxy; 27 license = with licenses; [ bsd2 ]; 28 }; 29 30}