mods: init at 0.1.1
This commit is contained in:
parent
d5be467efe
commit
3830fa6e28
2 changed files with 29 additions and 0 deletions
27
pkgs/tools/misc/mods/default.nix
Normal file
27
pkgs/tools/misc/mods/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ 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 ];
|
||||
};
|
||||
}
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue