blob: 2726aa4f98de101f241ca48567fc4a2ed96e6c0f (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
poetry-dynamic-versioning,
matplotlib,
pygments,
rich,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "catppuccin";
version = "2.3.0";
pyproject = true;
src = fetchFromGitHub {
owner = "catppuccin";
repo = "python";
rev = "refs/tags/v${version}";
hash = "sha256-1CPNs+n9S7fV+EvhFWBwnv6/N3UWQ/jiyRcn4XKzmd8=";
};
build-system = [
poetry-core
poetry-dynamic-versioning
];
optional-dependencies = {
matplotlib = [ matplotlib ];
pygments = [ pygments ];
rich = [ rich ];
};
nativeCheckInputs = [ pytestCheckHook ] ++ lib.flatten (lib.attrValues optional-dependencies);
pythonImportsCheck = [ "catppuccin" ];
meta = {
description = "Soothing pastel theme for Python";
homepage = "https://github.com/catppuccin/python";
maintainers = with lib.maintainers; [
fufexan
tomasajt
];
license = lib.licenses.mit;
};
}
|