diff --git a/pkgs/tools/misc/xq/default.nix b/pkgs/tools/misc/xq/default.nix new file mode 100644 index 000000000000..dafff67ecfd2 --- /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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index be6cd9615ff2..c457a89262d1 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -36755,6 +36755,8 @@ with pkgs; xlockmore = callPackage ../misc/screensavers/xlockmore { }; + xq = callPackage ../tools/misc/xq { }; + xtrlock-pam = callPackage ../misc/screensavers/xtrlock-pam { }; sailsd = callPackage ../misc/sailsd { };