mastodon: 4.3.1 -> 4.3.2 (#361487)
[NixPkgs.git] / pkgs / development / python-modules / xlsxwriter / default.nix
blob919849730f8e5719b079480f5817d2305474df73
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytestCheckHook,
6   pythonOlder,
7   setuptools,
8 }:
10 buildPythonPackage rec {
11   pname = "xlsxwriter";
12   version = "3.2.0";
13   pyproject = true;
15   disabled = pythonOlder "3.7";
17   src = fetchFromGitHub {
18     owner = "jmcnamara";
19     repo = "XlsxWriter";
20     rev = "RELEASE_${version}";
21     hash = "sha256-HLSIKoGBSzU7N/lskVeVbfdOezTloMrwAahJbcnqJrw=";
22   };
24   build-system = [ setuptools ];
26   nativeCheckInputs = [ pytestCheckHook ];
28   pythonImportsCheck = [ "xlsxwriter" ];
30   meta = with lib; {
31     description = "Module for creating Excel XLSX files";
32     homepage = "https://xlsxwriter.readthedocs.io/";
33     changelog = "https://xlsxwriter.readthedocs.io/changes.html";
34     license = licenses.bsd2;
35     maintainers = with maintainers; [ jluttine ];
36     mainProgram = "vba_extract.py";
37   };