diff options
author | Chris Ostrouchov <chris.ostrouchov@gmail.com> | 2019-11-25 17:11:33 -0500 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2019-11-26 12:25:33 -0800 |
commit | 58172ad10f5bd20ac4e2d01c760f30386e904ecf (patch) | |
tree | 07b5653585f761d2827beb022c019e3f2abe3f42 /pkgs/development/python-modules/ansiwrap | |
parent | fd2f245ef16ceb14c079514949a5707c6793d7b5 (diff) | |
download | nixpkgs-58172ad10f5bd20ac4e2d01c760f30386e904ecf.tar nixpkgs-58172ad10f5bd20ac4e2d01c760f30386e904ecf.tar.gz nixpkgs-58172ad10f5bd20ac4e2d01c760f30386e904ecf.tar.bz2 nixpkgs-58172ad10f5bd20ac4e2d01c760f30386e904ecf.tar.lz nixpkgs-58172ad10f5bd20ac4e2d01c760f30386e904ecf.tar.xz nixpkgs-58172ad10f5bd20ac4e2d01c760f30386e904ecf.tar.zst nixpkgs-58172ad10f5bd20ac4e2d01c760f30386e904ecf.zip |
pythonPackages.ansiwrap: init at 0.8.4
Diffstat (limited to 'pkgs/development/python-modules/ansiwrap')
-rw-r--r-- | pkgs/development/python-modules/ansiwrap/default.nix | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/ansiwrap/default.nix b/pkgs/development/python-modules/ansiwrap/default.nix new file mode 100644 index 00000000000..517083a0621 --- /dev/null +++ b/pkgs/development/python-modules/ansiwrap/default.nix @@ -0,0 +1,44 @@ +{ lib +, buildPythonPackage +, fetchPypi +, tox +, pytest +, ansicolors +, coverage +, pytestcov +, textwrap3 +}: + +buildPythonPackage rec { + pname = "ansiwrap"; + version = "0.8.4"; + + src = fetchPypi { + inherit pname version; + extension = "zip"; + sha256 = "ca0c740734cde59bf919f8ff2c386f74f9a369818cdc60efe94893d01ea8d9b7"; + }; + + checkInputs = [ + tox + pytest + ansicolors + coverage + pytestcov + ]; + + propagatedBuildInputs = [ + textwrap3 + ]; + + checkPhase = '' + pytest + ''; + + meta = with lib; { + description = "Textwrap, but savvy to ANSI colors and styles"; + homepage = https://github.com/jonathaneunice/ansiwrap; + license = licenses.asl20; + maintainers = [ maintainers.costrouc ]; + }; +} |