blob: acbf637dfc01cfd03b173ed5ac01ca07f0e88d14 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
pytestCheckHook,
rich,
}:
buildPythonPackage rec {
pname = "rich-argparse";
version = "1.7.1";
pyproject = true;
src = fetchFromGitHub {
owner = "hamdanal";
repo = "rich-argparse";
tag = "v${version}";
hash = "sha256-gLXFiWgGMDOUbTyoSgTr0XfotVfDxwMqPdsfE4KHzXM=";
};
build-system = [ hatchling ];
dependencies = [ rich ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "rich_argparse" ];
meta = {
description = "Format argparse help output using rich";
homepage = "https://github.com/hamdanal/rich-argparse";
changelog = "https://github.com/hamdanal/rich-argparse/blob/${src.tag}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ graham33 ];
};
}
|