1{ lib, stdenv 2, buildPythonPackage 3, fetchPypi 4, pytestCheckHook 5}: 6 7buildPythonPackage rec { 8 pname = "Pympler"; 9 version = "1.0.1"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "993f1a3599ca3f4fcd7160c7545ad06310c9e12f70174ae7ae8d4e25f6c5d3fa"; 14 }; 15 16 checkInputs = [ 17 pytestCheckHook 18 ]; 19 20 disabledTests = [ 21 # 'AssertionError: 'function (test.muppy.test_summary.func)' != 'function (muppy.test_summary.func)' 22 # https://github.com/pympler/pympler/issues/134 23 "test_repr_function" 24 ]; 25 26 doCheck = stdenv.hostPlatform.isLinux; 27 28 meta = with lib; { 29 description = "Tool to measure, monitor and analyze memory behavior"; 30 homepage = "https://pythonhosted.org/Pympler/"; 31 license = licenses.asl20; 32 }; 33 34}