Commit a4892c68 authored by Raphael Robatsch's avatar Raphael Robatsch
Browse files
parent e84520c2
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -2,20 +2,21 @@

rustPlatform.buildRustPackage rec {
  pname = "jfmt";
  version = "1.2.0";
  version = "1.2.1";

  src = fetchFromGitHub {
    owner = "scruffystuffs";
    repo = "${pname}.rs";
    rev = version;
    sha256 = "07qb0sjwww6d2n7fw8w4razq1mkn4psrs9wqi1ccndrya1y39d8b";
    rev = "v${version}";
    hash = "sha256-X3wk669G07BTPAT5xGbAfIu2Qk90aaJIi1CLmOnSG80=";
  };

  cargoSha256 = "19kg2n53y9nazwpp8gcvdprxry2llf2k7g4q4zalyxkhpf7k6irb";
  cargoHash = "sha256-u/v3P7iPdBJU/0wlSNBq/cjnM3XOnoVfUjrrmo4sTAA=";

  meta = with lib; {
    description = "CLI utility to format json files";
    homepage = "https://github.com/scruffystuffs/jfmt.rs";
    changelog = "https://github.com/scruffystuffs/jfmt.rs/blob/${version}/CHANGELOG.md";
    license = licenses.mit;
    maintainers = [ maintainers.psibi ];
  };