2022-03-30 09:31:56 +00:00
|
|
|
{ lib, rustPlatform, fetchCrate }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "toml2json";
|
2023-08-10 07:59:29 +00:00
|
|
|
version = "1.3.1";
|
2022-03-30 09:31:56 +00:00
|
|
|
|
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
2023-08-10 07:59:29 +00:00
|
|
|
sha256 = "sha256-9q2HtNzsRO0/5gcmxUfWuQlWsfvw/A21WEXZlifCUjY=";
|
2022-03-30 09:31:56 +00:00
|
|
|
};
|
|
|
|
|
2023-08-10 07:59:29 +00:00
|
|
|
cargoHash = "sha256-laOM7LpmsCpLcm4kPRsJiXHoKR58RCuQxVO5Z78beWI=";
|
2022-03-30 09:31:56 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A very small CLI for converting TOML to JSON";
|
|
|
|
homepage = "https://github.com/woodruffw/toml2json";
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ rvarago ];
|
|
|
|
};
|
|
|
|
}
|