nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

default.nix (683B)


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