1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 hatchling,
6 pillow,
7}:
8
9buildPythonPackage rec {
10 pname = "python-sixel";
11 version = "0.2.0";
12 pyproject = true;
13
14 src = fetchFromGitHub {
15 owner = "lubosz";
16 repo = "python-sixel";
17 tag = version;
18 hash = "sha256-ALNdwuZIMS2oWO42LpjgIpAxcQh4Gk35nCwenINLQ64=";
19 };
20
21 build-system = [
22 hatchling
23 ];
24
25 dependencies = [
26 pillow
27 ];
28
29 pythonImportsCheck = [
30 "sixel"
31 ];
32
33 meta = {
34 description = "Display images in the terminal";
35 homepage = "https://github.com/lubosz/python-sixel";
36 changelog = "https://github.com/lubosz/python-sixel/releases/tag/${version}";
37 license = lib.licenses.gpl3Only;
38 maintainers = with lib.maintainers; [ atemu ];
39 };
40}