1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5
6 # build-system
7 poetry-core,
8
9 # dependencies
10 emoji,
11 python-yakh,
12 questo,
13 rich,
14
15 # nativeCheckInputs
16 pytestCheckHook,
17}:
18
19buildPythonPackage rec {
20 pname = "beaupy";
21 version = "3.10.1";
22 pyproject = true;
23
24 src = fetchFromGitHub {
25 owner = "petereon";
26 repo = "beaupy";
27 rev = "v${version}";
28 hash = "sha256-tN78OV0Ks1MIdqVh8yisTgK4dOaKqYlZxvIoCa44eAI=";
29 };
30
31 build-system = [
32 poetry-core
33 ];
34
35 dependencies = [
36 emoji
37 python-yakh
38 questo
39 rich
40 ];
41
42 pythonImportsCheck = [
43 "beaupy"
44 ];
45
46 nativeCheckInputs = [
47 pytestCheckHook
48 ];
49
50 meta = {
51 description = "Python library of interactive CLI elements you have been looking for";
52 homepage = "https://github.com/petereon/beaupy";
53 license = lib.licenses.mit;
54 maintainers = with lib.maintainers; [ doronbehar ];
55 };
56}