default.nix (672B)
1 { lib, fetchFromGitHub, python3Packages }: 2 3 python3Packages.buildPythonApplication rec { 4 pname = "docx2csv"; 5 version = "0-unstable-2023-10-11"; 6 7 src = fetchFromGitHub { 8 owner = "ivbeg"; 9 repo = "docx2csv"; 10 rev = "f0c0231876e2ab1210865ded80e4d6105816b0a3"; 11 hash = "sha256-A7Y1zgM+9xIDXsAQN2tGGoWbe8u/kvGch6sBNKz0Nw4="; 12 }; 13 14 propagatedBuildInputs = with python3Packages; [ 15 click 16 openpyxl 17 python-docx 18 xlwt 19 ]; 20 21 meta = with lib; { 22 description = "Extracts tables from .docx files and saves them as .csv or .xls files"; 23 inherit (src.meta) homepage; 24 license = licenses.bsd3; 25 maintainers = [ maintainers.sikmir ]; 26 }; 27 }