python312Packages.xlsxwriter: refactor
This commit is contained in:
parent
e7246dee1e
commit
e7231a2475
|
@ -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";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue