5083ee08a2
GitOrigin-RevId: 10ecda252ce1b3b1d6403caeadbcc8f30d5ab796
28 lines
675 B
Nix
28 lines
675 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "ooniprobe-cli";
|
|
version = "3.16.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ooni";
|
|
repo = "probe-cli";
|
|
rev = "v${version}";
|
|
hash = "sha256-LCihFw0WprVmL6t0TLHRY35Uek7catA4fIfp+yox87E=";
|
|
};
|
|
|
|
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";
|
|
};
|
|
}
|