1{ lib, stdenv
2, buildPythonPackage
3, fetchPypi
4}:
5
6buildPythonPackage rec {
7 pname = "Pympler";
8 version = "0.9";
9
10 src = fetchPypi {
11 inherit pname version;
12 sha256 = "f2cbe7df622117af890249f2dea884eb702108a12d729d264b7c5983a6e06e47";
13 };
14
15 postPatch = ''
16 rm test/asizeof/test_asizeof.py
17 '';
18
19 doCheck = stdenv.hostPlatform.isLinux;
20
21 meta = with lib; {
22 description = "Tool to measure, monitor and analyze memory behavior";
23 homepage = "https://pythonhosted.org/Pympler/";
24 license = licenses.asl20;
25 };
26
27}