about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2022-12-05 07:14:27 -0500
committerGitHub <noreply@github.com>2022-12-05 07:14:27 -0500
commite831a2190d91863626168833a97aeb5a7b0a452c (patch)
tree10b31da8379ea58fc2c1d343d7f1ca678bce12aa /pkgs
parent150020a452abaababa6233e8e940c3d131301146 (diff)
parent7b19557a8db8d5ae0ba4fa793495c9202c2a9c9e (diff)
Merge pull request #203923 from marsam/update-snowflake
snowflake: 2.3.1 -> 2.4.0
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/tools/networking/snowflake/default.nix16
1 files changed, 10 insertions, 6 deletions
diff --git a/pkgs/tools/networking/snowflake/default.nix b/pkgs/tools/networking/snowflake/default.nix
index 5118186c4de28..b88eea42e83c1 100644
--- a/pkgs/tools/networking/snowflake/default.nix
+++ b/pkgs/tools/networking/snowflake/default.nix
@@ -1,20 +1,24 @@
-{ lib, buildGoModule, fetchgit }:
+{ lib, buildGoModule, fetchFromGitLab }:
 
 buildGoModule rec {
   pname = "snowflake";
-  version = "2.3.1";
+  version = "2.4.1";
 
-  src = fetchgit {
-    url = "https://git.torproject.org/pluggable-transports/${pname}";
+  src = fetchFromGitLab {
+    domain = "gitlab.torproject.org";
+    group = "tpo";
+    owner = "anti-censorship/pluggable-transports";
+    repo = "snowflake";
     rev = "v${version}";
-    sha256 = "sha256-4/ZTLyST73krOL87am28TM+1mktchpoCSaASMqQl5e8=";
+    sha256 = "sha256-DR1H5ncFPHZWQAwOZKkfRrjwfzhirSzwtvKesaRmqcA=";
   };
 
-  vendorSha256 = "sha256-a2Ng+D1I0v5odChM6XVVnNwea/0SOTOmdm2dqKaSU3s=";
+  vendorHash = "sha256-66GqvwHPkMii5oXZV36ayYYkW1oaq5qTjkEA5BeS/5U=";
 
   meta = with lib; {
     description = "System to defeat internet censorship";
     homepage = "https://snowflake.torproject.org/";
+    changelog = "https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake/-/raw/v${version}/ChangeLog";
     maintainers = with maintainers; [ lourkeur ];
     license = licenses.bsd3;
   };