mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-10 16:45:51 +03:00
Merge pull request #275851 from luleyleo/init-templ
templ: init at 0.2.476
This commit is contained in:
commit
59f2c2e0be
@ -10962,6 +10962,12 @@
|
||||
githubId = 2486026;
|
||||
name = "Luca Fulchir";
|
||||
};
|
||||
luleyleo = {
|
||||
email = "git@leopoldluley.de";
|
||||
github = "luleyleo";
|
||||
githubId = 10746692;
|
||||
name = "Leopold Luley";
|
||||
};
|
||||
lumi = {
|
||||
email = "lumi@pew.im";
|
||||
github = "lumi-me-not";
|
||||
|
36
pkgs/development/tools/templ/default.nix
Normal file
36
pkgs/development/tools/templ/default.nix
Normal file
@ -0,0 +1,36 @@
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "templ";
|
||||
version = "0.2.476";
|
||||
|
||||
subPackages = [ "cmd/templ" ];
|
||||
|
||||
CGO_ENABLED = 0;
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-extldflags -static"
|
||||
];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "a-h";
|
||||
repo = "templ";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-lgeVfe+9kUxN4XXL7ANiFxtmupZwDaiRFABJIAclyd8=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-hbXKWWwrlv0w3SxMgPtDBpluvrbjDRGiJ/9QnRKlwCE=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "A language for writing HTML user interfaces in Go";
|
||||
homepage = "https://templ.guide/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ luleyleo ];
|
||||
mainProgram = "templ";
|
||||
};
|
||||
}
|
@ -30108,6 +30108,8 @@ 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