summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyexcel-ods/default.nix
blob: b0f9028a70e72ad0f10e5657425f195ab6c5951f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{ lib
, buildPythonPackage
, fetchPypi
, pyexcel-io
, odfpy
, nose
, pyexcel
, pyexcel-xls
, psutil
}:

buildPythonPackage rec {
  pname = "pyexcel-ods";
  version = "0.6.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "f61b56515fd4ccd4687f0a112422f74ce8535247ad2da49db90038d7e3ed397c";
  };

  propagatedBuildInputs = [
    pyexcel-io
    odfpy
  ];

  nativeCheckInputs = [
    nose
    pyexcel
    pyexcel-xls
    psutil
  ];

  checkPhase = "nosetests";

  meta = {
    description = "Plug-in to pyexcel providing the capbility to read, manipulate and write data in ods formats using odfpy";
    homepage = "http://docs.pyexcel.org/";
    license = lib.licenses.bsd3;
    maintainers = with lib.maintainers; [ jtojnar ];
  };
}