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

28 lines
563 B
Nix
Raw Normal View History

2017-10-29 12:44:43 +00:00
{ lib
, buildPythonPackage
, fetchPypi
, nose
}:
buildPythonPackage rec {
2019-11-19 14:35:39 +00:00
version = "0.8.6";
2017-10-29 12:44:43 +00:00
pname = "tabulate";
src = fetchPypi {
inherit pname version;
2019-11-19 14:35:39 +00:00
sha256 = "5470cc6687a091c7042cee89b2946d9235fe9f6d49c193a4ae2ac7bf386737c8";
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";
2017-10-29 12:44:43 +00:00
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fridh ];
};
}