about summary refs log tree commit diff
path: root/pkgs/servers/traefik
diff options
context:
space:
mode:
authorAaron Jheng <wentworth@outlook.com>2022-06-29 12:02:25 +0000
committerAaron Jheng <wentworth@outlook.com>2022-06-29 12:02:25 +0000
commit64f5057853fea5d7b30b69a210364d516ebf512c (patch)
treeea966c430d9f2a01e5bf54b92920f53159942ae4 /pkgs/servers/traefik
parent8f083f2dd4f9530b10042224170309e159aa019c (diff)
traefik: 2.7.1 -> 2.7.2
Diffstat (limited to 'pkgs/servers/traefik')
-rw-r--r--pkgs/servers/traefik/default.nix16
1 files changed, 8 insertions, 8 deletions
diff --git a/pkgs/servers/traefik/default.nix b/pkgs/servers/traefik/default.nix
index d6a0f497da14f..0e0d3cd22dcff 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" ];