nixpkgs/pkgs/development/tools/toml2json/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
547 B
Nix
Raw Normal View History

2022-01-30 15:32:25 +00:00
{ lib, rustPlatform, fetchCrate }:
rustPlatform.buildRustPackage rec {
pname = "toml2json";
2023-08-07 05:34:23 +00:00
version = "1.3.1";
2022-01-30 15:32:25 +00:00
src = fetchCrate {
inherit pname version;
2023-08-07 05:34:23 +00:00
sha256 = "sha256-9q2HtNzsRO0/5gcmxUfWuQlWsfvw/A21WEXZlifCUjY=";
2022-01-30 15:32:25 +00:00
};
2023-08-07 05:34:23 +00:00
cargoHash = "sha256-laOM7LpmsCpLcm4kPRsJiXHoKR58RCuQxVO5Z78beWI=";
2022-01-30 15:32:25 +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 ];
};
}