9 python3.pkgs.buildPythonApplication rec {
12 format = "setuptools";
14 src = fetchFromGitHub {
17 rev = "refs/tags/v${version}";
18 hash = "sha256-DaJ1Hhg7q4ckA5feUx0twOsmy28v5aBBCTUAkn43xAo=";
28 ] ++ (with python3.pkgs; [
32 propagatedBuildInputs = with python3.pkgs; [
37 nativeCheckInputs = with python3.pkgs; [
40 ] ++ lib.optionals (pythonOlder "3.12") [
44 pythonImportsCheck = [
54 "test_header_allocator"
55 "test_hybrid_stack_of_allocations_inside_ceval"
59 # Very time-consuming and some tests fails (performance-related?)
60 "tests/integration/test_main.py"
64 description = "Memory profiler for Python";
65 homepage = "https://bloomberg.github.io/memray/";
66 changelog = "https://github.com/bloomberg/memray/releases/tag/v${version}";
67 license = licenses.asl20;
68 maintainers = with maintainers; [ fab ];
69 platforms = platforms.linux;