about summary refs log tree commit diff
path: root/pkgs/development/python-modules/csv2md/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/csv2md/default.nix')
-rw-r--r--pkgs/development/python-modules/csv2md/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/csv2md/default.nix b/pkgs/development/python-modules/csv2md/default.nix
new file mode 100644
index 000000000000..a8d62dd33fcf
--- /dev/null
+++ b/pkgs/development/python-modules/csv2md/default.nix
@@ -0,0 +1,28 @@
+{ lib
+, fetchFromGitHub
+, buildPythonPackage
+}:
+
+buildPythonPackage rec {
+  pname = "csv2md";
+  version = "1.4.0";
+  format = "setuptools";
+
+  src = fetchFromGitHub {
+    owner = "lzakharov";
+    repo = "csv2md";
+    rev = "v${version}";
+    hash = "sha256-CzURejGIxsD7IBSbAYXz0kj5oX47e+uN13fqd56CM1A=";
+  };
+
+  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";
+  };
+}