Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, fetchFromGitHub 3, rustPlatform 4}: 5 6rustPlatform.buildRustPackage rec { 7 pname = "jql"; 8 version = "6.0.8"; 9 10 src = fetchFromGitHub { 11 owner = "yamafaktory"; 12 repo = pname; 13 rev = "jql-v${version}"; 14 hash = "sha256-7z77QSYoCyVkvAApfxEXhsHo8NTK+OemLWwGgtqOqD8="; 15 }; 16 17 cargoHash = "sha256-7WSUnBISuBlwJIuQVIOAU1p8dM2i78uwdLHt5ebh4h4="; 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 }; 26}