nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit 3cafcc1cd9b20f876fd0abc63d47ca18228baf91
parent 83f9fd6f7e0e6417972014eab61a421416fd8545
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Fri, 27 Oct 2023 01:04:34 +0400

Add heapusage

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/misc/heapusage/default.nix | 24++++++++++++++++++++++++
2 files changed, 25 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -345,6 +345,7 @@ lib.makeScope newScope ( git-tui = callPackage ./misc/git-tui { }; glauth = callPackage ./misc/glauth { }; graphene = callPackage ./misc/graphene { }; + heapusage = callPackage ./misc/heapusage { }; how-to-use-pvs-studio-free = callPackage ./misc/pvs-studio/how-to-use-pvs-studio-free.nix { }; huami-token = callPackage ./misc/huami-token { }; ish = callPackage ./misc/ish { }; diff --git a/pkgs/misc/heapusage/default.nix b/pkgs/misc/heapusage/default.nix @@ -0,0 +1,24 @@ +{ lib, stdenv, fetchFromGitHub, cmake }: + +stdenv.mkDerivation rec { + pname = "heapusage"; + version = "2.07"; + + src = fetchFromGitHub { + owner = "d99kris"; + repo = "heapusage"; + rev = "v${version}"; + hash = "sha256-p7Yhx/w1I0+dxD7YH15Eojs4wh337/mZnXBwpiqlt4A="; + }; + + nativeBuildInputs = [ cmake ]; + + meta = with lib; { + description = "Light-weight tool for finding heap memory errors"; + inherit (src.meta) homepage; + license = licenses.bsd3; + maintainers = [ maintainers.sikmir ]; + platforms = platforms.unix; + mainProgram = "heapusage"; + }; +}