depot/third_party/nixpkgs/pkgs/development/python-modules/XlsxWriter/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

24 lines
646 B
Nix

{lib, buildPythonPackage, fetchFromGitHub}:
buildPythonPackage rec {
pname = "XlsxWriter";
version = "1.2.8";
# 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 = "18q5sxm9jw5sfavdjy5z0yamknwj5fl359jziqllkbj5k2i16lnr";
};
meta = {
description = "A Python module for creating Excel XLSX files";
homepage = "https://xlsxwriter.readthedocs.io/";
maintainers = with lib.maintainers; [ jluttine ];
license = lib.licenses.bsd2;
};
}