Merge pull request #275851 from luleyleo/init-templ

templ: init at 0.2.476
This commit is contained in:
Janik 2023-12-31 21:06:25 +01:00 committed by GitHub
commit 59f2c2e0be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 44 additions and 0 deletions

View file

@ -10962,6 +10962,12 @@
githubId = 2486026;
name = "Luca Fulchir";
};
luleyleo = {
email = "git@leopoldluley.de";
github = "luleyleo";
githubId = 10746692;
name = "Leopold Luley";
};
lumi = {
email = "lumi@pew.im";
github = "lumi-me-not";

View file

@ -0,0 +1,36 @@
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "templ";
version = "0.2.476";
subPackages = [ "cmd/templ" ];
CGO_ENABLED = 0;
ldflags = [
"-s"
"-w"
"-extldflags -static"
];
src = fetchFromGitHub {
owner = "a-h";
repo = "templ";
rev = "refs/tags/v${version}";
hash = "sha256-lgeVfe+9kUxN4XXL7ANiFxtmupZwDaiRFABJIAclyd8=";
};
vendorHash = "sha256-hbXKWWwrlv0w3SxMgPtDBpluvrbjDRGiJ/9QnRKlwCE=";
meta = with lib; {
description = "A language for writing HTML user interfaces in Go";
homepage = "https://templ.guide/";
license = licenses.mit;
maintainers = with maintainers; [ luleyleo ];
mainProgram = "templ";
};
}

View file

@ -30108,6 +30108,8 @@ with pkgs;
template-glib = callPackage ../development/libraries/template-glib { };
templ = callPackage ../development/tools/templ { };
tempora_lgc = callPackage ../data/fonts/tempora-lgc { };
tenderness = callPackage ../data/fonts/tenderness { };