1{ buildPythonPackage
2, fetchPypi
3, nose
4, lib
5}:
6
7buildPythonPackage rec {
8 pname = "xlwt";
9 version = "1.3.0";
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "c59912717a9b28f1a3c2a98fd60741014b06b043936dcecbc113eaaada156c88";
14 };
15
16 nativeCheckInputs = [ nose ];
17 checkPhase = ''
18 nosetests -v
19 '';
20
21 meta = {
22 description = "Library to create spreadsheet files compatible with MS";
23 homepage = "https://github.com/python-excel/xlwt";
24 license = with lib.licenses; [ bsdOriginal bsd3 lgpl21 ];
25 };
26}