at master 1.1 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitLab, 5 lxml, 6 pytestCheckHook, 7 pythonOlder, 8 setuptools, 9}: 10 11buildPythonPackage rec { 12 pname = "et-xmlfile"; 13 version = "2.0.0"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchFromGitLab { 19 domain = "foss.heptapod.net"; 20 owner = "openpyxl"; 21 repo = "et_xmlfile"; 22 tag = version; 23 hash = "sha256-JZ1fJ9o4/Z+9uSlaoq+pNpLSwl5Yv6BJCI1G7GOaQ1I="; 24 }; 25 26 build-system = [ setuptools ]; 27 28 nativeCheckInputs = [ 29 lxml 30 pytestCheckHook 31 ]; 32 33 pythonImportsCheck = [ "et_xmlfile" ]; 34 35 meta = with lib; { 36 description = "Implementation of lxml.xmlfile for the standard library"; 37 longDescription = '' 38 et_xmlfile is a low memory library for creating large XML files. 39 40 It is based upon the xmlfile module from lxml with the aim of 41 allowing code to be developed that will work with both 42 libraries. It was developed initially for the openpyxl project 43 but is now a standalone module. 44 ''; 45 homepage = "https://foss.heptapod.net/openpyxl/et_xmlfile"; 46 license = licenses.mit; 47 maintainers = [ ]; 48 }; 49}