From 64f5057853fea5d7b30b69a210364d516ebf512c Mon Sep 17 00:00:00 2001 From: Aaron Jheng Date: Wed, 29 Jun 2022 12:02:25 +0000 Subject: [PATCH] traefik: 2.7.1 -> 2.7.2 --- pkgs/servers/traefik/default.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pkgs/servers/traefik/default.nix b/pkgs/servers/traefik/default.nix index d6a0f497da14..0e0d3cd22dcf 100644 --- a/pkgs/servers/traefik/default.nix +++ b/pkgs/servers/traefik/default.nix @@ -1,17 +1,17 @@ -{ lib, fetchFromGitHub, buildGoModule, nixosTests }: +{ lib, fetchzip, buildGoModule, nixosTests }: buildGoModule rec { pname = "traefik"; - version = "2.7.1"; + version = "2.7.2"; - src = fetchFromGitHub { - owner = "traefik"; - repo = "traefik"; - rev = "v${version}"; - sha256 = "sha256-uTE0Z7lgxKNq1wQSMUSp9dMfxV+aIm7cwYSkZBUdnug="; + # Archive with static assets for webui + src = fetchzip { + url = "https://github.com/traefik/traefik/releases/download/v${version}/traefik-v${version}.src.tar.gz"; + sha256 = "sha256-AJbvK3hr+cNYcoN+3Zz5WruTvWfh1junEnhRzvXVN+U="; + stripRoot = false; }; - vendorSha256 = "sha256-WlLntYrXs1kOu26yNeZI1xpb6FsHPiA/bNzaxCZTG4Y="; + vendorSha256 = "sha256-T36d8mjbThlH1mukcHgaYlhq/P46ShTHgM9zcH4L7dc="; subPackages = [ "cmd/traefik" ];