depot/third_party/nixpkgs/pkgs/tools/misc/xq/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

24 lines
538 B
Nix

{ lib
, rustPlatform
, fetchCrate
}:
rustPlatform.buildRustPackage rec {
pname = "xq";
version = "0.4.1";
src = fetchCrate {
inherit pname version;
hash = "sha256-Qe+crretlKJRoNPO2+aHxCmMO9MecqGjOuvdhr4a0NU=";
};
cargoHash = "sha256-R2ng5l2l/5vWnTJ3kt3cURNWL4Lo55yGbSE+9hjQu20=";
meta = with lib; {
description = "Pure rust implementation of jq";
homepage = "https://github.com/MiSawa/xq";
license = licenses.mit;
maintainers = with maintainers; [ matthewcroughan ];
mainProgram = "xq";
};
}