diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-04-27 15:33:34 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-04-27 15:33:34 +0900 |
| commit | 6296ecf82e7940ca798a928d6176e82bbe85c222 (patch) | |
| tree | 78bd5aef86fa9c99dbb6b23026ff904ba077b1c8 /pkgs/reparojson/default.nix | |
| parent | cf6ee56c78b697979b9f6c9092ecbceda85ee5e1 (diff) | |
| download | nur-packages-6296ecf82e7940ca798a928d6176e82bbe85c222.tar.gz nur-packages-6296ecf82e7940ca798a928d6176e82bbe85c222.tar.zst nur-packages-6296ecf82e7940ca798a928d6176e82bbe85c222.zip | |
add reparojson
Diffstat (limited to 'pkgs/reparojson/default.nix')
| -rw-r--r-- | pkgs/reparojson/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/reparojson/default.nix b/pkgs/reparojson/default.nix new file mode 100644 index 0000000..ae8ab6e --- /dev/null +++ b/pkgs/reparojson/default.nix @@ -0,0 +1,25 @@ +{ + lib, + rustPlatform, + fetchFromGitHub, +}: + +rustPlatform.buildRustPackage rec { + pname = "reparojson"; + version = "0.1.2"; + + src = fetchFromGitHub { + owner = "nsfisis"; + repo = "reparojson"; + rev = "v${version}"; + hash = "sha256-kex4LNS7yT8BbaNE/uZrGED8Rx2QmPgCgPwBnIO2za8="; + }; + cargoHash = "sha256-nFv22XP5bhS++li21VsB4aMJ3q5veH6zsK9cCNTVz0k="; + + 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"; + }; +} |
