diff --git a/pkgs/by-name/sp/spoofdpi/package.nix b/pkgs/by-name/sp/spoofdpi/package.nix new file mode 100644 index 0000000000000..5c3e30f342a60 --- /dev/null +++ b/pkgs/by-name/sp/spoofdpi/package.nix @@ -0,0 +1,28 @@ +{ + lib, + stdenv, + fetchFromGitHub, + buildGoModule, + ... +}: + +buildGoModule rec { + pname = "SpoofDPI"; + version = "0.11.1"; + + src = fetchFromGitHub { + owner = "xvzc"; + repo = "SpoofDPI"; + rev = "v${version}"; + hash = "sha256-GdGOnaIDy7XWWo0MOu+HfQcLrW/PDlRxf0y1jjJrZNQ="; + }; + + vendorHash = "sha256-47Gt5SI6VXq4+1T0LxFvQoYNk+JqTt3DonDXLfmFBzw="; + + meta = { + homepage = "https://github.com/xvzc/SpoofDPI"; + description = "A simple and fast anti-censorship tool written in Go"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ s0me1newithhand7s ]; + }; +}