2020-08-27 16:12:15 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, lml
|
2020-10-17 01:15:04 +01:00
|
|
|
, isPy3k
|
2020-08-27 16:12:15 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyexcel-io";
|
2020-10-17 01:15:04 +01:00
|
|
|
version = "0.6.3";
|
|
|
|
|
|
|
|
disabled = !isPy3k;
|
2020-08-27 16:12:15 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-10-17 01:15:04 +01:00
|
|
|
sha256 = "8fb7a201eb3e5763bb8f9d6e096ceed9e5f1baecd784c9fadbe0fb3d59174c0e";
|
2020-08-27 16:12:15 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|