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-11-04 14:04:23 +00:00
|
|
|
version = "0.6.4";
|
2020-10-17 01:15:04 +01:00
|
|
|
|
|
|
|
disabled = !isPy3k;
|
2020-08-27 16:12:15 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-04 14:04:23 +00:00
|
|
|
sha256 = "00f15f4bae2947de49b3206f2600f78780008e044380f7aafe0ce52969cda4ca";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|