Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / tools / jql / default.nix
blob3d7226fbb1499fcd39a17f789ca15d12cf324ce2
1 { lib
2 , fetchFromGitHub
3 , rustPlatform
4 }:
6 rustPlatform.buildRustPackage rec {
7   pname = "jql";
8   version = "7.0.6";
10   src = fetchFromGitHub {
11     owner = "yamafaktory";
12     repo = pname;
13     rev = "jql-v${version}";
14     hash = "sha256-gRRYUn5XQp6QHhI6+ZjXqLq7wfUZ8PiUgQSXBMu8uns=";
15   };
17   cargoHash = "sha256-Fv7CWCuV6LUXqDSCxE4JLdUdKyDUSBX/KybfM6VfRss=";
19   meta = with lib; {
20     description = "A JSON Query Language CLI tool built with Rust";
21     homepage = "https://github.com/yamafaktory/jql";
22     changelog = "https://github.com/yamafaktory/jql/releases/tag/${src.rev}";
23     license = with licenses; [ asl20 mit ];
24     maintainers = with maintainers; [ akshgpt7 figsoda ];
25     mainProgram = "jql";
26   };