depot/third_party/nixpkgs/pkgs/development/python-modules/pympler/default.nix
Default email 646c172193 Project import generated by Copybara.
GitOrigin-RevId: c478eaf416411a7dedf773185b6d5bfc966a80ae
2021-12-21 10:18:32 +08:00

27 lines
537 B
Nix

{ lib, stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "Pympler";
version = "1.0";
src = fetchPypi {
inherit pname version;
sha256 = "f2e82c3e33835d0378ed95fffabc00806f4070f00decaa38b340ca99b1aca25c";
};
postPatch = ''
rm test/asizeof/test_asizeof.py
'';
doCheck = stdenv.hostPlatform.isLinux;
meta = with lib; {
description = "Tool to measure, monitor and analyze memory behavior";
homepage = "https://pythonhosted.org/Pympler/";
license = licenses.asl20;
};
}