Files
nixpkgs/pkgs/development/python-modules/beaupy/default.nix
2025-10-11 04:15:16 +00:00

57 lines
900 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
poetry-core,
# dependencies
emoji,
python-yakh,
questo,
rich,
# nativeCheckInputs
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "beaupy";
version = "3.10.2";
pyproject = true;
src = fetchFromGitHub {
owner = "petereon";
repo = "beaupy";
rev = "v${version}";
hash = "sha256-0m0qc/ei8BuU7vHK/4mY7YQvHVTfwsaPH4Kko9wCKvM=";
};
build-system = [
poetry-core
];
dependencies = [
emoji
python-yakh
questo
rich
];
pythonImportsCheck = [
"beaupy"
];
nativeCheckInputs = [
pytestCheckHook
];
meta = {
description = "Python library of interactive CLI elements you have been looking for";
homepage = "https://github.com/petereon/beaupy";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ doronbehar ];
};
}