nixpkgs/pkgs/development/python-modules/tabulate/default.nix

28 lines
561 B
Nix
Raw Normal View History

2017-10-29 12:44:43 +00:00
{ lib
, buildPythonPackage
, fetchPypi
, nose
}:
buildPythonPackage rec {
2017-12-30 11:27:52 +00:00
version = "0.8.2";
2017-10-29 12:44:43 +00:00
pname = "tabulate";
src = fetchPypi {
inherit pname version;
2017-12-30 11:27:52 +00:00
sha256 = "e4ca13f26d0a6be2a2915428dc21e732f1e44dad7f76d7030b2ef1ec251cf7f2";
2017-10-29 12:44:43 +00:00
};
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 ];
};
}