Commit 7f5639fa authored by Jonas Heinrich's avatar Jonas Heinrich Committed by Yt
Browse files

shell-genie: init at unstable-2023-01-27

parent 4be6baac
Loading
Loading
Loading
Loading
+44 −0
Original line number Diff line number Diff line
{ 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 −0
Original line number Diff line number Diff line
@@ -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 { };