blob: b54ad8d256f6f94aec8308afe71b07ac305c7cbb (
plain) (
blame)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
{
lib,
buildPythonPackage,
click,
click-shell,
fetchFromGitHub,
iterfzf,
poetry-core,
pythonOlder,
pyyaml,
rich,
typer,
}:
buildPythonPackage rec {
pname = "typer-shell";
version = "0.1.9";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "FergusFettes";
repo = "typer-shell";
rev = "refs/tags/v${version}";
hash = "sha256-y66Je9E0IWDuGrHtd1D8zP7E0EVfvrF3KOlA2dRFU+s=";
};
pythonRelaxDeps = [
"iterfzf"
"typer"
];
build-system = [ poetry-core ];
dependencies = [
click
click-shell
iterfzf
pyyaml
rich
typer
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "typer_shell" ];
meta = with lib; {
description = "Library for making beautiful shells/REPLs with Typer";
homepage = "https://github.com/FergusFettes/typer-shell";
license = licenses.gpl3Only;
maintainers = with maintainers; [ fab ];
};
}
|