mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
Merge pull request #303866 from drupol/templ/init/0-2-663
templ: move to `pkgs/by-name`
This commit is contained in:
commit
bc408469e9
@ -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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user