2021-04-20 20:47:08 +02:00
|
|
|
{ lib, fetchFromGitHub, rustPlatform }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "jql";
|
2021-12-10 14:32:24 +01:00
|
|
|
version = "3.0.4";
|
2021-04-20 20:47:08 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "yamafaktory";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-12-10 14:32:24 +01:00
|
|
|
sha256 = "sha256-SU8byylr/Rv4lDWkt9+U4UvgCM5kYZeRsTk+hdz0y8w=";
|
2021-04-20 20:47:08 +02:00
|
|
|
};
|
|
|
|
|
2021-12-10 14:32:24 +01:00
|
|
|
cargoSha256 = "sha256-snc5QSaxbnXo6FOceqYucjN+ECo+RonejXda9Fvgggc=";
|
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";
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ akshgpt7 ];
|
|
|
|
};
|
|
|
|
}
|