nixpkgs-suyu/pkgs/development/python-modules/pyexcel-xls/default.nix

42 lines
698 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, pyexcel-io
, xlrd
, xlwt
, nose
2020-08-30 01:13:18 +02:00
, pyexcel
, mock
}:
buildPythonPackage rec {
pname = "pyexcel-xls";
version = "0.6.1";
src = fetchPypi {
inherit pname version;
sha256 = "c4cc1fb4ac5d1682a44d9a368a43ec2e089ad6fc46884648ccfad46863e3da0a";
};
propagatedBuildInputs = [
pyexcel-io
xlrd
xlwt
];
2020-08-30 01:13:18 +02:00
checkInputs = [
nose
pyexcel
mock
];
2020-08-30 01:13:18 +02: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 ];
};
}