depot/third_party/nixpkgs/pkgs/development/python-modules/pympler/default.nix

28 lines
539 B
Nix
Raw Normal View History

{ lib, stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "Pympler";
version = "1.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "993f1a3599ca3f4fcd7160c7545ad06310c9e12f70174ae7ae8d4e25f6c5d3fa";
};
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;
};
}