8 stdenv.mkDerivation rec {
12 src = fetchFromGitHub {
15 rev = "dmalloc_release_${lib.replaceStrings ["."] ["_"] version}";
16 hash = "sha256-P63I9s32C3v1q+Sy9joK0HKYb0ebBu9g72tTTwxvkz8=";
25 passthru.tests.version = testers.testVersion {
30 description = "Debug Malloc memory allocation debugging C library";
32 The debug memory allocation or "dmalloc" library has been designed as a
33 drop in replacement for the system's malloc, realloc, calloc, free and
34 other memory management routines while providing powerful debugging
35 facilities configurable at runtime. These facilities include such things
36 as memory-leak tracking, fence-post write detection, file/line number
37 reporting, and general logging of statistics.
39 homepage = "https://dmalloc.com";
40 license = licenses.isc;
41 maintainers = with maintainers; [ azahi ];
42 platforms = platforms.all;
43 mainProgram = "dmalloc";