Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / xlsxwriter / default.nix
blob5bd96b3aa1b63ce12eb4c4bbe29463c720b61c66
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 , pythonOlder
6 }:
8 buildPythonPackage rec {
9   pname = "xlsxwriter";
10   version = "3.1.9";
11   format = "setuptools";
13   disabled = pythonOlder "3.7";
15   src = fetchFromGitHub {
16     owner = "jmcnamara";
17     repo = "XlsxWriter";
18     rev = "RELEASE_${version}";
19     hash = "sha256-FkSInLinyn/eXBMSuivzFxCTZijOKdSG4l+gHyKENuY=";
20   };
22   nativeCheckInputs = [
23     pytestCheckHook
24   ];
26   pythonImportsCheck = [
27     "xlsxwriter"
28   ];
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   };