2021-12-08 18:10:37 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "ooniprobe-cli";
|
2022-12-10 06:28:08 +00:00
|
|
|
version = "3.16.7";
|
2021-12-08 18:10:37 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ooni";
|
|
|
|
repo = "probe-cli";
|
|
|
|
rev = "v${version}";
|
2022-12-10 06:28:08 +00:00
|
|
|
hash = "sha256-GebDgdz45INM1Sf7T0qDjFeBqRftMHjGLIAWTM/1REY=";
|
2021-12-08 18:10:37 +00:00
|
|
|
};
|
|
|
|
|
2022-12-10 06:28:08 +00:00
|
|
|
vendorHash = "sha256-eH+PfclxqgffM/pzIkdl7x+6Ie6UPyUpWkJ7+G5eN/E=";
|
2021-12-08 18:10:37 +00: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 01:46:39 +01:00
|
|
|
mainProgram = "ooniprobe";
|
2021-12-08 18:10:37 +00:00
|
|
|
};
|
|
|
|
}
|