1
0
Fork 0

feat: templ

Signed-off-by: jolheiser <john.olheiser@gmail.com>
main
jolheiser 2023-09-14 20:00:10 -05:00
parent 78c5cc2c6a
commit 337275b6dd
Signed by: jolheiser
GPG Key ID: B853ADA5DA7BBF7A
3 changed files with 32 additions and 0 deletions

View File

@ -9,5 +9,6 @@
|[opengist](https://github.com/thomiceli/opengist)|`1.4.2`| |[opengist](https://github.com/thomiceli/opengist)|`1.4.2`|
|[prospect-mail](https://github.com/julian-alarcon/prospect-mail)|`24e49ca0187884fa772a5928c56d7a9ed76441bd`| |[prospect-mail](https://github.com/julian-alarcon/prospect-mail)|`24e49ca0187884fa772a5928c56d7a9ed76441bd`|
|[tclip](https://github.com/tailscale-dev/tclip)|`2c99626eb040cb9a54cdf4015c5d2bfd0a7be038`| |[tclip](https://github.com/tailscale-dev/tclip)|`2c99626eb040cb9a54cdf4015c5d2bfd0a7be038`|
|[templ](https://github.com/a-h/templ)|`0.2.334`|
|[tmpl](https://git.jojodev.com/jolheiser/tmpl)|`0.4.0`| |[tmpl](https://git.jojodev.com/jolheiser/tmpl)|`0.4.0`|

View File

@ -22,4 +22,5 @@
opengist = pkgs.callPackage ./pkgs/opengist {}; opengist = pkgs.callPackage ./pkgs/opengist {};
prospect-mail = pkgs.callPackage ./pkgs/prospect-mail {}; prospect-mail = pkgs.callPackage ./pkgs/prospect-mail {};
tclip = pkgs.callPackage ./pkgs/tclip {}; tclip = pkgs.callPackage ./pkgs/tclip {};
templ = pkgs.callPackage ./pkgs/templ {};
} }

View File

@ -0,0 +1,30 @@
{
buildGoModule,
fetchFromGitHub,
lib,
...
}:
buildGoModule rec {
pname = "templ";
version = "0.2.334";
src = fetchFromGitHub {
owner = "a-h";
repo = "templ";
rev = "v${version}";
sha256 = "sha256-liELstdoh0/KaOY8TnjCmTgp2CYWk9rZnMuK1RUb3OM=";
};
vendorSha256 = "sha256-7QYF8BvLpTcDstkLWxR0BgBP0NUlJ20IqW/nNqMSBn4=";
ldflags = ["-s" "-w" "-X=github.com/a-h/templ.Version=${version}"];
subPackages = ["cmd/templ"];
meta = with lib; {
description = "A language for writing HTML user interfaces in Go. ";
homepage = "https://github.com/a-h/templ";
license = licenses.mit;
mainProgram = "templ";
};
}