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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
541 B
Nix
Raw Normal View History

2022-10-14 19:39:01 +00:00
{ lib
, rustPlatform
, fetchCrate
}:
rustPlatform.buildRustPackage rec {
pname = "xq";
2024-01-17 00:25:43 +00:00
version = "0.2.45";
2022-10-14 19:39:01 +00:00
src = fetchCrate {
inherit pname version;
2024-01-17 00:25:43 +00:00
sha256 = "sha256-wSvVmKqucvg7Gs4H1o9i/d8f2I1g52Vq2Z8F7FwaOR0=";
2022-10-14 19:39:01 +00:00
};
2024-01-17 00:25:43 +00:00
cargoHash = "sha256-Gje7Sqe51IMzblydU0s1qXqfIIIQvt0EYMChVbK295s=";
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 ];
2023-11-27 01:17:53 +00:00
mainProgram = "xq";
2022-10-14 19:39:01 +00:00
};
}