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