{ lib , fetchFromGitHub , rustPlatform }: rustPlatform.buildRustPackage rec { pname = "jql"; version = "7.0.4"; src = fetchFromGitHub { owner = "yamafaktory"; repo = pname; rev = "jql-v${version}"; hash = "sha256-Qy4ozTRdDF8ENyk4AB2a/4AuMSLJd/3w/q9TjGgrkPE="; }; cargoHash = "sha256-or69dz+wMhp8CPLzip6c6S7HpilAE2DAVkv/3IJMJWQ="; meta = with lib; { description = "A JSON Query Language CLI tool built with Rust"; homepage = "https://github.com/yamafaktory/jql"; changelog = "https://github.com/yamafaktory/jql/releases/tag/${src.rev}"; license = with licenses; [ asl20 mit ]; maintainers = with maintainers; [ akshgpt7 figsoda ]; mainProgram = "jql"; }; }