depot/third_party/nixpkgs/pkgs/development/tools/jql/default.nix
Default email 83627f9931 Project import generated by Copybara.
GitOrigin-RevId: 2893f56de08021cffd9b6b6dfc70fd9ccd51eb60
2024-06-24 14:47:55 -04:00

27 lines
713 B
Nix

{ lib
, fetchFromGitHub
, rustPlatform
}:
rustPlatform.buildRustPackage rec {
pname = "jql";
version = "7.1.12";
src = fetchFromGitHub {
owner = "yamafaktory";
repo = pname;
rev = "jql-v${version}";
hash = "sha256-k8BHmZe7cXUJV6OJlcFdabFiZwg4aEGnpyv5xeM3pH4=";
};
cargoHash = "sha256-G/t9R9WObZNj5AsF0rjNuTf10snIhJE/LFUvXk3KoBQ=";
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 ];
mainProgram = "jql";
};
}