depot/third_party/nixpkgs/pkgs/development/tools/jf/default.nix
Default email 94427deb9d Project import generated by Copybara.
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
2023-05-24 16:37:59 +03:00

22 lines
611 B
Nix

{ lib, stdenv, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "jf";
version = "0.2.2";
src = fetchFromGitHub {
owner = "sayanarijit";
repo = "jf";
rev = "v${version}";
hash = "sha256-6x/WDsDHkQVjiere17XMY3lxG2M5bmTtdH1rMjii+NY=";
};
cargoHash = "sha256-W8/6EiqevF7mX2cgdv9/USVnSVxQ/J6I3Cq/UJyZOxU=";
meta = with lib; {
description = "A small utility to safely format and print JSON objects in the commandline";
homepage = "https://github.com/sayanarijit/jf";
license = licenses.mit;
maintainers = [ maintainers.sayanarijit ];
};
}