mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-22 03:53:47 +00:00
templ: move to pkgs/by-name
This commit is contained in:
parent
7ea497abce
commit
2e1cafdad3
@ -7,6 +7,15 @@ buildGoModule rec {
|
|||||||
pname = "templ";
|
pname = "templ";
|
||||||
version = "0.2.663";
|
version = "0.2.663";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "a-h";
|
||||||
|
repo = "templ";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-TU8QG6OmUzSNDAX9W0Ntmz5cucLqVQeTskfnJbm/YM0=";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorHash = "sha256-Upd5Wq4ajsyOMDiAWS2g2iNO1sm1XJc43AFQLIo5eDM=";
|
||||||
|
|
||||||
subPackages = [ "cmd/templ" ];
|
subPackages = [ "cmd/templ" ];
|
||||||
|
|
||||||
CGO_ENABLED = 0;
|
CGO_ENABLED = 0;
|
||||||
@ -17,20 +26,11 @@ buildGoModule rec {
|
|||||||
"-extldflags -static"
|
"-extldflags -static"
|
||||||
];
|
];
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
meta = {
|
||||||
owner = "a-h";
|
|
||||||
repo = "templ";
|
|
||||||
rev = "refs/tags/v${version}";
|
|
||||||
hash = "sha256-TU8QG6OmUzSNDAX9W0Ntmz5cucLqVQeTskfnJbm/YM0=";
|
|
||||||
};
|
|
||||||
|
|
||||||
vendorHash = "sha256-Upd5Wq4ajsyOMDiAWS2g2iNO1sm1XJc43AFQLIo5eDM=";
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
description = "A language for writing HTML user interfaces in Go";
|
description = "A language for writing HTML user interfaces in Go";
|
||||||
homepage = "https://templ.guide/";
|
homepage = "https://github.com/a-h/templ";
|
||||||
license = licenses.mit;
|
license = lib.licenses.mit;
|
||||||
maintainers = with maintainers; [ luleyleo ];
|
|
||||||
mainProgram = "templ";
|
mainProgram = "templ";
|
||||||
|
maintainers = with lib.maintainers; [ luleyleo ];
|
||||||
};
|
};
|
||||||
}
|
}
|
@ -29531,8 +29531,6 @@ with pkgs;
|
|||||||
|
|
||||||
template-glib = callPackage ../development/libraries/template-glib { };
|
template-glib = callPackage ../development/libraries/template-glib { };
|
||||||
|
|
||||||
templ = callPackage ../development/tools/templ { };
|
|
||||||
|
|
||||||
tempora_lgc = callPackage ../data/fonts/tempora-lgc { };
|
tempora_lgc = callPackage ../data/fonts/tempora-lgc { };
|
||||||
|
|
||||||
tenderness = callPackage ../data/fonts/tenderness { };
|
tenderness = callPackage ../data/fonts/tenderness { };
|
||||||
|
Loading…
Reference in New Issue
Block a user