blob: 9f328a75bee303074ceb295607652ca37c773711 (
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,
poetry-core,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "decli";
version = "0.6.3";
pyproject = true;
src = fetchFromGitHub {
owner = "woile";
repo = "decli";
tag = "v${version}";
hash = "sha256-W4GURqlkHzDwrPAlmiBjc2ZqN//nUK084uRMM7GIme0=";
};
build-system = [ poetry-core ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "decli" ];
meta = {
description = "Minimal, easy to use, declarative command line interface tool";
homepage = "https://github.com/Woile/decli";
changelog = "https://github.com/woile/decli/blob/${src.tag}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ lovesegfault ];
};
}
|