Unverified Commit 3830fa6e authored by Mostly Void's avatar Mostly Void
Browse files

mods: init at 0.1.1

parent d5be467e
Loading
Loading
Loading
Loading
+27 −0
Original line number Diff line number Diff line
{ lib
, buildGoModule
, fetchFromGitHub
}:

buildGoModule rec {
  pname = "mods";
  version = "0.1.1";

  src = fetchFromGitHub {
    owner = "charmbracelet";
    repo = "mods";
    rev = "v${version}";
    hash = "sha256-r7j7iMkfkFsohguu2vkhyxUbaMwJQURfUJrnC6yUCFI=";
  };

  vendorHash = "sha256-+0yGFCGd/9bIBjXYp8UPGqKum2di5O1ALMyDSxcVujg=";

  ldflags = [ "-s" "-w" "-X=main.version=${version}" ];

  meta = with lib; {
    description = "AI on the command line";
    homepage = "https://github.com/charmbracelet/mods";
    license = licenses.mit;
    maintainers = with maintainers; [ dit7ya ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -882,6 +882,8 @@ with pkgs;
  mod = callPackage ../development/tools/mod { };
  mods = callPackage ../tools/misc/mods { };
  mongosh = callPackage ../development/tools/mongosh { };
  mysql-shell = callPackage ../development/tools/mysql-shell {