2023-03-15 16:39:30 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, rustPlatform
|
|
|
|
}:
|
2021-04-22 02:08:21 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "jql";
|
2024-06-24 18:47:55 +00:00
|
|
|
version = "7.1.12";
|
2021-04-22 02:08:21 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "yamafaktory";
|
|
|
|
repo = pname;
|
2023-04-29 16:46:19 +00:00
|
|
|
rev = "jql-v${version}";
|
2024-06-24 18:47:55 +00:00
|
|
|
hash = "sha256-k8BHmZe7cXUJV6OJlcFdabFiZwg4aEGnpyv5xeM3pH4=";
|
2021-04-22 02:08:21 +00:00
|
|
|
};
|
|
|
|
|
2024-06-24 18:47:55 +00:00
|
|
|
cargoHash = "sha256-G/t9R9WObZNj5AsF0rjNuTf10snIhJE/LFUvXk3KoBQ=";
|
2021-04-22 02:08:21 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "JSON Query Language CLI tool built with Rust";
|
2021-04-22 02:08:21 +00:00
|
|
|
homepage = "https://github.com/yamafaktory/jql";
|
2023-04-29 16:46:19 +00:00
|
|
|
changelog = "https://github.com/yamafaktory/jql/releases/tag/${src.rev}";
|
|
|
|
license = with licenses; [ asl20 mit ];
|
|
|
|
maintainers = with maintainers; [ akshgpt7 figsoda ];
|
2023-10-09 19:29:22 +00:00
|
|
|
mainProgram = "jql";
|
2021-04-22 02:08:21 +00:00
|
|
|
};
|
|
|
|
}
|