nixpkgs/pkgs/development/python-modules/tabulate/default.nix
2017-12-31 10:55:20 +01:00

28 lines
592 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, nose
}:
buildPythonPackage rec {
version = "0.8.2";
pname = "tabulate";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "e4ca13f26d0a6be2a2915428dc21e732f1e44dad7f76d7030b2ef1ec251cf7f2";
};
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 ];
};
}