2019-03-01 17:02:37 +00:00
|
|
|
{lib, buildPythonPackage, fetchFromGitHub}:
|
2017-12-14 12:31:17 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2019-03-01 17:02:37 +00:00
|
|
|
|
2017-12-14 12:31:17 +00:00
|
|
|
pname = "XlsxWriter";
|
2020-03-09 16:24:35 +00:00
|
|
|
version = "1.2.8";
|
2017-12-14 12:31:17 +00:00
|
|
|
|
2019-03-01 17:02:37 +00:00
|
|
|
# PyPI release tarball doesn't contain tests so let's use GitHub. See:
|
|
|
|
# https://github.com/jmcnamara/XlsxWriter/issues/327
|
|
|
|
src = fetchFromGitHub{
|
|
|
|
owner = "jmcnamara";
|
|
|
|
repo = pname;
|
|
|
|
rev = "RELEASE_${version}";
|
2020-03-09 16:24:35 +00:00
|
|
|
sha256 = "18q5sxm9jw5sfavdjy5z0yamknwj5fl359jziqllkbj5k2i16lnr";
|
2017-12-14 12:31:17 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A Python module for creating Excel XLSX files";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://xlsxwriter.readthedocs.io/";
|
2017-12-14 12:31:17 +00:00
|
|
|
maintainers = with lib.maintainers; [ jluttine ];
|
|
|
|
license = lib.licenses.bsd2;
|
|
|
|
};
|
2019-03-01 17:02:37 +00:00
|
|
|
|
2017-12-14 12:31:17 +00:00
|
|
|
}
|