2023-03-14 08:22:53 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, rustPlatform
|
|
|
|
}:
|
2021-04-20 18:47:08 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "jql";
|
2023-08-24 13:31:19 +00:00
|
|
|
version = "7.0.3";
|
2021-04-20 18:47:08 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "yamafaktory";
|
|
|
|
repo = pname;
|
2023-04-23 22:46:26 +00:00
|
|
|
rev = "jql-v${version}";
|
2023-08-24 13:31:19 +00:00
|
|
|
hash = "sha256-9VQtPYAw/MtYZxfosWPQOy29YjvzVGP/mhje42dAb8U=";
|
2021-04-20 18:47:08 +00:00
|
|
|
};
|
|
|
|
|
2023-08-24 13:31:19 +00:00
|
|
|
cargoHash = "sha256-erGqHW3LyXTcy6MZH24F7OKknissH4es2VmWdEFwe0Y=";
|
2021-04-20 18:47:08 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A JSON Query Language CLI tool built with Rust";
|
|
|
|
homepage = "https://github.com/yamafaktory/jql";
|
2023-04-23 22:46:26 +00:00
|
|
|
changelog = "https://github.com/yamafaktory/jql/releases/tag/${src.rev}";
|
|
|
|
license = with licenses; [ asl20 mit ];
|
|
|
|
maintainers = with maintainers; [ akshgpt7 figsoda ];
|
2021-04-20 18:47:08 +00:00
|
|
|
};
|
|
|
|
}
|