Diff: https://github.com/woile/decli/compare/v0.6.1...v0.6.3 Changelog: https://github.com/woile/decli/blob/v0.6.3/CHANGELOG.md
35 lines
773 B
Nix
35 lines
773 B
Nix
{
|
|
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 ];
|
|
};
|
|
}
|