2019-03-01 18:02:37 +01:00
|
|
|
{lib, buildPythonPackage, fetchFromGitHub}:
|
2017-12-14 13:31:17 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2019-03-01 18:02:37 +01:00
|
|
|
|
2017-12-14 13:31:17 +01:00
|
|
|
pname = "XlsxWriter";
|
2019-09-15 08:34:39 +02:00
|
|
|
version = "1.2.1";
|
2017-12-14 13:31:17 +01:00
|
|
|
|
2019-03-01 18:02:37 +01: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}";
|
2019-09-15 08:34:39 +02:00
|
|
|
sha256 = "0br8ib9n17dfprfly93mjkhdhpndb7i4g57lwscvp2s69ssql32s";
|
2017-12-14 13:31:17 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A Python module for creating Excel XLSX files";
|
|
|
|
homepage = https://xlsxwriter.readthedocs.io/;
|
|
|
|
maintainers = with lib.maintainers; [ jluttine ];
|
|
|
|
license = lib.licenses.bsd2;
|
|
|
|
};
|
2019-03-01 18:02:37 +01:00
|
|
|
|
2017-12-14 13:31:17 +01:00
|
|
|
}
|