Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 38 lines 909 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytest 5, jdcal 6, et_xmlfile 7, lxml 8}: 9 10buildPythonPackage rec { 11 pname = "openpyxl"; 12 version = "2.6.4"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "1d53801678e18d7fe38c116f1ad0c2383a654670c4c8806105b611c92d92f2e3"; 17 }; 18 19 checkInputs = [ pytest ]; 20 propagatedBuildInputs = [ jdcal et_xmlfile lxml ]; 21 22 postPatch = '' 23 # LICENSE.rst is missing, and setup.cfg currently doesn't contain anything useful anyway 24 # This should likely be removed in the next update 25 rm setup.cfg 26 ''; 27 28 # Tests are not included in archive. 29 # https://bitbucket.org/openpyxl/openpyxl/issues/610 30 doCheck = false; 31 32 meta = { 33 description = "A Python library to read/write Excel 2007 xlsx/xlsm files"; 34 homepage = "https://openpyxl.readthedocs.org"; 35 license = lib.licenses.mit; 36 maintainers = with lib.maintainers; [ lihop sjourdois ]; 37 }; 38}