diff options
author | matthewcroughan <matt@croughan.sh> | 2022-10-14 20:39:01 +0100 |
---|---|---|
committer | matthewcroughan <matt@croughan.sh> | 2022-10-14 20:39:14 +0100 |
commit | 668a53a3b2e8945c79e729b331443daa1f9acb84 (patch) | |
tree | 169c8558abfa0b95b7c20b279934ceca8ed98827 /pkgs/tools/misc/xq | |
parent | 7d682ef84f2cf07f53fac2adacf8a1388d3337c4 (diff) |
xq: init at 0.2.39
Diffstat (limited to 'pkgs/tools/misc/xq')
-rw-r--r-- | pkgs/tools/misc/xq/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/tools/misc/xq/default.nix b/pkgs/tools/misc/xq/default.nix new file mode 100644 index 0000000000000..dafff67ecfd2d --- /dev/null +++ b/pkgs/tools/misc/xq/default.nix @@ -0,0 +1,24 @@ +{ lib +, rustPlatform +, fetchCrate +, stdenv +}: + +rustPlatform.buildRustPackage rec { + pname = "xq"; + version = "0.2.39"; + + src = fetchCrate { + inherit pname version; + sha256 = "sha256-eyQ38Ld/sVI5vvQRohGfu+cXNtS3nTOBwxiO9BqjxhM="; + }; + + cargoSha256 = "sha256-LajK6OaH6uwnwXvOSJCY/oTtAd2+mcFTWghxC5mVAjQ="; + + meta = with lib; { + description = "Pure rust implementation of jq"; + homepage = "https://github.com/MiSawa/xq"; + license = licenses.mit; + maintainers = with maintainers; [ matthewcroughan ]; + }; +} |