pythonPackages.textwrap3: init at 0.9.2

This commit is contained in:
Chris Ostrouchov 2019-11-25 17:13:06 -05:00 committed by Jon
parent d5611a445b
commit 2f288dba87
2 changed files with 40 additions and 1 deletions

View File

@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, fetchPypi
, tox
, pytest
, coverage
, pytestcov
}:
buildPythonPackage rec {
pname = "textwrap3";
version = "0.9.2";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "5008eeebdb236f6303dcd68f18b856d355f6197511d952ba74bc75e40e0c3414";
};
checkInputs = [
tox
pytest
coverage
pytestcov
];
checkPhase = ''
pytest
'';
meta = with lib; {
description = "Textwrap from Python 3.6 backport plus a few tweaks";
homepage = https://github.com/jonathaneunice/textwrap3;
license = licenses.psfl;
maintainers = [ maintainers.costrouc ];
};
}

View File

@ -5254,7 +5254,9 @@ in {
texttable = callPackage ../development/python-modules/texttable { };
tiledb = callPackage ../development/python-modules/tiledb {
textwrap3 = callPackage ../development/python-modules/textwrap3 { };
tiledb = callPackage ../development/python-modules/tiledb {
inherit (pkgs) tiledb;
};