2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2018-10-17 05:31:08 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "Pympler";
|
2020-10-16 12:21:22 +01:00
|
|
|
version = "0.9";
|
2018-10-17 05:31:08 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-10-16 12:21:22 +01:00
|
|
|
sha256 = "f2cbe7df622117af890249f2dea884eb702108a12d729d264b7c5983a6e06e47";
|
2018-10-17 05:31:08 +01:00
|
|
|
};
|
|
|
|
|
2018-10-25 21:10:39 +01:00
|
|
|
postPatch = ''
|
|
|
|
rm test/asizeof/test_asizeof.py
|
2018-10-17 05:31:08 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
doCheck = stdenv.hostPlatform.isLinux;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-17 05:31:08 +01:00
|
|
|
description = "Tool to measure, monitor and analyze memory behavior";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://pythonhosted.org/Pympler/";
|
2018-10-17 05:31:08 +01:00
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|