3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/pyexcel-xls/default.nix

42 lines
678 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, pyexcel-io
, xlrd
, xlwt
, nose
2020-08-30 00:13:18 +01:00
, pyexcel
, mock
}:
buildPythonPackage rec {
pname = "pyexcel-xls";
2020-08-30 00:13:18 +01:00
version = "0.5.9";
src = fetchPypi {
inherit pname version;
2020-08-30 00:13:18 +01:00
sha256 = "1Wyt6gpmBoRFaXbZgFJVTTu+KnivxfmpHIaR9iZghVU=";
};
propagatedBuildInputs = [
pyexcel-io
xlrd
xlwt
];
2020-08-30 00:13:18 +01:00
checkInputs = [
nose
pyexcel
mock
];
2020-08-30 00:13:18 +01:00
checkPhase = "nosetests";
meta = {
description = "A wrapper library to read, manipulate and write data in xls using xlrd and xlwt";
homepage = "http://docs.pyexcel.org/";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ jtojnar ];
};
}