obfs4: 0.1.0 -> 0.4.0 (#349898)

This commit is contained in:
Aleksana 2024-10-27 12:11:42 +08:00 committed by GitHub
commit b4fc7dbda6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,7 +2,7 @@
buildGoModule rec {
pname = "obfs4";
version = "0.1.0";
version = "0.4.0";
src = fetchFromGitLab {
domain = "gitlab.torproject.org";
@ -12,18 +12,20 @@ buildGoModule rec {
# will collide with lyrebird Gtk3 program.
repo = "lyrebird";
rev = "lyrebird-${version}";
hash = "sha256-2qBSmAsaR3hfxuoR5U5UAFQAepUOEUnIGoxc/GZ5LmY=";
hash = "sha256-aPALWvngC/BVQO73yUAykHvEb6T0DZcGMowXINDqhpQ=";
};
vendorHash = "sha256-O8CsvpwL9cfipl4M0BquSnG9tBrt/+i+i80OYk2mNiI=";
vendorHash = "sha256-iR3+ZMEF0SB3EoLTf2gtqTe3CQcjtDRhfwwbwGj3pXo=";
ldflags = [ "-s" "-w" ];
subPackages = [ "cmd/lyrebird" ];
nativeBuildInputs = [ installShellFiles ];
postInstall = ''
installManPage doc/obfs4proxy.1
ln -s $out/share/man/man1/{obfs4proxy,lyrebird}.1
installManPage doc/lyrebird.1
ln -s $out/share/man/man1/{lyrebird,obfs4proxy}.1
'';
meta = with lib; {