2022-10-14 19:39:01 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchCrate
|
|
|
|
, stdenv
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "xq";
|
2023-01-28 17:25:54 +00:00
|
|
|
version = "0.2.42";
|
2022-10-14 19:39:01 +00:00
|
|
|
|
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
2023-01-28 17:25:54 +00:00
|
|
|
sha256 = "sha256-VR2ZUt0qvQBaFZr7Gui/LywsRrPubQlzYj1PQj05xhY=";
|
2022-10-14 19:39:01 +00:00
|
|
|
};
|
|
|
|
|
2023-01-28 17:25:54 +00:00
|
|
|
cargoHash = "sha256-rX0fwJM8sHTuHIsmk9JpgWrTq1EA6Ksx7fFqWqY5R4k=";
|
2022-10-14 19:39:01 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Pure rust implementation of jq";
|
|
|
|
homepage = "https://github.com/MiSawa/xq";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ matthewcroughan ];
|
|
|
|
};
|
|
|
|
}
|