depot/pkgs/development/tools/toml2json/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

21 lines
574 B
Nix

{ lib, rustPlatform, fetchCrate }:
rustPlatform.buildRustPackage rec {
pname = "toml2json";
version = "1.3.1";
src = fetchCrate {
inherit pname version;
hash = "sha256-9q2HtNzsRO0/5gcmxUfWuQlWsfvw/A21WEXZlifCUjY=";
};
cargoHash = "sha256-laOM7LpmsCpLcm4kPRsJiXHoKR58RCuQxVO5Z78beWI=";
meta = with lib; {
description = "Very small CLI for converting TOML to JSON";
mainProgram = "toml2json";
homepage = "https://github.com/woodruffw/toml2json";
license = with licenses; [ mit ];
maintainers = with maintainers; [ rvarago ];
};
}