1{ lib
2, python3
3, fetchPypi
4}:
5
6with python3.pkgs;
7
8buildPythonPackage rec {
9 pname = "shell-genie";
10 version = "0.2.10";
11 format = "pyproject";
12
13 src = fetchPypi {
14 pname = "shell_genie";
15 inherit version;
16 hash = "sha256-z7LiAq2jLzqjg4Q/r9o7M6VbedeT34NyPpgctfqBp+8=";
17 };
18
19 nativeBuildInputs = [
20 poetry-core
21 ];
22
23 propagatedBuildInputs = [
24 colorama
25 openai
26 pyperclip
27 rich
28 shellingham
29 typer
30 ] ++ typer.optional-dependencies.all;
31
32 # No tests available
33 doCheck = false;
34
35 pythonImportsCheck = [
36 "shell_genie"
37 ];
38
39 meta = with lib; {
40 description = "Describe your shell commands in natural language";
41 homepage = "https://github.com/dylanjcastillo/shell-genie";
42 license = licenses.mit;
43 maintainers = with maintainers; [ onny ];
44 };
45}