pythonPackages.XlsxWriter: enable tests
This commit is contained in:
parent
0a41afaecd
commit
36d5375b4a
|
@ -1,12 +1,17 @@
|
|||
{lib, buildPythonPackage, fetchPypi}:
|
||||
{lib, buildPythonPackage, fetchFromGitHub}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
||||
pname = "XlsxWriter";
|
||||
version = "1.1.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "de9ef46088489915eaaee00c7088cff93cf613e9990b46b933c98eb46f21b47f";
|
||||
# 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 = {
|
||||
|
@ -15,4 +20,5 @@ buildPythonPackage rec {
|
|||
maintainers = with lib.maintainers; [ jluttine ];
|
||||
license = lib.licenses.bsd2;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue