default.nix (633B)
1 { 2 lib, 3 stdenv, 4 rustPlatform, 5 fetchFromGitHub, 6 }: 7 8 rustPlatform.buildRustPackage (finalAttrs: { 9 pname = "csv2html"; 10 version = "3.1.1"; 11 12 src = fetchFromGitHub { 13 owner = "dbohdan"; 14 repo = "csv2html"; 15 tag = "v${finalAttrs.version}"; 16 hash = "sha256-H8nUwK72opUohBN2exZURRAPr1RXLa87exYaGigly0Q="; 17 }; 18 19 cargoHash = "sha256-HZ7VLpgdSjpalJt3XmflJdO88LZxNkmL7vT/eFACe6k="; 20 21 meta = { 22 description = "Convert CSV files to HTML tables"; 23 homepage = "https://github.com/dbohdan/csv2html"; 24 license = lib.licenses.bsd3; 25 maintainers = [ lib.maintainers.sikmir ]; 26 mainProgram = "csv2html"; 27 }; 28 })