Files
2026-05-20 22:08:48 +02:00

33 lines
777 B
Nix

{
lib,
fetchFromGitHub,
buildPythonPackage,
setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "csv2md";
version = "1.6.0";
pyproject = true;
src = fetchFromGitHub {
owner = "lzakharov";
repo = "csv2md";
rev = "v${finalAttrs.version}";
hash = "sha256-51MCeM/zfjYMhB8Ryt1RMevEwszAzgYrJsyViEIOYVY=";
};
build-system = [ setuptools ];
pythonImportsCheck = [ "csv2md" ];
meta = {
description = "Command line tool for converting CSV files into Markdown tables";
homepage = "https://github.com/lzakharov/csv2md";
changelog = "https://github.com/lzakharov/csv2md/releases/tag/v${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ t4ccer ];
mainProgram = "csv2md";
};
})