blob: c22687e1fbb5ae5cd6cc466a612e28302994376e (
plain)
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
37
38
39
40
41
42
43
44
45
46
47
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
pillow,
rich,
pytestCheckHook,
syrupy,
}:
buildPythonPackage rec {
pname = "rich-pixels";
version = "3.0.1";
pyproject = true;
src = fetchFromGitHub {
owner = "darrenburns";
repo = "rich-pixels";
tag = version;
hash = "sha256-Sqs0DOyxJBfZmm/SVSTMSmaaeRlusiSp6VBnJjKYjgQ=";
};
pythonRelaxDeps = [ "pillow" ];
build-system = [ hatchling ];
dependencies = [
pillow
rich
];
nativeCheckInputs = [
pytestCheckHook
syrupy
];
pythonImportsCheck = [ "rich_pixels" ];
meta = {
description = "Rich-compatible library for writing pixel images and ASCII art to the terminal";
homepage = "https://github.com/darrenburns/rich-pixels";
changelog = "https://github.com/darrenburns/rich-pixels/releases/tag/${version}";
license = lib.licenses.mit;
maintainers = [ ];
};
}
|