depot/third_party/nixpkgs/pkgs/tools/networking/ooniprobe-cli/default.nix
Default email eeb71630af Project import generated by Copybara.
GitOrigin-RevId: 636051e353461f073ac55d5d42c1ed062a345046
2022-11-02 23:02:43 +01:00

28 lines
675 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "ooniprobe-cli";
version = "3.16.5";
src = fetchFromGitHub {
owner = "ooni";
repo = "probe-cli";
rev = "v${version}";
hash = "sha256-53TFXrzeyEcd8WV7hdb+2VXlN2Iogw3bdCiejRIs8Yw=";
};
vendorSha256 = "sha256-eH+PfclxqgffM/pzIkdl7x+6Ie6UPyUpWkJ7+G5eN/E=";
subPackages = [ "cmd/ooniprobe" ];
meta = with lib; {
description = "The Open Observatory of Network Interference command line network probe";
homepage = "https://ooni.org/install/cli";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dotlambda ];
mainProgram = "ooniprobe";
};
}