feat(hmpl): render simple placeholder with memory leak of course

This commit is contained in:
2025-03-21 04:00:23 +00:00
parent 9438280750
commit c4d14e5aa2
8 changed files with 125 additions and 37 deletions

View File

@@ -1,4 +1,4 @@
{ stdenv, gcc, lib, libhectic, cjson }:
{ stdenv, gcc, lib, chectic, cjson }:
stdenv.mkDerivation {
pname = "hmpl";
@@ -6,13 +6,13 @@ stdenv.mkDerivation {
src = ./.;
doCheck = true;
buildInputs = [ libhectic cjson ];
buildInputs = [ chectic cjson ];
buildPhase = ''
mkdir -p target
${gcc}/bin/cc -Wall -Wextra -g \
-pedantic -fsanitize=address hmpl.c \
-l:libhectic.a -l:cjson -o target/hmpl
-lchectic -lcjson -o target/hmpl
'';
checkPhase = '' '';
@@ -23,7 +23,7 @@ stdenv.mkDerivation {
'';
meta = {
description = "libhectic";
description = "chectic";
license = lib.licenses.mit;
};
}