Skip to content

Commit

Permalink
shell-genie: init at unstable-2023-01-27
Browse files Browse the repository at this point in the history
  • Loading branch information
onny authored and Yt committed Feb 26, 2023
1 parent 4be6baa commit 7f5639f
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
44 changes: 44 additions & 0 deletions pkgs/applications/misc/shell-genie/default.nix
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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1568,6 +1568,8 @@ with pkgs;

sgrep = callPackage ../tools/text/sgrep { };

shell-genie = callPackage ../applications/misc/shell-genie { };

simple-dlna-browser = callPackage ../tools/networking/simple-dlna-browser { };

sorted-grep = callPackage ../tools/text/sorted-grep { };
Expand Down

0 comments on commit 7f5639f

Please sign in to comment.