parent
78c5cc2c6a
commit
337275b6dd
|
@ -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`|
|
||||||
|
|
||||||
|
|
|
@ -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 {};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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";
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue