blob: 867b9afb91f873fb05b814512f07b810cb6ad361 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
{
lib,
rustPlatform,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage rec {
pname = "reparojson";
version = "0.1.3";
src = fetchFromGitHub {
owner = "nsfisis";
repo = "reparojson";
rev = "v${version}";
hash = "sha256-HJfzxNDFzutYluc+VKcsxxzStEaizSfynyvq0U4tEs0=";
};
cargoHash = "sha256-sSLjobm/hWpkEaRIvPshjCXNKmLlIHOsSRyBqGTshlQ=";
meta = {
description = "A simple command-line tool to repair JSON. It only fixes the syntactic errors and never formats the given input.";
homepage = "https://github.com/nsfisis/reparojson";
license = lib.licenses.mit;
mainProgram = "reparojson";
};
}
|