docs: add meta to all scoped packages
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2025-02-18 15:19:08 -05:00
parent fffcce6d29
commit 13453f6839
26 changed files with 268 additions and 22 deletions

View file

@ -105,10 +105,10 @@ in
mainProgram = pname; mainProgram = pname;
license = lib.licenses.gpl3Only; license = lib.licenses.gpl3Only;
platforms = ["x86_64-linux"]; platforms = ["x86_64-linux"];
homepage = "https://git.dec05eba.com/gpu-screen-recorder/about/"; homepage = "https://git.dec05eba.com/gpu-screen-recorder/about";
description = '' description = ''
Screen recorder that has minimal impact on system performance by recording Screen recorder that has minimal impact on system performance by recording
a window using the GPU only a window using the GPU only.
''; '';
}; };
} }

View file

@ -1,7 +1,9 @@
{ {
bat-theme-src, # nix build inputs
mkVersion, lib,
stdenv, stdenv,
mkVersion,
bat-theme-src,
... ...
}: }:
stdenv.mkDerivation { stdenv.mkDerivation {
@ -13,4 +15,12 @@ stdenv.mkDerivation {
installPhase = '' installPhase = ''
cat ./Dracula.tmTheme > $out cat ./Dracula.tmTheme > $out
''; '';
meta = {
license = lib.licenses.mit;
homepage = "https://github.com/matt1432/bat";
description = ''
Dark theme for bat based on the Dracula Sublime theme.
'';
};
} }

View file

@ -1,7 +1,9 @@
{ {
# nix build inputs
lib,
stdenv, stdenv,
git-theme-src,
mkVersion, mkVersion,
git-theme-src,
... ...
}: }:
stdenv.mkDerivation { stdenv.mkDerivation {
@ -19,4 +21,12 @@ stdenv.mkDerivation {
cat ./config/gitconfig > $out cat ./config/gitconfig > $out
''; '';
meta = {
license = lib.licenses.mit;
homepage = "https://github.com/dracula/git";
description = ''
Dark theme for Git.
'';
};
} }

View file

@ -1,6 +1,6 @@
{ {
gtk-theme-src,
pkgs, pkgs,
gtk-theme-src,
... ...
}: }:
pkgs.dracula-theme.overrideAttrs (o: { pkgs.dracula-theme.overrideAttrs (o: {

View file

@ -1,7 +1,9 @@
{ {
# nix build inputs
lib,
stdenv, stdenv,
dracula-plymouth-src,
mkVersion, mkVersion,
dracula-plymouth-src,
... ...
}: }:
stdenv.mkDerivation { stdenv.mkDerivation {
@ -18,4 +20,13 @@ stdenv.mkDerivation {
mkdir -p $out/share/plymouth/themes mkdir -p $out/share/plymouth/themes
cp -a ./dracula $out/share/plymouth/themes/ cp -a ./dracula $out/share/plymouth/themes/
''; '';
meta = {
license = lib.licenses.mit;
homepage = "https://github.com/matt1432/dracula-plymouth";
description = ''
Dark theme for Plymouth. Forked by me to add a password prompt and
black background for more seemless boot sequence.
'';
};
} }

View file

@ -1,7 +1,9 @@
{ {
# nix build inputs
lib,
stdenv,
mkVersion, mkVersion,
sioyek-theme-src, sioyek-theme-src,
stdenv,
... ...
}: }:
stdenv.mkDerivation { stdenv.mkDerivation {
@ -13,4 +15,12 @@ stdenv.mkDerivation {
installPhase = '' installPhase = ''
cat ./dracula.config > $out cat ./dracula.config > $out
''; '';
meta = {
license = lib.licenses.mit;
homepage = "https://github.com/dracula/sioyek";
description = ''
Dark theme for Sioyek.
'';
};
} }

View file

@ -1,6 +1,8 @@
{ {
fetchurl, # nix build inputs
lib,
stdenv, stdenv,
fetchurl,
... ...
}: }:
stdenv.mkDerivation { stdenv.mkDerivation {
@ -16,4 +18,12 @@ stdenv.mkDerivation {
installPhase = '' installPhase = ''
cp -a $src $out cp -a $src $out
''; '';
meta = {
license = lib.licenses.cc-by-sa-40;
homepage = "https://github.com/aynp/dracula-wallpapers";
description = ''
Wallpaper based on the Dracula Theme.
'';
};
} }

View file

@ -1,6 +1,8 @@
{ {
extended-ollama-conversation-src, # nix build inputs
buildHomeAssistantComponent, buildHomeAssistantComponent,
extended-ollama-conversation-src,
# deps
python3Packages, python3Packages,
... ...
}: let }: let
@ -24,4 +26,11 @@ in
ollama ollama
openai openai
]; ];
meta = {
homepage = "https://github.com/TheNimaj/extended_ollama_conversation";
description = ''
Home Assistant custom component of conversation agent. It uses Ollama to control your devices.
'';
};
} }

View file

@ -1,6 +1,9 @@
# FIXME: deprecated
{ {
ha-fallback-conversation-src, # nix build inputs
lib,
buildHomeAssistantComponent, buildHomeAssistantComponent,
ha-fallback-conversation-src,
... ...
}: let }: let
inherit (builtins) fromJSON readFile; inherit (builtins) fromJSON readFile;
@ -13,4 +16,12 @@ in
inherit (manifest) domain version; inherit (manifest) domain version;
src = ha-fallback-conversation-src; src = ha-fallback-conversation-src;
meta = {
license = lib.licenses.mit;
homepage = "https://github.com/m50/ha-fallback-conversation";
description = ''
HomeAssistant Assist Fallback Conversation Agent.
'';
};
} }

View file

@ -1,6 +1,8 @@
{ {
material-symbols-src, # nix build inputs
lib,
buildHomeAssistantComponent, buildHomeAssistantComponent,
material-symbols-src,
... ...
}: let }: let
inherit (builtins) fromJSON readFile; inherit (builtins) fromJSON readFile;
@ -12,4 +14,13 @@ in
inherit (manifest) domain version; inherit (manifest) domain version;
src = material-symbols-src; src = material-symbols-src;
meta = {
license = lib.licenses.cc-by-nc-sa-40;
homepage = "https://github.com/beecho01/material-symbols";
description = ''
Material Symbols for Home Assistant is a collection of 13,803 Google Material Symbols
for use within Home Assistant. It uses the icon-set produced and maintained by iconify.
'';
};
} }

View file

@ -1,6 +1,9 @@
{ {
netdaemon-src, # nix build inputs
lib,
buildHomeAssistantComponent, buildHomeAssistantComponent,
netdaemon-src,
# deps
python3Packages, python3Packages,
... ...
}: let }: let
@ -18,4 +21,12 @@ in
propagatedBuildInputs = with python3Packages; [ propagatedBuildInputs = with python3Packages; [
awesomeversion awesomeversion
]; ];
meta = {
license = lib.licenses.mit;
homepage = "https://github.com/net-daemon/netdaemon";
description = ''
An application daemon for Home Assistant written in .NET.
'';
};
} }

