at 23.11-beta 27 lines 714 B view raw
1{ lib 2, fetchFromGitHub 3, rustPlatform 4}: 5 6rustPlatform.buildRustPackage rec { 7 pname = "jql"; 8 version = "7.0.6"; 9 10 src = fetchFromGitHub { 11 owner = "yamafaktory"; 12 repo = pname; 13 rev = "jql-v${version}"; 14 hash = "sha256-gRRYUn5XQp6QHhI6+ZjXqLq7wfUZ8PiUgQSXBMu8uns="; 15 }; 16 17 cargoHash = "sha256-Fv7CWCuV6LUXqDSCxE4JLdUdKyDUSBX/KybfM6VfRss="; 18 19 meta = with lib; { 20 description = "A JSON Query Language CLI tool built with Rust"; 21 homepage = "https://github.com/yamafaktory/jql"; 22 changelog = "https://github.com/yamafaktory/jql/releases/tag/${src.rev}"; 23 license = with licenses; [ asl20 mit ]; 24 maintainers = with maintainers; [ akshgpt7 figsoda ]; 25 mainProgram = "jql"; 26 }; 27}