-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
shell-genie: init at unstable-2023-01-27
- Loading branch information
Showing
2 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{ lib | ||
, python3 | ||
, fetchFromGitHub | ||
, poetry | ||
}: | ||
|
||
with python3.pkgs; | ||
|
||
buildPythonPackage rec { | ||
pname = "shell-genie"; | ||
version = "unstable-2023-01-27"; | ||
format = "pyproject"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "dylanjcastillo"; | ||
repo = pname; | ||
rev = "d6da42a4426e6058a0b5ae07837d8c003cd1239e"; | ||
hash = "sha256-MGhQaTcl3KjAJXorOmMRec07LxH02T81rNbV2mYEpRA="; | ||
}; | ||
|
||
nativeBuildInputs = [ | ||
poetry | ||
poetry-core | ||
]; | ||
|
||
propagatedBuildInputs = [ | ||
colorama | ||
openai | ||
pyperclip | ||
rich | ||
shellingham | ||
typer | ||
]; | ||
|
||
# No tests available | ||
doCheck = false; | ||
|
||
meta = with lib; { | ||
description = "Describe your shell commands in natural language"; | ||
homepage = "https://github.com/dylanjcastillo/shell-genie"; | ||
license = licenses.unfree; | ||
maintainers = with maintainers; [ onny ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters