pythonPackages.veryprettytable: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov
2018-10-29 11:48:50 -04:00
parent dcd9daa561
commit d241cc3a65
2 changed files with 26 additions and 17 deletions

View File

@@ -0,0 +1,25 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, termcolor
, colorama
}:
buildPythonPackage rec {
pname = "veryprettytable";
version = "0.8.1";
src = fetchPypi {
inherit pname version;
sha256 = "1k1rifz8x6qcicmx2is9vgxcj0qb2f5pvzrp7zhmvbmci3yack3f";
};
propagatedBuildInputs = [ termcolor colorama ];
meta = with stdenv.lib; {
description = "A simple Python library for easily displaying tabular data in a visually appealing ASCII table format";
homepage = https://github.com/smeggingsmegger/VeryPrettyTable;
license = licenses.free;
};
}