3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/XlsxWriter/default.nix
2019-03-02 09:58:16 +02:00

25 lines
644 B
Nix

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