1{ lib, rustPlatform, fetchCrate }:
2
3rustPlatform.buildRustPackage rec {
4 pname = "toml2json";
5 version = "1.3.1";
6
7 src = fetchCrate {
8 inherit pname version;
9 sha256 = "sha256-9q2HtNzsRO0/5gcmxUfWuQlWsfvw/A21WEXZlifCUjY=";
10 };
11
12 cargoHash = "sha256-laOM7LpmsCpLcm4kPRsJiXHoKR58RCuQxVO5Z78beWI=";
13
14 meta = with lib; {
15 description = "A very small CLI for converting TOML to JSON";
16 homepage = "https://github.com/woodruffw/toml2json";
17 license = with licenses; [ mit ];
18 maintainers = with maintainers; [ rvarago ];
19 };
20}