Commit 35f75cff authored by Alex Chapman's avatar Alex Chapman Committed by Robert Schütz
Browse files

pythonPackages.python-docx: init at 0.8.6 (#38722)

parent 064d4bfe
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -305,6 +305,11 @@
    github = "akru";
    name = "Alexander Krupenkin ";
  };
  alexchapman = {
    name = "Alex Chapman";
    email = "alex@farfromthere.net";
    github = "AJChapman";
  };
  alexvorobiev = {
    email = "alexander.vorobiev@gmail.com";
    github = "alexvorobiev";
+33 −0
Original line number Diff line number Diff line
{ lib
, behave
, buildPythonPackage
, fetchPypi
, lxml
, pytest
, pyparsing
, mock
}:

buildPythonPackage rec {
  pname = "python-docx";
  version = "0.8.6";

  src = fetchPypi {
    inherit pname version;
    sha256 = "117i84s6fcdsrfckbvznnqgqwhnf1x0523ps16cki8sg9byydv2m";
  };

  checkInputs = [ behave mock pyparsing pytest ];
  propagatedBuildInputs = [ lxml ];

  checkPhase = ''
    py.test tests
  '';

  meta = {
    description = "Create and update Microsoft Word .docx files";
    homepage = https://python-docx.readthedocs.io/en/latest/;
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.alexchapman ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -18298,6 +18298,8 @@ EOF
  wsproto = callPackage ../development/python-modules/wsproto { };
  h11 = callPackage ../development/python-modules/h11 { };
  python-docx = callPackage ../development/python-modules/python-docx { };
});
in fix' (extends overrides packages)