2023-03-14 09:22:53 +01:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, rustPlatform
|
|
|
|
}:
|
2021-04-20 20:47:08 +02:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "jql";
|
2023-04-24 15:47:07 +02:00
|
|
|
version = "6.0.6";
|
2021-04-20 20:47:08 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "yamafaktory";
|
|
|
|
repo = pname;
|
2023-04-24 00:46:26 +02:00
|
|
|
rev = "jql-v${version}";
|
2023-04-24 15:47:07 +02:00
|
|
|
hash = "sha256-0Tg8vqlTngLfmp0HDxR5ymmLXw16J9pQJfOCOZrRreE=";
|
2021-04-20 20:47:08 +02:00
|
|
|
};
|
|
|
|
|
2023-04-24 15:47:07 +02:00
|
|
|
cargoHash = "sha256-w51soAdIdNuJzQpvQZQZuxbxlClEWYdT/v0ZOnVvsTA=";
|
2021-04-20 20:47:08 +02:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A JSON Query Language CLI tool built with Rust";
|
|
|
|
homepage = "https://github.com/yamafaktory/jql";
|
2023-04-24 00:46:26 +02:00
|
|
|
changelog = "https://github.com/yamafaktory/jql/releases/tag/${src.rev}";
|
|
|
|
license = with licenses; [ asl20 mit ];
|
|
|
|
maintainers = with maintainers; [ akshgpt7 figsoda ];
|
2021-04-20 20:47:08 +02:00
|
|
|
};
|
|
|
|
}
|