2024-06-05 15:53:02 +00:00
|
|
|
{
|
2024-06-20 14:57:18 +00:00
|
|
|
lib,
|
2024-06-05 15:53:02 +00:00
|
|
|
buildPythonPackage,
|
2024-07-27 06:49:29 +00:00
|
|
|
fetchFromGitHub,
|
2024-06-20 14:57:18 +00:00
|
|
|
setuptools,
|
2024-07-27 06:49:29 +00:00
|
|
|
pytestCheckHook,
|
|
|
|
six,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
buildPythonPackage {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "xlwt";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "1.3.0-unstable-2018-09-16";
|
2024-06-20 14:57:18 +00:00
|
|
|
pyproject = true;
|
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "python-excel";
|
|
|
|
repo = "xlwt";
|
|
|
|
# Use last commit before archival
|
|
|
|
rev = "5a222d0315b6d3ce52a3cedd7c3e41309587c107";
|
|
|
|
hash = "sha256-YKbqdimX1q+d7A9BSwuKl3SndQ+0eocz+m6xMAZeMQQ=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-06-20 14:57:18 +00:00
|
|
|
build-system = [ setuptools ];
|
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
dependencies = [ six ];
|
2024-06-20 14:57:18 +00:00
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-06-20 14:57:18 +00:00
|
|
|
pythonImportsCheck = [ "xlwt" ];
|
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
meta = {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Library to create spreadsheet files compatible with MS";
|
|
|
|
homepage = "https://github.com/python-excel/xlwt";
|
2024-07-27 06:49:29 +00:00
|
|
|
license = with lib.licenses; [
|
2024-06-05 15:53:02 +00:00
|
|
|
bsdOriginal
|
|
|
|
bsd3
|
2024-06-20 14:57:18 +00:00
|
|
|
lgpl21Plus
|
2024-06-05 15:53:02 +00:00
|
|
|
];
|
2024-07-27 06:49:29 +00:00
|
|
|
maintainers = with lib.maintainers; [ pyrox0 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|