mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 08:43:06 +00:00
c3e2e79d6e
Diff: https://github.com/ooni/probe-cli/compare/v3.20.0...v3.20.1 Changelog: https://github.com/ooni/probe-cli/releases/tag/v3.20.1
32 lines
778 B
Nix
32 lines
778 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "ooniprobe-cli";
|
|
version = "3.20.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ooni";
|
|
repo = "probe-cli";
|
|
rev = "v${version}";
|
|
hash = "sha256-XjIrae4HPFB1Rv8yIAUh6Xj9UVU55Wx7SuyKJ0BvmXY=";
|
|
};
|
|
|
|
vendorHash = "sha256-HYU+oS+iqdl2jQJc3h9T+MSc/Hq2W6UqP+oPSEyfcOU=";
|
|
|
|
subPackages = [ "cmd/ooniprobe" ];
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
meta = with lib; {
|
|
changelog = "https://github.com/ooni/probe-cli/releases/tag/${src.rev}";
|
|
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";
|
|
};
|
|
}
|