first commit
This commit is contained in:
commit
58a3f28118
72 changed files with 3082 additions and 0 deletions
34
pkgs/aichat/default.nix
Normal file
34
pkgs/aichat/default.nix
Normal file
|
@ -0,0 +1,34 @@
|
|||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
pkg-config,
|
||||
openssl,
|
||||
stdenv,
|
||||
}:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "aichat";
|
||||
version = "0.8.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sigoden";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-E/QslRDeifFHlHUELv9rYHjfCAB1yXXiXlWOyPNkfps=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-7TTHBeZ68G6k5eHBL1zDGsYiTyx27fBbN7Rl9AiZTng=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
openssl
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Using ChatGPT/GPT-3.5/GPT-4 in the terminal";
|
||||
homepage = "https://github.com/sigoden/aichat";
|
||||
};
|
||||
}
|
28
pkgs/bore-cli/default.nix
Normal file
28
pkgs/bore-cli/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
lib,
|
||||
stdenv,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "bore-cli";
|
||||
version = "0.4.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ekzhang";
|
||||
repo = "bore";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-h5Xwsr61h52zb5HNPySKVjfYW96Fff7nwZUAL6vK9ko=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-QyaQM8z5v0LgskkmZ/8ekZwxNrt8sq91BbnjvIqa2nI=";
|
||||
|
||||
# tests do not find grcov path correctly
|
||||
meta = with lib; {
|
||||
description = "Rust tool to create TCP tunnels";
|
||||
homepage = "https://github.com/ekzhang/bore";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [DieracDelta];
|
||||
mainProgram = "bore";
|
||||
};
|
||||
}
|
25
pkgs/catppuccin-cursors/default.nix
Executable file
25
pkgs/catppuccin-cursors/default.nix
Executable file
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchzip,
|
||||
...
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cattpuccin-cursors";
|
||||
version = "9999";
|
||||
src = fetchzip {
|
||||
url = "https://github.com/Ruixi-rebirth/Catppuccin-cursor/archive/refs/tags/1.0.zip";
|
||||
sha256 = "sha256-RCEVxeo3oBNqHogxWM/YqfPoQotirSQTMw15zCahWto=";
|
||||
};
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/icons/Catppuccin-Frappe-Dark
|
||||
cp -va index.theme cursors $out/share/icons/Catppuccin-Frappe-Dark
|
||||
'';
|
||||
meta = {
|
||||
description = "Soothing pastel mouse cursors";
|
||||
homepage = "https://github.com/Ruixi-rebirth/Catppuccin-cursor";
|
||||
license = lib.licenses.gpl3;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = [lib.maintainers.Ruixi-rebirth];
|
||||
};
|
||||
}
|
12
pkgs/default.nix
Executable file
12
pkgs/default.nix
Executable file
|
@ -0,0 +1,12 @@
|
|||
rec{
|
||||
overlay = final: prev:
|
||||
let
|
||||
dirContents = builtins.readDir ../pkgs;
|
||||
genPackage = name: {
|
||||
inherit name;
|
||||
value = final.callPackage (../pkgs + "/${name}") { };
|
||||
};
|
||||
names = builtins.attrNames dirContents;
|
||||
in
|
||||
builtins.listToAttrs (map genPackage names);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue