add deepseek-tui
This commit is contained in:
parent
3c727ec4b4
commit
04a44a1493
3 changed files with 109 additions and 0 deletions
34
pkgs/d/deepseek-tui/package.nix
Normal file
34
pkgs/d/deepseek-tui/package.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
pkg-config,
|
||||
dbus,
|
||||
openssl,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage {
|
||||
pname = "deepseek-tui";
|
||||
version = "0.8.20";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "shen390s";
|
||||
repo = "DeepSeek-TUI";
|
||||
rev = "f183501fbd2199d9d10040e1a63392de604f172c";
|
||||
hash = "sha256-E621hEtWjdr5c9MZsifaYgdjyFvXcMvKLFmiyC4+Hr8=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-7Atb+VhGHk1RtNJl+7kJOimpc/4sZs/pTKDRWmUzoSI=";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ dbus openssl ];
|
||||
|
||||
meta = {
|
||||
description = "A TUI client for DeepSeek AI";
|
||||
homepage = "https://github.com/shen390s/DeepSeek-TUI";
|
||||
license = lib.licenses.mit;
|
||||
mainProgram = "deepseek";
|
||||
};
|
||||
}
|
||||
71
pkgs/k/kiro-account-manager/package.nix
Normal file
71
pkgs/k/kiro-account-manager/package.nix
Normal file
|
|
@ -0,0 +1,71 @@
|
|||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, buildNpmPackage
|
||||
, pkg-config
|
||||
, openssl
|
||||
, glib
|
||||
, gtk3
|
||||
, libsoup_3
|
||||
, webkitgtk_4_1
|
||||
, dbus
|
||||
, libayatana-appindicator
|
||||
}:
|
||||
|
||||
let
|
||||
pname = "kiro-account-manager";
|
||||
version = "1.8.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hj01857655";
|
||||
repo = "kiro-account-manager";
|
||||
rev = "2e2d4b09d3ad3b028dab719958707d9e19923261";
|
||||
hash = "";
|
||||
};
|
||||
|
||||
frontend = buildNpmPackage {
|
||||
pname = "${pname}-frontend";
|
||||
inherit version src;
|
||||
|
||||
npmDepsHash = "";
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
cp -r dist $out
|
||||
runHook postInstall
|
||||
'';
|
||||
};
|
||||
|
||||
in rustPlatform.buildRustPackage {
|
||||
inherit pname version src;
|
||||
|
||||
sourceRoot = "${src.name}/src-tauri";
|
||||
|
||||
cargoHash = "";
|
||||
|
||||
preBuild = ''
|
||||
cp -r ${frontend} ../dist
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [
|
||||
openssl
|
||||
glib
|
||||
gtk3
|
||||
dbus
|
||||
libsoup_3
|
||||
webkitgtk_4_1
|
||||
libayatana-appindicator
|
||||
];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Kiro IDE account manager with multi-account switching and quota monitoring";
|
||||
homepage = "https://github.com/hj01857655/kiro-account-manager";
|
||||
license = lib.licenses.cc-by-nc-sa-40;
|
||||
mainProgram = "kiro-account-manager";
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue