Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 33 lines 685 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, pytest 5, setuptools_scm 6}: 7 8buildPythonPackage rec { 9 pname = "lazy-object-proxy"; 10 version = "1.4.3"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "f3900e8a5de27447acbf900b4750b0ddfd7ec1ea7fbaf11dfa911141bc522af0"; 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}