b5f92a349c
GitOrigin-RevId: 7c9cc5a6e5d38010801741ac830a3f8fd667a7a0
36 lines
706 B
Nix
36 lines
706 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "xlsxwriter";
|
|
version = "3.1.7";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jmcnamara";
|
|
repo = "XlsxWriter";
|
|
rev = "RELEASE_${version}";
|
|
hash = "sha256-ZOKS9sTZvlopfIYOEhOk/rq4qtcMrNQ4Bwb8lDtKfxs=";
|
|
};
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"xlsxwriter"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Module for creating Excel XLSX files";
|
|
homepage = "https://xlsxwriter.readthedocs.io/";
|
|
license = licenses.bsd2;
|
|
maintainers = with maintainers; [ jluttine ];
|
|
};
|
|
}
|