Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 27 lines 525 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4}: 5 6buildPythonPackage rec { 7 pname = "Pympler"; 8 version = "0.7"; 9 10 src = fetchPypi { 11 inherit pname version; 12 sha256 = "0ki7bqp1h9l1xc2k1h4vjyzsgs20i8ingvcdhszyi72s28wyf4bs"; 13 }; 14 15 postPatch = '' 16 rm test/asizeof/test_asizeof.py 17 ''; 18 19 doCheck = stdenv.hostPlatform.isLinux; 20 21 meta = with stdenv.lib; { 22 description = "Tool to measure, monitor and analyze memory behavior"; 23 homepage = https://pythonhosted.org/Pympler/; 24 license = licenses.asl20; 25 }; 26 27}