depot/third_party/nixpkgs/pkgs/tools/misc/xq/default.nix

25 lines
526 B
Nix
Raw Normal View History

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