Skip to content

Commit

Permalink
Merge pull request #169277 from dotlambda/ooniprobe-cli-init
Browse files Browse the repository at this point in the history
ooniprobe-cli: init at 3.14.2
  • Loading branch information
davidak committed May 1, 2022
2 parents 7d0bdb1 + f1ef2bc commit bd971a2
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
27 changes: 27 additions & 0 deletions pkgs/tools/networking/ooniprobe-cli/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{ lib
, buildGoModule
, fetchFromGitHub
}:

buildGoModule rec {
pname = "ooniprobe-cli";
version = "3.14.2";

src = fetchFromGitHub {
owner = "ooni";
repo = "probe-cli";
rev = "v${version}";
hash = "sha256-9n/Ozyy1QzjFum/R/X2DChzTHl70e+JQuo09nToAIcE=";
};

vendorSha256 = "/fN9nRYOy00EeI8zZQFkCgTMGLZ0pFbYmRdTr2NLIsc=";

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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8881,6 +8881,8 @@ with pkgs;

onlykey = callPackage ../tools/security/onlykey { node_webkit = nwjs; };

ooniprobe-cli = callPackage ../tools/networking/ooniprobe-cli { };

openapi-generator-cli = callPackage ../tools/networking/openapi-generator-cli { jre = pkgs.jre_headless; };
openapi-generator-cli-unstable = callPackage ../tools/networking/openapi-generator-cli/unstable.nix { jre = pkgs.jre_headless; };

Expand Down

0 comments on commit bd971a2

Please sign in to comment.