Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
796 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
callPackage,
fetchFromGitHub,
stdenv,
zig_0_15,
}:
let
zig = zig_0_15;
in
stdenv.mkDerivation (finalAttrs: {
pname = "superhtml";
version = "0.6.0";
src = fetchFromGitHub {
owner = "kristoff-it";
repo = "superhtml";
tag = "v${finalAttrs.version}";
hash = "sha256-EWxnozmYTvkX7mn+pVel083Cte1uzvHaes1c7iXPMUg=";
};
nativeBuildInputs = [
zig.hook
];
postPatch = ''
ln -s ${callPackage ./deps.nix { }} $ZIG_GLOBAL_CACHE_DIR/p
'';
meta = {
description = "HTML Language Server and Templating Language Library";
homepage = "https://github.com/kristoff-it/superhtml";
license = lib.licenses.mit;
mainProgram = "superhtml";
maintainers = with lib.maintainers; [ petertriho ];
platforms = lib.platforms.unix;
};
})