python312Packages.xlsxwriter: refactor

This commit is contained in:
Fabian Affolter 2024-03-28 17:21:37 +01:00
parent e7246dee1e
commit e7231a2475
1 changed files with 7 additions and 2 deletions

View File

@ -3,12 +3,13 @@
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "xlsxwriter";
version = "3.2.0";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.7";
@ -19,6 +20,10 @@ buildPythonPackage rec {
hash = "sha256-HLSIKoGBSzU7N/lskVeVbfdOezTloMrwAahJbcnqJrw=";
};
build-system = [
setuptools
];
nativeCheckInputs = [
pytestCheckHook
];
@ -29,10 +34,10 @@ buildPythonPackage rec {
meta = with lib; {
description = "Module for creating Excel XLSX files";
mainProgram = "vba_extract.py";
homepage = "https://xlsxwriter.readthedocs.io/";
changelog = "https://xlsxwriter.readthedocs.io/changes.html";
license = licenses.bsd2;
maintainers = with maintainers; [ jluttine ];
mainProgram = "vba_extract.py";
};
}