about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/ascii-magic/default.nix
blob: 6a1b617c03ed14879118f7aeb7ed20222a796a0d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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 ];
  };
}