1{ buildPythonPackage
2, fetchurl
3, fetchpatch
4, nose
5, lib
6}:
7
8buildPythonPackage rec {
9 pname = "xlwt";
10 name = "${pname}-${version}";
11 version = "1.3.0";
12
13 src = fetchurl {
14 url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz";
15 sha256 = "c59912717a9b28f1a3c2a98fd60741014b06b043936dcecbc113eaaada156c88";
16 };
17
18 buildInputs = [ 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; [ bsdOriginal bsd3 lgpl21 ];
27 };
28}