1{
2 lib,
3 fetchFromGitHub,
4 buildPythonPackage,
5}:
6
7buildPythonPackage rec {
8 pname = "csv2md";
9 version = "1.4.0";
10 format = "setuptools";
11
12 src = fetchFromGitHub {
13 owner = "lzakharov";
14 repo = "csv2md";
15 rev = "v${version}";
16 hash = "sha256-CzURejGIxsD7IBSbAYXz0kj5oX47e+uN13fqd56CM1A=";
17 };
18
19 pythonImportsCheck = [ "csv2md" ];
20
21 meta = {
22 description = "Command line tool for converting CSV files into Markdown tables";
23 homepage = "https://github.com/lzakharov/csv2md";
24 changelog = "https://github.com/lzakharov/csv2md/releases/tag/v${version}";
25 license = lib.licenses.mit;
26 maintainers = with lib.maintainers; [ t4ccer ];
27 mainProgram = "csv2md";
28 };
29}