python3Packages.ascii-magic: init at 1.6

This commit is contained in:
Fabian Affolter 2021-12-09 17:51:45 +01:00 committed by Jonathan Ringer
parent b12ed5c4df
commit c9c22c593a
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,36 @@
{ lib
, buildPythonPackage
, colorama
, fetchPypi
, pillow
}:
buildPythonPackage rec {
pname = "ascii-magic";
version = "1.6";
src = fetchPypi {
pname = "ascii_magic";
inherit version;
sha256 = "sha256-faVRj3No5z8R4hUaDAYIBKoUniZ7Npt+52U/vXsEalE=";
};
propagatedBuildInputs = [
colorama
pillow
];
# Project is not tagging releases and tests are not shipped with PyPI source
doCheck = false;
pythonImportsCheck = [
"ascii_magic"
];
meta = with lib; {
description = "Python module to converts pictures into ASCII art";
homepage = "https://github.com/LeandroBarone/python-ascii_magic";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -603,6 +603,8 @@ in {
asana = callPackage ../development/python-modules/asana { };
ascii-magic = callPackage ../development/python-modules/ascii-magic { };
asciimatics = callPackage ../development/python-modules/asciimatics { };
asciitree = callPackage ../development/python-modules/asciitree { };