View file

@ -1,6 +1,9 @@
{ {
spotifyplus-src, # nix build inputs
lib,
buildHomeAssistantComponent, buildHomeAssistantComponent,
spotifyplus-src,
# deps
python3Packages, python3Packages,
... ...
}: let }: let
@ -26,4 +29,13 @@ in
smartinspect # overridden in python3Packages smartinspect # overridden in python3Packages
spotifywebapi # overridden in python3Packages spotifywebapi # overridden in python3Packages
]; ];
meta = {
license = lib.licenses.mit;
homepage = "https://github.com/thlucas1/homeassistantcomponent_spotifyplus";
description = ''
Home Assistant integration for Spotify Player control, services,
and soundtouchplus integration support.
'';
};
} }

View file

@ -1,5 +1,8 @@
{ {
# nix build inputs
lib,
smartinspect-src, smartinspect-src,
# deps
python3Packages, python3Packages,
... ...
}: let }: let
@ -20,4 +23,13 @@ in
pythonImportsCheck = [ pythonImportsCheck = [
"smartinspectpython" "smartinspectpython"
]; ];
meta = {
license = lib.licenses.bsd2;
homepage = "https://github.com/thlucas1/SmartInspectPython";
description = ''
Provides Python code execution tracing and diagnostics support via the
SmartInspect Console Viewer.
'';
};
} }

View file

@ -1,5 +1,8 @@
{ {
# nix build inputs
lib,
spotifywebapi-src, spotifywebapi-src,
# deps
python3Packages, python3Packages,
... ...
}: let }: let
@ -30,4 +33,12 @@ in
pythonImportsCheck = [ pythonImportsCheck = [
"spotifywebapipython" "spotifywebapipython"
]; ];
meta = {
license = lib.licenses.mit;
homepage = "https://github.com/thlucas1/SpotifyWebApiPython";
description = ''
A Spotify Web Api Client for Python.
'';
};
} }

