depot/third_party/nixpkgs/pkgs/development/python-modules/csv2md/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

28 lines
697 B
Nix

{ lib
, fetchFromGitHub
, buildPythonPackage
}:
buildPythonPackage rec {
pname = "csv2md";
version = "1.3.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "lzakharov";
repo = "csv2md";
rev = "v${version}";
hash = "sha256-INwZRbyJmyDd5SV7PBdqUc/3FO91upTgaxBfP/Giaw4=";
};
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${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ t4ccer ];
mainProgram = "csv2md";
};
}