at 22.05-pre 692 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, lxml 5, docutils 6, pillow 7, isPy3k 8}: 9 10buildPythonPackage { 11 version = "1.1.7"; 12 pname = "python-lpod"; 13 # lpod library currently does not support Python 3.x 14 disabled = isPy3k; 15 16 propagatedBuildInputs = [ lxml docutils pillow ]; 17 18 src = fetchFromGitHub { 19 owner = "lpod"; 20 repo = "lpod-python"; 21 rev = "dee32120ee582ff337b0c52a95a9a87cca71fd67"; 22 sha256 = "1mikvzp27wxkzpr2lii4wg1hhx8h610agckqynvsrdc8v3nw9ciw"; 23 }; 24 25 meta = with lib; { 26 homepage = "https://github.com/lpod/lpod-python/"; 27 description = "Library implementing the ISO/IEC 26300 OpenDocument Format standard (ODF) "; 28 license = licenses.gpl3; 29 }; 30 31}