View file

@ -1,6 +1,9 @@
{ {
tuya-local-src, # nix build inputs
lib,
buildHomeAssistantComponent, buildHomeAssistantComponent,
tuya-local-src,
# deps
python3Packages, python3Packages,
... ...
}: let }: let
@ -19,4 +22,12 @@ in
tinytuya tinytuya
tuya-device-sharing-sdk tuya-device-sharing-sdk
]; ];
meta = {
license = lib.licenses.mit;
homepage = "https://github.com/make-all/tuya-local";
description = ''
Local support for Tuya devices in Home Assistant.
'';
};
} }

View file

@ -1,4 +1,5 @@
{pkgs, ...}: python3Packages: final: prev: { {...}: python3Packages: final: prev: {
/* Keep this here to make it easier to always have the right version
tinytuya = prev.tinytuya.overridePythonAttrs (o: rec { tinytuya = prev.tinytuya.overridePythonAttrs (o: rec {
version = "1.16.1"; version = "1.16.1";
src = pkgs.fetchFromGitHub { src = pkgs.fetchFromGitHub {
@ -8,4 +9,5 @@
hash = "sha256-+ReTNPKMYUXNA5tu7kZM8/7Bh4XjHSjZTiW8ROHkk5M="; hash = "sha256-+ReTNPKMYUXNA5tu7kZM8/7Bh4XjHSjZTiW8ROHkk5M=";
}; };
}); });
*/
} }

View file

@ -1,6 +1,8 @@
{ {
yamaha-soundbar-src, # nix build inputs
buildHomeAssistantComponent, buildHomeAssistantComponent,
yamaha-soundbar-src,
# deps
python3Packages, python3Packages,
... ...
}: let }: let
@ -19,4 +21,11 @@ in
chardet chardet
validators validators
]; ];
meta = {
homepage = "https://github.com/osk2/yamaha-soundbar";
description = ''
Yamaha soundbar integration for Home Assistant.
'';
};
} }

View file

@ -1,4 +1,6 @@
{ {
# nix build inputs
lib,
stdenv, stdenv,
fetchurl, fetchurl,
... ...
@ -10,7 +12,7 @@ in
inherit pname version; inherit pname version;
src = fetchurl { src = fetchurl {
url = "https://github.com/nicufarmache/lovelace-${pname}/releases/download/${version}/${pname}.js"; url = "https://github.com/nicufarmache/lovelace-big-slider-card/releases/download/${version}/${pname}.js";
hash = "sha256-uNlgsiubLXG1VzhNCSeKo/5TmQF1fzFHjTYfutEXn1M="; hash = "sha256-uNlgsiubLXG1VzhNCSeKo/5TmQF1fzFHjTYfutEXn1M=";
}; };
@ -20,4 +22,12 @@ in
mkdir $out mkdir $out
cp $src $out/${pname}.js cp $src $out/${pname}.js
''; '';
meta = {
license = lib.licenses.mit;
homepage = "https://github.com/nicufarmache/lovelace-big-slider-card";
description = ''
A card with a big slider for light entities in Home Assistant.
'';
};
} }

View file

@ -1,9 +1,12 @@
{ {
# nix build inputs
lib,
stdenv,
concatTextFile, concatTextFile,
custom-sidebar-src, custom-sidebar-src,
# deps
nodejs, nodejs,
pnpm, pnpm,
stdenv,
... ...
}: let }: let
inherit (builtins) fromJSON readFile; inherit (builtins) fromJSON readFile;
@ -41,4 +44,13 @@ in
executable = true; executable = true;
destination = "/bin/update"; destination = "/bin/update";
}; };
meta = {
license = lib.licenses.asl20;
homepage = "https://github.com/elchininet/custom-sidebar";
description = ''
Custom HACS plugin that allows you to personalise the
Home Assistant's sidebar per user or device basis.
'';
};
}) })

View file

