at master 862 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 pytestCheckHook, 7 six, 8}: 9 10buildPythonPackage { 11 pname = "xlwt"; 12 version = "1.3.0-unstable-2018-09-16"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "python-excel"; 17 repo = "xlwt"; 18 # Use last commit before archival 19 rev = "5a222d0315b6d3ce52a3cedd7c3e41309587c107"; 20 hash = "sha256-YKbqdimX1q+d7A9BSwuKl3SndQ+0eocz+m6xMAZeMQQ="; 21 }; 22 23 build-system = [ setuptools ]; 24 25 dependencies = [ six ]; 26 27 nativeCheckInputs = [ pytestCheckHook ]; 28 29 pythonImportsCheck = [ "xlwt" ]; 30 31 meta = { 32 description = "Library to create spreadsheet files compatible with MS"; 33 homepage = "https://github.com/python-excel/xlwt"; 34 license = with lib.licenses; [ 35 bsdOriginal 36 bsd3 37 lgpl21Plus 38 ]; 39 maintainers = with lib.maintainers; [ pyrox0 ]; 40 }; 41}