Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, rustPlatform, fetchCrate }: 2 3rustPlatform.buildRustPackage rec { 4 pname = "toml2json"; 5 version = "1.3.0"; 6 7 src = fetchCrate { 8 inherit pname version; 9 sha256 = "sha256-TxTxKHf5g+mBXDq147T5tuwCqyfyoz6Mj55g1tlgRDY="; 10 }; 11 12 cargoHash = "sha256-EYp30TMIpzSCkPIqqdc7sGpfaWs9OLi9ey7DoPE4jzI="; 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}