2020-09-25 04:45:31 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, lml
|
2020-10-19 00:13:06 +00:00
|
|
|
, isPy3k
|
2020-09-25 04:45:31 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyexcel-io";
|
2022-02-10 20:34:41 +00:00
|
|
|
version = "0.6.6";
|
2020-10-19 00:13:06 +00:00
|
|
|
|
|
|
|
disabled = !isPy3k;
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-02-10 20:34:41 +00:00
|
|
|
sha256 = "sha256-9ghL8a+l+/TGHPffRDcPpROCGvGIsC4+GbXvtm2Klp8=";
|
2020-09-25 04:45:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
lml
|
|
|
|
];
|
|
|
|
|
|
|
|
# Tests depend on stuff that depends on this.
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "pyexcel_io" ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "One interface to read and write the data in various excel formats, import the data into and export the data from databases";
|
|
|
|
homepage = "http://docs.pyexcel.org/";
|
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = with lib.maintainers; [ jtojnar ];
|
|
|
|
};
|
|
|
|
}
|