depot/third_party/nixpkgs/pkgs/development/tools/jfmt/default.nix
Default email 792b51d22f Project import generated by Copybara.
GitOrigin-RevId: d5f237872975e6fb6f76eef1368b5634ffcd266f
2022-02-20 05:27:41 +00:00

22 lines
575 B
Nix

{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "jfmt";
version = "1.2.0";
src = fetchFromGitHub {
owner = "scruffystuffs";
repo = "${pname}.rs";
rev = version;
sha256 = "07qb0sjwww6d2n7fw8w4razq1mkn4psrs9wqi1ccndrya1y39d8b";
};
cargoSha256 = "19kg2n53y9nazwpp8gcvdprxry2llf2k7g4q4zalyxkhpf7k6irb";
meta = with lib; {
description = "CLI utility to format json files";
homepage = "https://github.com/scruffystuffs/jfmt.rs";
license = licenses.mit;
maintainers = [ maintainers.psibi ];
};
}