2022-10-21 18:38:19 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchCrate
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "xq";
|
2024-02-07 01:22:34 +00:00
|
|
|
version = "0.3.0";
|
2022-10-21 18:38:19 +00:00
|
|
|
|
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
2024-02-07 01:22:34 +00:00
|
|
|
sha256 = "sha256-mgvs3/gseLnFtAciW5txtYqo+8DyyQC7y/tN1kDqcb4=";
|
2022-10-21 18:38:19 +00:00
|
|
|
};
|
|
|
|
|
2024-02-07 01:22:34 +00:00
|
|
|
cargoHash = "sha256-lSyJqGWlk3ldgAkyebuyUDLp8mJdwnw8ee6ZHQXU2Y4=";
|
2022-10-21 18:38:19 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Pure rust implementation of jq";
|
|
|
|
homepage = "https://github.com/MiSawa/xq";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ matthewcroughan ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "xq";
|
2022-10-21 18:38:19 +00:00
|
|
|
};
|
|
|
|
}
|