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