From 1779bbbf2f9d318413468167413bf6d589cad908 Mon Sep 17 00:00:00 2001 From: Darryl Magadzika <135046711+Daru-san@users.noreply.github.com> Date: Wed, 22 May 2024 17:47:56 +0200 Subject: [PATCH] lexido: init at 1.4.2 (#313454) --- pkgs/by-name/le/lexido/package.nix | 32 ++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pkgs/by-name/le/lexido/package.nix diff --git a/pkgs/by-name/le/lexido/package.nix b/pkgs/by-name/le/lexido/package.nix new file mode 100644 index 000000000000..defa4c691693 --- /dev/null +++ b/pkgs/by-name/le/lexido/package.nix @@ -0,0 +1,32 @@ +{ + lib, + buildGoModule, + fetchFromGitHub, +}: + +buildGoModule rec { + pname = "lexido"; + version = "1.4.2"; + + src = fetchFromGitHub { + owner = "micr0-dev"; + repo = "lexido"; + rev = "v${version}"; + hash = "sha256-nc6UvW16MmLsKt0oSb9nG64N7J3+5CveSwPnGOezhGY="; + }; + + vendorHash = "sha256-h3ws9k7W4nNyS1WvZP29NJfJsBOe0D47ykd41C96Xi4="; + + ldflags = [ + "-s" + "-w" + ]; + + meta = with lib; { + description = "A terminal assistant, powered by Generative AI"; + homepage = "https://github.com/micr0-dev/lexido"; + license = licenses.agpl3Only; + maintainers = with maintainers; [ daru-san ]; + mainProgram = "lexido"; + }; +}