Merge pull request #303866 from drupol/templ/init/0-2-663

templ: move to `pkgs/by-name`
This commit is contained in:
Pol Dellaiera 2024-04-14 11:22:02 +02:00 committed by GitHub
commit bc408469e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 13 additions and 15 deletions

View File

@ -7,6 +7,15 @@ buildGoModule rec {
pname = "templ";
version = "0.2.663";
src = fetchFromGitHub {
owner = "a-h";
repo = "templ";
rev = "v${version}";
hash = "sha256-TU8QG6OmUzSNDAX9W0Ntmz5cucLqVQeTskfnJbm/YM0=";
};
vendorHash = "sha256-Upd5Wq4ajsyOMDiAWS2g2iNO1sm1XJc43AFQLIo5eDM=";
subPackages = [ "cmd/templ" ];
CGO_ENABLED = 0;
@ -17,20 +26,11 @@ buildGoModule rec {
"-extldflags -static"
];
src = fetchFromGitHub {
owner = "a-h";
repo = "templ";
rev = "refs/tags/v${version}";
hash = "sha256-TU8QG6OmUzSNDAX9W0Ntmz5cucLqVQeTskfnJbm/YM0=";
};
vendorHash = "sha256-Upd5Wq4ajsyOMDiAWS2g2iNO1sm1XJc43AFQLIo5eDM=";
meta = with lib; {
meta = {
description = "A language for writing HTML user interfaces in Go";
homepage = "https://templ.guide/";
license = licenses.mit;
maintainers = with maintainers; [ luleyleo ];
homepage = "https://github.com/a-h/templ";
license = lib.licenses.mit;
mainProgram = "templ";
maintainers = with lib.maintainers; [ luleyleo ];
};
}

View File

@ -29522,8 +29522,6 @@ 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 { };