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

28 lines
561 B
Nix
Raw Normal View History

2017-10-29 13:44:43 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, nose
}:
buildPythonPackage rec {
2019-11-19 15:35:39 +01:00
version = "0.8.6";
2017-10-29 13:44:43 +01:00
pname = "tabulate";
src = fetchPypi {
inherit pname version;
2019-11-19 15:35:39 +01:00
sha256 = "5470cc6687a091c7042cee89b2946d9235fe9f6d49c193a4ae2ac7bf386737c8";
2017-10-29 13:44:43 +01: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 ];
};
}