Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 21 lines 574 B view raw
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 hash = "sha256-9q2HtNzsRO0/5gcmxUfWuQlWsfvw/A21WEXZlifCUjY="; 10 }; 11 12 cargoHash = "sha256-laOM7LpmsCpLcm4kPRsJiXHoKR58RCuQxVO5Z78beWI="; 13 14 meta = with lib; { 15 description = "Very small CLI for converting TOML to JSON"; 16 mainProgram = "toml2json"; 17 homepage = "https://github.com/woodruffw/toml2json"; 18 license = with licenses; [ mit ]; 19 maintainers = with maintainers; [ rvarago ]; 20 }; 21}