2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
pytestCheckHook,
|
|
|
|
pythonOlder,
|
|
|
|
setuptools,
|
2022-04-15 01:41:22 +00:00
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2022-04-15 01:41:22 +00:00
|
|
|
pname = "xlsxwriter";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "3.2.0";
|
|
|
|
pyproject = true;
|
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}";
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-HLSIKoGBSzU7N/lskVeVbfdOezTloMrwAahJbcnqJrw=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
build-system = [ setuptools ];
|
2024-04-21 15:54:59 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2022-04-15 01:41:22 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "xlsxwriter" ];
|
2022-04-15 01:41:22 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Module for creating Excel XLSX files";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://xlsxwriter.readthedocs.io/";
|
2024-01-02 11:29:13 +00:00
|
|
|
changelog = "https://xlsxwriter.readthedocs.io/changes.html";
|
2022-04-15 01:41:22 +00:00
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ jluttine ];
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "vba_extract.py";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|