1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 poetry-core,
6 pytestCheckHook,
7}:
8
9buildPythonPackage rec {
10 pname = "decli";
11 version = "0.6.3";
12 pyproject = true;
13
14 src = fetchFromGitHub {
15 owner = "woile";
16 repo = "decli";
17 tag = "v${version}";
18 hash = "sha256-W4GURqlkHzDwrPAlmiBjc2ZqN//nUK084uRMM7GIme0=";
19 };
20
21 build-system = [ poetry-core ];
22
23 nativeCheckInputs = [ pytestCheckHook ];
24
25 pythonImportsCheck = [ "decli" ];
26
27 meta = {
28 description = "Minimal, easy to use, declarative command line interface tool";
29 homepage = "https://github.com/Woile/decli";
30 changelog = "https://github.com/woile/decli/blob/${src.tag}/CHANGELOG.md";
31 license = lib.licenses.mit;
32 maintainers = with lib.maintainers; [ lovesegfault ];
33 };
34}