2022-04-15 01:41:22 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pytestCheckHook
|
|
|
|
, pythonOlder
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2022-04-15 01:41:22 +00:00
|
|
|
pname = "xlsxwriter";
|
2022-04-27 09:35:20 +00:00
|
|
|
version = "3.0.3";
|
2022-04-15 01:41:22 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-04-15 01:41:22 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-04-15 01:41:22 +00:00
|
|
|
src = fetchFromGitHub {
|
2020-04-24 23:36:52 +00:00
|
|
|
owner = "jmcnamara";
|
2022-04-15 01:41:22 +00:00
|
|
|
repo = "XlsxWriter";
|
2020-04-24 23:36:52 +00:00
|
|
|
rev = "RELEASE_${version}";
|
2022-04-27 09:35:20 +00:00
|
|
|
hash = "sha256-9fIxNkOdM+Bz1F9AWq02H3LLQnefxGSAtp9kM2OtJ9M=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-04-15 01:41:22 +00:00
|
|
|
checkInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"xlsxwriter"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Module for creating Excel XLSX files";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://xlsxwriter.readthedocs.io/";
|
2022-04-15 01:41:22 +00:00
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ jluttine ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|