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 {
2019-10-16 10:43:16 +01:00
version = "0.8.5";
2017-10-29 12:44:43 +00:00
pname = "tabulate";
src = fetchPypi {
inherit pname version;
2019-10-16 10:43:16 +01:00
sha256 = "d0097023658d4dea848d6ae73af84532d1e86617ac0925d1adf1dd903985dac3";
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 ];
};
}