Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / pyexcel / default.nix
blobca562ca5586b39cc2d967c6c15f6ec381dfc736e
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , isPy3k
5 , lml
6 , pyexcel-io
7 , texttable
8 , nose
9 }:
11 buildPythonPackage rec {
12   pname = "pyexcel";
13   version = "0.6.6";
15   disabled = !isPy3k;
17   src = fetchPypi {
18     inherit pname version;
19     sha256 = "39b0bb8f033d9b5523b126cf5a5259d1990ea82b8a23c8eab7aa5e23116803df";
20   };
22   propagatedBuildInputs = [
23     lml
24     pyexcel-io
25     texttable
26   ];
28   checkInputs = [
29     nose
30   ];
32   # Tests depend on pyexcel-xls & co. causing circular dependency.
33   # https://github.com/pyexcel/pyexcel/blob/dev/tests/requirements.txt
34   doCheck = false;
36   pythonImportsCheck = [ "pyexcel" ];
38   checkPhase = "nosetests";
40   meta = {
41     description = "Single API for reading, manipulating and writing data in csv, ods, xls, xlsx and xlsm files";
42     homepage = "http://docs.pyexcel.org/";
43     license = lib.licenses.bsd3;
44     maintainers = with lib.maintainers; [ jtojnar ];
45   };