3
0
Fork 0
forked from mirrors/nixpkgs

jfmt: init at 1.2.0

This commit is contained in:
Sibi Prabakaran 2022-02-11 12:44:59 +05:30 committed by zowoq
parent 7434084278
commit 66a89c0cfd
2 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,22 @@
{ 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 ];
};
}

View file

@ -6767,6 +6767,8 @@ with pkgs;
jet = callPackage ../development/tools/jet { };
jfmt = callPackage ../development/tools/jfmt { };
jfsutils = callPackage ../tools/filesystems/jfsutils { };
jhead = callPackage ../tools/graphics/jhead { };