@ -1,4 +1,6 @@
{ {
# nix build inputs
lib,
buildNpmPackage, buildNpmPackage,
fetchFromGitHub, fetchFromGitHub,
... ...
@ -27,4 +29,12 @@ in
mkdir $out mkdir $out
cp ./dist/* $out cp ./dist/* $out
''; '';
meta = {
license = lib.licenses.asl20;
homepage = "https://github.com/Nerwyn/material-rounded-theme";
description = ''
Material Design 3 Colors and Components in Home Assistant.
'';
};
} }

View file

@ -1,6 +1,8 @@
{ {
fetchurl, # nix build inputs
lib,
buildLua, buildLua,
fetchurl,
... ...
}: }:
buildLua rec { buildLua rec {
@ -13,4 +15,13 @@ buildLua rec {
hash = "sha256-qJ/Myx0mdaRsWWd+4Mk1/SUSSI/uqQdg/vLZo2pkEwA="; hash = "sha256-qJ/Myx0mdaRsWWd+4Mk1/SUSSI/uqQdg/vLZo2pkEwA=";
}; };
scriptPath = "${src}"; scriptPath = "${src}";
meta = {
license = lib.licenses.unlicense;
homepage = "https://gist.github.com/ntasos/d1d846abd7d25e4e83a78d22ee067a22";
description = ''
Use KDE KDialog to add files to playlist, subtitles to playing video or open URLs.
Based on 'mpv-open-file-dialog' <https://github.com/rossy/mpv-open-file-dialog>.
'';
};
} }

View file

@ -1,7 +1,9 @@
{ {
# nix build inputs
lib,
buildLua, buildLua,
makeFontsConf,
mkVersion, mkVersion,
makeFontsConf,
modernz-src, modernz-src,
... ...
}: }:
@ -24,4 +26,14 @@ buildLua (finalAttrs: {
fontDirectories = ["${finalAttrs.finalPackage}/share/fonts"]; fontDirectories = ["${finalAttrs.finalPackage}/share/fonts"];
})) }))
]; ];
meta = {
license = lib.licenses.lgpl21;
homepage = "https://github.com/Samillion/ModernZ";
description = ''
A sleek and modern OSC for mpv designed to enhance functionality
by adding more features, all while preserving the core standards
of mpv's OSC.
'';
};
}) })

View file

@ -1,4 +1,6 @@
{ {
# nix build inputs
lib,
buildLua, buildLua,
mkVersion, mkVersion,
mpv-persist-properties-src, mpv-persist-properties-src,
@ -9,4 +11,12 @@ buildLua {
version = mkVersion mpv-persist-properties-src; version = mkVersion mpv-persist-properties-src;
src = mpv-persist-properties-src; src = mpv-persist-properties-src;
meta = {
license = lib.licenses.mit;
homepage = "https://github.com/d87/mpv-persist-properties";
description = ''
Keeps selected property values (like volume) between player sessions.
'';
};
} }

View file

@ -1,4 +1,6 @@
{ {
# nix build inputs
lib,
buildLua, buildLua,
mkVersion, mkVersion,
mpv-pointer-event-src, mpv-pointer-event-src,
@ -9,4 +11,12 @@ buildLua {
version = mkVersion mpv-pointer-event-src; version = mkVersion mpv-pointer-event-src;
src = mpv-pointer-event-src; src = mpv-pointer-event-src;
meta = {
license = lib.licenses.gpl2;
homepage = "https://github.com/christoph-heinrich/mpv-pointer-event";
description = ''
Mouse/Touch input event detection for mpv.
'';
};
} }

View file

@ -1,4 +1,6 @@
{ {
# nix build inputs
lib,
buildLua, buildLua,
mkVersion, mkVersion,
mpv-touch-gestures-src, mpv-touch-gestures-src,
@ -9,4 +11,12 @@ buildLua {
version = mkVersion mpv-touch-gestures-src; version = mkVersion mpv-touch-gestures-src;
src = mpv-touch-gestures-src; src = mpv-touch-gestures-src;
meta = {
license = lib.licenses.gpl2;
homepage = "https://github.com/christoph-heinrich/mpv-touch-gestures";
description = ''
Touch gestures for mpv.
'';
};
} }

View file

@ -1,7 +1,9 @@
{ {
# nix build inputs
lib,
buildLua, buildLua,
eisa-scripts-src,
mkVersion, mkVersion,
eisa-scripts-src,
... ...
}: }:
buildLua rec { buildLua rec {
@ -10,4 +12,13 @@ buildLua rec {
src = eisa-scripts-src; src = eisa-scripts-src;
scriptPath = "${src}/scripts/UndoRedo.lua"; scriptPath = "${src}/scripts/UndoRedo.lua";
meta = {
license = lib.licenses.bsd2;
homepage = "https://github.com/Eisa01/mpv-scripts?tab=readme-ov-file#undoredo";
description = ''
Accidentally seeked? No worries, simply undo..
Undo is not enough to fix your accidental seek? Well now you can redo as well..
'';
};
} }