1{ lib
2, buildPythonPackage
3, colorama
4, fetchPypi
5, pillow
6}:
7
8buildPythonPackage rec {
9 pname = "ascii-magic";
10 version = "1.6";
11
12 src = fetchPypi {
13 pname = "ascii_magic";
14 inherit version;
15 sha256 = "sha256-faVRj3No5z8R4hUaDAYIBKoUniZ7Npt+52U/vXsEalE=";
16 };
17
18 propagatedBuildInputs = [
19 colorama
20 pillow
21 ];
22
23 # Project is not tagging releases and tests are not shipped with PyPI source
24 doCheck = false;
25
26 pythonImportsCheck = [
27 "ascii_magic"
28 ];
29
30 meta = with lib; {
31 description = "Python module to converts pictures into ASCII art";
32 homepage = "https://github.com/LeandroBarone/python-ascii_magic";
33 license = licenses.mit;
34 maintainers = with maintainers; [ fab ];
35 };
36}