mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 16:53:21 +00:00
28 lines
714 B
Nix
28 lines
714 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, rustPlatform
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "jql";
|
|
version = "7.0.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "yamafaktory";
|
|
repo = pname;
|
|
rev = "jql-v${version}";
|
|
hash = "sha256-9VQtPYAw/MtYZxfosWPQOy29YjvzVGP/mhje42dAb8U=";
|
|
};
|
|
|
|
cargoHash = "sha256-erGqHW3LyXTcy6MZH24F7OKknissH4es2VmWdEFwe0Y=";
|
|
|
|
meta = with lib; {
|
|
description = "A JSON Query Language CLI tool built with Rust";
|
|
homepage = "https://github.com/yamafaktory/jql";
|
|
changelog = "https://github.com/yamafaktory/jql/releases/tag/${src.rev}";
|
|
license = with licenses; [ asl20 mit ];
|
|
maintainers = with maintainers; [ akshgpt7 figsoda ];
|
|
mainProgram = "jql";
|
|
};
|
|
}
|