aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/XlsxWriter/default.nix
blob: 15bd1ee35fec21fc993bd221fe1d6137aadef3e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{lib, buildPythonPackage, fetchFromGitHub}:

buildPythonPackage rec {

  pname = "XlsxWriter";
  version = "1.2.9";

  # PyPI release tarball doesn't contain tests so let's use GitHub. See:
  # https://github.com/jmcnamara/XlsxWriter/issues/327
  src = fetchFromGitHub{
    owner = "jmcnamara";
    repo = pname;
    rev = "RELEASE_${version}";
    sha256 = "08pdca5ssi50bx2xz52gkmjix2ybv5i4bjw7yd6yfiph0y0qsbsb";
  };

  meta = {
    description = "A Python module for creating Excel XLSX files";
    homepage = "https://xlsxwriter.readthedocs.io/";
    maintainers = with lib.maintainers; [ jluttine ];
    license = lib.licenses.bsd2;
  };

}