2021-12-08 19:10:37 +01:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "ooniprobe-cli";
|
2022-07-29 16:07:46 +02:00
|
|
|
version = "3.15.3";
|
2021-12-08 19:10:37 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ooni";
|
|
|
|
repo = "probe-cli";
|
|
|
|
rev = "v${version}";
|
2022-07-29 16:07:46 +02:00
|
|
|
hash = "sha256-21D/1ImKOr9+GeSrIRCUGCcALU0WPohrnz1qqUXLy1A=";
|
2021-12-08 19:10:37 +01:00
|
|
|
};
|
|
|
|
|
2022-07-29 16:07:46 +02:00
|
|
|
vendorSha256 = "sha256-tZHBcVTCll3dSfQnQDfo9z3ALAykRmFvH7vjLLtQHDc=";
|
2021-12-08 19:10:37 +01:00
|
|
|
|
|
|
|
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 ];
|
2022-05-05 02:46:39 +02:00
|
|
|
mainProgram = "ooniprobe";
|
2021-12-08 19:10:37 +01:00
|
|
|
};
|
|
|
|
}
|