diff options
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r-- | pkgs/development/tools/jaq/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/tools/jaq/default.nix b/pkgs/development/tools/jaq/default.nix new file mode 100644 index 0000000000000..9c28cdf73994c --- /dev/null +++ b/pkgs/development/tools/jaq/default.nix @@ -0,0 +1,24 @@ +{ lib, stdenv, fetchFromGitHub, rustPlatform, Security }: + +rustPlatform.buildRustPackage rec { + pname = "jaq"; + version = "0.8.0"; + + src = fetchFromGitHub { + owner = "01mf02"; + repo = "jaq"; + rev = "v${version}"; + sha256 = "sha256-4WCVXrw/v3cGsl7S1nGqKmWrIHeM/ODCXQBxQJgZLjw="; + }; + + cargoSha256 = "sha256-D+Wpzgj05PJcMlGS9eL43SdncHO/q1Wt00gvPlC7ZAE="; + + buildInputs = lib.optionals stdenv.isDarwin [ Security ]; + + meta = with lib; { + description = "A jq clone focused on correctness, speed and simplicity"; + homepage = "https://github.com/01mf02/jaq"; + license = licenses.mit; + maintainers = with maintainers; [ siraben ]; + }; +} |