about summary refs log tree commit diff
path: root/pkgs/applications/misc
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2024-04-14 22:30:33 +0200
committerFabian Affolter <mail@fabian-affolter.ch>2024-04-20 11:47:40 +0200
commit9e38de653afc5f5db2599769822bd4568c20cefa (patch)
treec91dadef1e5dc9d7ca503fbcbcd521987f5cfe40 /pkgs/applications/misc
parentede6e2b78ea1d9ee253c93930953ff2ed39e18a8 (diff)
shell-genie: refactor
Diffstat (limited to 'pkgs/applications/misc')
-rw-r--r--pkgs/applications/misc/shell-genie/default.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/applications/misc/shell-genie/default.nix b/pkgs/applications/misc/shell-genie/default.nix
index 63294e4048210..728a4aabed381 100644
--- a/pkgs/applications/misc/shell-genie/default.nix
+++ b/pkgs/applications/misc/shell-genie/default.nix
@@ -21,12 +21,15 @@ buildPythonPackage rec {
     "typer"
   ];
 
-  nativeBuildInputs = [
+  build-system = [
     poetry-core
+  ];
+
+  nativeBuildInputs = [
     pythonRelaxDepsHook
   ];
 
-  propagatedBuildInputs = [
+  dependencies = [
     colorama
     openai
     pyperclip
@@ -44,9 +47,9 @@ buildPythonPackage rec {
 
   meta = with lib; {
     description = "Describe your shell commands in natural language";
-    mainProgram = "shell-genie";
     homepage = "https://github.com/dylanjcastillo/shell-genie";
     license = licenses.mit;
     maintainers = with maintainers; [ onny ];
+    mainProgram = "shell-genie";
   };
 }