1{ lib
2, fetchFromGitHub
3, rustPlatform
4}:
5
6rustPlatform.buildRustPackage rec {
7 pname = "jql";
8 version = "7.1.13";
9
10 src = fetchFromGitHub {
11 owner = "yamafaktory";
12 repo = pname;
13 rev = "jql-v${version}";
14 hash = "sha256-JJV/r64TQecj2Sa/sjxaddiVFCGmtjEn+wfobUbN1OU=";
15 };
16
17 cargoHash = "sha256-w3MF4FcBCq5gQnhVVlcXOeGH4r2cA6kWwIzGVeLY5zg=";
18
19 meta = with lib; {
20 description = "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}