docs: add generated packages readme
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2025-01-20 14:51:21 -05:00
parent 546eda3ee2
commit 9762112454
10 changed files with 71 additions and 14 deletions

View file

@ -20,5 +20,7 @@ substitute() {
) -t markdown --template "$2" -o "$3" ) -t markdown --template "$2" -o "$3"
} }
substitute "devShells" "$FLAKE/apps/gen-docs/templates/devShells.md" "$FLAKE/devShells/README.md" # TODO: add configurations, homeManagerModules, lib, modules, nixFastChecks, overlays, packages, scopedPackages
substitute "appsPackages" "$FLAKE/apps/gen-docs/templates/apps.md" "$FLAKE/apps/README.md" substitute "appsPackages" "$FLAKE/apps/gen-docs/templates/apps.md" "$FLAKE/apps/README.md"
substitute "devShells" "$FLAKE/apps/gen-docs/templates/devShells.md" "$FLAKE/devShells/README.md"
substitute "packages" "$FLAKE/apps/gen-docs/templates/packages.md" "$FLAKE/packages/README.md"

View file

@ -0,0 +1,11 @@
# Packages
This directory contains every derivations for packages exposed by this flake.
## List of my packages found in `self.packages`
| Name | Description |
| ---- | ----------- |
$for(attrs/pairs)$
| `$it.key$` | $it.value.desc/nowrap$ | $it.value.homepage/nowrap$ |
$endfor$

View file

