blob: 83397f73215d048df0ec946d739c063cc3c1e208 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "colorlog";
version = "6.10.1";
pyproject = true;
src = fetchFromGitHub {
owner = "borntyping";
repo = "python-colorlog";
tag = "v${version}";
hash = "sha256-vb7OzIVcEIfnhJGpO0DgeEdhL6NCKlrynoNMxNp8Yg4=";
};
build-system = [ setuptools ];
pythonImportsCheck = [ "colorlog" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
changelog = "https://github.com/borntyping/python-colorlog/releases/tag/${src.tag}";
description = "Log formatting with colors";
homepage = "https://github.com/borntyping/python-colorlog";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
|