mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 18:33:00 +00:00
shell-genie: init at unstable-2023-01-27
This commit is contained in:
parent
4be6baacfe
commit
7f5639fa3b
44
pkgs/applications/misc/shell-genie/default.nix
Normal file
44
pkgs/applications/misc/shell-genie/default.nix
Normal file
@ -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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user