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
538 B
Nix
Raw Normal View History

2022-10-14 20:39:01 +01:00
{ lib
, rustPlatform
, fetchCrate
}:
rustPlatform.buildRustPackage rec {
pname = "xq";
2024-06-30 07:06:21 +01:00
version = "0.4.1";
2022-10-14 20:39:01 +01:00
src = fetchCrate {
inherit pname version;
hash = "sha256-Qe+crretlKJRoNPO2+aHxCmMO9MecqGjOuvdhr4a0NU=";
2022-10-14 20:39:01 +01:00
};
2024-06-30 07:06:21 +01:00
cargoHash = "sha256-R2ng5l2l/5vWnTJ3kt3cURNWL4Lo55yGbSE+9hjQu20=";
2022-10-14 20:39:01 +01: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 20:39:01 +01:00
};
}