nixpkgs/pkgs/development/tools/jaq/default.nix

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

25 lines
662 B
Nix
Raw Normal View History

2022-09-25 06:39:26 +00:00
{ lib, stdenv, fetchFromGitHub, rustPlatform, Security }:
rustPlatform.buildRustPackage rec {
pname = "jaq";
2022-11-12 09:42:54 +00:00
version = "0.9.0";
2022-09-25 06:39:26 +00:00
src = fetchFromGitHub {
owner = "01mf02";
repo = "jaq";
rev = "v${version}";
2022-11-12 09:42:54 +00:00
sha256 = "sha256-Y1QLNiAeHKYsSbFW235mdTiHyQFBQQsO+FtuFxDX9Hs=";
2022-09-25 06:39:26 +00:00
};
2022-11-12 09:42:54 +00:00
cargoSha256 = "sha256-+9uy5R/dO2T/6dRhtYlPCKfosaYua0JvbECvMacc3XA=";
2022-09-25 06:39:26 +00:00
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
meta = with lib; {
description = "A jq clone focused on correctness, speed and simplicity";
homepage = "https://github.com/01mf02/jaq";
license = licenses.mit;
maintainers = with maintainers; [ siraben ];
};
}