Unverified Commit bc408469 authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

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

templ: move to `pkgs/by-name`
parents 90f73e53 2e1cafda
Loading
Loading
Loading
Loading
+13 −13
Original line number Diff line number Diff line
@@ -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 ];
  };
}
+0 −2
Original line number Diff line number Diff line
@@ -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 { };