aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs/development/python-modules/tabulate/default.nix
blob: 363caa5a282921c63ac9d4e82f863f8cac697a0b (plain)
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
{ lib
, buildPythonPackage
, fetchPypi
, nose
}:

buildPythonPackage rec {
  version = "0.8.2";
  pname = "tabulate";

  src = fetchPypi {
    inherit pname version;
    sha256 = "1wpp3hjyrw9f1c1xfxkzmm6y9w9jwwhxqa2lj6if4sqadpr17jp4";
  };

  checkInputs = [ nose ];

  # Tests: cannot import common (relative import).
  doCheck = false;

  meta = {
    description = "Pretty-print tabular data";
    homepage = https://bitbucket.org/astanin/python-tabulate;
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fridh ];
  };
}