nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 fetchFromGitHub,
4 buildGoModule,
5 ...
6}:
7
8buildGoModule rec {
9 pname = "SpoofDPI";
10 version = "0.12.0";
11
12 src = fetchFromGitHub {
13 owner = "xvzc";
14 repo = "SpoofDPI";
15 rev = "v${version}";
16 hash = "sha256-m4fhFhZLuWT1diDlDTmTsNrckKTjhEZbhciv44FZcro=";
17 };
18
19 vendorHash = "sha256-47Gt5SI6VXq4+1T0LxFvQoYNk+JqTt3DonDXLfmFBzw=";
20
21 meta = {
22 homepage = "https://github.com/xvzc/SpoofDPI";
23 description = "Simple and fast anti-censorship tool written in Go";
24 license = lib.licenses.asl20;
25 maintainers = with lib.maintainers; [ s0me1newithhand7s ];
26 };
27}