Unverified Commit e831a219 authored by Mario Rodas's avatar Mario Rodas Committed by GitHub
Browse files

Merge pull request #203923 from marsam/update-snowflake

snowflake: 2.3.1 -> 2.4.0
parents 150020a4 7b19557a
Loading
Loading
Loading
Loading
+10 −6
Original line number Diff line number Diff line
{ 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;
  };