@ -4,12 +4,19 @@ This directory contains every derivations for packages exposed by this flake.
## List of my packages found in `self.packages` ## List of my packages found in `self.packages`
| Name | Source / Description | | Name | Description | Homepage |
| ------------------------------ | -------------------- | | ---- | ----------- | -------- |
| `gpu-screen-recorder` | [Git](https://git.dec05eba.com/gpu-screen-recorder/about) | | `gpu-screen-recorder` | Screen recorder that has minimal impact on system performance by recording a window using the GPU only | https://git.dec05eba.com/gpu-screen-recorder/about/ |
| `pam-fprint-grosshack` | [GitLab](https://gitlab.com/mishakmak/pam-fprint-grosshack) | | `gsr-kms-server` | Screen recorder that has minimal impact on system performance by recording a window using the GPU only | https://git.dec05eba.com/gpu-screen-recorder/about/ |
| `pokemon-colorscripts` | [GitLab](https://gitlab.com/phoneybadger/pokemon-colorscripts) | | `homepage` | Highly customisable dashboard with Docker and service API integrations | https://gethomepage.dev |
| `proton-ge-latest` | [Github](https://github.com/GloriousEggroll/proton-ge-custom) patched with persistent name in Steam | | `libratbag` | Configuration library for gaming mice | https://github.com/libratbag/libratbag |
| `protonhax` | [Github](https://github.com/jcnils/protonhax) | | `librespot-auth` | A simple program for populating a credentials.json via Spotify's zeroconf authentication. | https://github.com/dspearson/librespot-auth |
| `repl` | nix repl forked from [here](https://github.com/fufexan/dotfiles/blob/main/pkgs/repl/default.nix) | | `pam-fprint-grosshack` | This is a fork of the pam module which implements the simultaneous password and fingerprint behaviour present in pam_thinkfinger. | https://gitlab.com/mishakmak/pam-fprint-grosshack |
| `trash-d` | [Github](https://github.com/rushsteve1/trash-d) | | `piper` | GTK frontend for ratbagd mouse config daemon | https://github.com/libratbag/piper |
| `pokemon-colorscripts` | A script to print out images of pokemon to the terminal. | https://gitlab.com/phoneybadger/pokemon-colorscripts |
| `proton-ge-latest` | Compatibility tool for Steam Play based on Wine and additional components. (This is intended for use in the `programs.steam.extraCompatPackages` option only.) | https://github.com/GloriousEggroll/proton-ge-custom |
| `protonhax` | Tool to help running other programs (i.e. Cheat Engine) inside Steam's proton. | https://github.com/jcnils/protonhax |
| `repl` | A simple program for populating a credentials.json via Spotify's zeroconf authentication. | fork of https://github.com/fufexan/dotfiles/blob/main/pkgs/repl/default.nix |
| `some-sass-language-server` | Some Sass is a language server extension for Visual Studio Code and other editors with a language server protocol (LSP) client. It brings improved code suggestions, documentation and code navigation for both SCSS and indented syntaxes. | https://github.com/wkillerud/some-sass |
| `trash-d` | A near drop-in replacement for `rm` that uses the [FreeDesktop trash bin](https://specifications.freedesktop.org/trash-spec/trashspec-latest.html). | https://github.com/rushsteve1/trash-d |
| `urllib3` | Powerful, sanity-friendly HTTP client for Python | https://github.com/shazow/urllib3 |

View file

@ -35,10 +35,10 @@ rustPlatform.buildRustPackage rec {
openssl openssl
]; ];
meta = with lib; { meta = {
description = "A simple program for populating a credentials.json via Spotify's zeroconf authentication."; description = "A simple program for populating a credentials.json via Spotify's zeroconf authentication.";
mainProgram = pname; mainProgram = pname;
homepage = "https://github.com/dspearson/librespot-auth"; homepage = "https://github.com/dspearson/librespot-auth";
license = with licenses; [isc]; license = with lib.licenses; [isc];
}; };
} }

View file

@ -1,4 +1,5 @@
{ {
lib,
pam-fprint-grosshack-src, pam-fprint-grosshack-src,
dbus, dbus,
glib, glib,
@ -41,4 +42,11 @@ in
"-Ddbus_service_dir=${placeholder "out"}/share/dbus-1/system-services" "-Ddbus_service_dir=${placeholder "out"}/share/dbus-1/system-services"
"-Dsystemd_system_unit_dir=${placeholder "out"}/lib/systemd/system" "-Dsystemd_system_unit_dir=${placeholder "out"}/lib/systemd/system"
]; ];
meta = {
description = "This is a fork of the pam module which implements the simultaneous
password and fingerprint behaviour present in pam_thinkfinger.";
homepage = "https://gitlab.com/mishakmak/pam-fprint-grosshack";
license = with lib.licenses; [gpl2Plus];
};
} }

View file

@ -25,4 +25,9 @@ stdenv.mkDerivation {
ln -s $out/pokemon-colorscripts/pokemon-colorscripts.py $out/bin/pokemon-colorscripts ln -s $out/pokemon-colorscripts/pokemon-colorscripts.py $out/bin/pokemon-colorscripts
''; '';
meta = {
description = "A script to print out images of pokemon to the terminal.";
homepage = "https://gitlab.com/phoneybadger/pokemon-colorscripts";
};
} }

View file

@ -1,4 +1,5 @@
{ {
lib,
mkVersion, mkVersion,
protonhax-src, protonhax-src,
stdenv, stdenv,
@ -13,4 +14,10 @@ stdenv.mkDerivation {
installPhase = '' installPhase = ''
install -Dt $out/bin -m755 protonhax install -Dt $out/bin -m755 protonhax
''; '';
meta = {
description = "Tool to help running other programs (i.e. Cheat Engine) inside Steam's proton.";
homepage = "https://github.com/jcnils/protonhax";
license = with lib.licenses; [bsd3];
};
} }

View file

@ -38,4 +38,9 @@ in
;; ;;
esac esac
''; '';
meta = {
description = "A simple program for populating a credentials.json via Spotify's zeroconf authentication.";
homepage = "fork of https://github.com/fufexan/dotfiles/blob/main/pkgs/repl/default.nix";
};
} }

View file

@ -1,4 +1,5 @@
{ {
lib,
writeShellApplication, writeShellApplication,
nodejs_latest, nodejs_latest,
prefetch-npm-deps, prefetch-npm-deps,
@ -8,9 +9,10 @@
... ...
}: let }: let
package = builtins.fromJSON (builtins.readFile ./package.json); package = builtins.fromJSON (builtins.readFile ./package.json);
pname = "some-sass-language-server";
in in
buildNpmPackage { buildNpmPackage {
pname = "some-sass-language-server"; inherit pname;
version = package.dependencies.some-sass-language-server; version = package.dependencies.some-sass-language-server;
src = ./.; src = ./.;
@ -35,4 +37,11 @@ in
]; ];
text = import ./update.nix; text = import ./update.nix;
}; };
meta = {
description = "Some Sass is a language server extension for Visual Studio Code and other editors with a language server protocol (LSP) client. It brings improved code suggestions, documentation and code navigation for both SCSS and indented syntaxes.";
mainProgram = pname;
homepage = "https://github.com/wkillerud/some-sass";
license = with lib.licenses; [isc];
};
} }

View file

@ -1,4 +1,5 @@
{ {
lib,
dmd, dmd,
dub, dub,
trash-d-src, trash-d-src,
@ -36,7 +37,6 @@ in
ronn --roff --pipe MANUAL.md > $out/man/man1/trash.1 ronn --roff --pipe MANUAL.md > $out/man/man1/trash.1
''; '';
meta = { meta = {
mainProgram = "trash"; mainProgram = "trash";
platforms = [ platforms = [
@ -44,5 +44,8 @@ in
"i686-linux" "i686-linux"
"x86_64-darwin" "x86_64-darwin"
]; ];
description = "A near drop-in replacement for `rm` that uses the [FreeDesktop trash bin](https://specifications.freedesktop.org/trash-spec/trashspec-latest.html).";
homepage = "https://github.com/rushsteve1/trash-d";
license = with lib.licenses; [mit];
}; };
} }