depot/third_party/nixpkgs/pkgs/tools/misc/xq/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

24 lines
540 B
Nix

{ lib
, rustPlatform
, fetchCrate
}:
rustPlatform.buildRustPackage rec {
pname = "xq";
version = "0.4.0";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-pQhzyXLurFnBn9DkkXA54NsAX8wE4rQvaHXZLkLDwdw=";
};
cargoHash = "sha256-gfCH/jnJTUiqwzxUYuZuFWh9Wq8hp43z2gRdaDQ908g=";
meta = with lib; {
description = "Pure rust implementation of jq";
homepage = "https://github.com/MiSawa/xq";
license = licenses.mit;
maintainers = with maintainers; [ matthewcroughan ];
mainProgram = "xq";
};
}