nixpkgs/pkgs/by-name/jq/jql/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
712 B
Nix
Raw Normal View History

2023-03-14 08:22:53 +00:00
{ lib
, fetchFromGitHub
, rustPlatform
}:
2021-04-20 18:47:08 +00:00
rustPlatform.buildRustPackage rec {
pname = "jql";
2024-10-29 01:46:03 +00:00
version = "8.0.0";
2021-04-20 18:47:08 +00:00
src = fetchFromGitHub {
owner = "yamafaktory";
repo = pname;
rev = "jql-v${version}";
2024-10-29 01:46:03 +00:00
hash = "sha256-4H2V/ZE29Jw0JWSzP7X8SKgD+vXoCd7pcfTqB7/8m7M=";
2021-04-20 18:47:08 +00:00
};
2024-10-29 01:46:03 +00:00
cargoHash = "sha256-/Y880GUXTUOd7SyVhbMZhMPgfm66HbWrz5miGJjfX0g=";
2021-04-20 18:47:08 +00:00
meta = with lib; {
description = "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 ];
2023-08-24 18:09:43 +00:00
mainProgram = "jql";
2021-04-20 18:47:08 +00:00
};
}