mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 06:01:15 +00:00
pythonPackages.textwrap3: init at 0.9.2
This commit is contained in:
parent
d5611a445b
commit
2f288dba87
37
pkgs/development/python-modules/textwrap3/default.nix
Normal file
37
pkgs/development/python-modules/textwrap3/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue