nixos-configs/scopedPackages/lovelace-components/custom-sidebar/default.nix

57 lines
1.2 KiB
Nix
Raw Normal View History

2024-10-16 20:12:23 -04:00
{
2025-02-18 15:19:08 -05:00
# nix build inputs
lib,
stdenv,
chore: update flake.lock Flake Inputs: • Updated input 'agsV2': 'github:Aylur/ags/a93f0ac' (2024-10-16) → 'github:Aylur/ags/b7f3896' (2024-10-19) • Updated input 'astal': 'github:Aylur/astal/f763c44' (2024-10-18) → 'github:Aylur/astal/bfb7e27' (2024-10-20) • Updated input 'custom-sidebar-src': 'github:elchininet/custom-sidebar/fcada91' (2024-10-15) → 'github:elchininet/custom-sidebar/80942f5' (2024-10-21) • Updated input 'home-manager': 'github:nix-community/home-manager/09a0c0c' (2024-10-18) → 'github:nix-community/home-manager/1e27f21' (2024-10-20) • Updated input 'hyprland': 'github:hyprwm/Hyprland/0e630e9' (2024-10-17) → 'github:hyprwm/Hyprland/62ee5cc' (2024-10-19) • Updated input 'nix-gaming': 'github:fufexan/nix-gaming/79f0e31' (2024-10-18) → 'github:fufexan/nix-gaming/177e270' (2024-10-20) • Updated input 'nix-index-db': 'github:Mic92/nix-index-database/5c54c33' (2024-10-13) → 'github:Mic92/nix-index-database/04f8a11' (2024-10-20) • Updated input 'nixd': 'github:nix-community/nixd/c38702b' (2024-10-01) → 'github:nix-community/nixd/d3c7e56' (2024-10-20) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/5785b6b' (2024-10-16) → 'github:NixOS/nixpkgs/4c2fcb0' (2024-10-18) • Updated input 'nixpkgs-wayland': 'github:nix-community/nixpkgs-wayland/2535bdd' (2024-10-18) → 'github:nix-community/nixpkgs-wayland/7c64c3c' (2024-10-20) • Updated input 'pokemon-colorscripts-src': 'gitlab:phoneybadger/pokemon-colorscripts/0483c85' (2022-10-28) → 'gitlab:phoneybadger/pokemon-colorscripts/5802ff6' (2024-10-19) • Updated input 'sops-nix': 'github:Mic92/sops-nix/06535d0' (2024-10-08) → 'github:Mic92/sops-nix/c504fd7' (2024-10-20) • Updated input 'spotifywebapi-src': 'github:thlucas1/SpotifyWebApiPython/4bb0658' (2024-10-14) → 'github:thlucas1/SpotifyWebApiPython/8c6aff1' (2024-10-19) • Updated input 'tuya-local-src': 'github:make-all/tuya-local/587d622' (2024-10-18) → 'github:make-all/tuya-local/38744c0' (2024-10-21) Docker Images: • rssbridge/rss-bridge latest: sha256:da785b43f43e4f718c525d71453d6b7011db98c68434f02315cb7ee1ecc88889 → sha256:42b4d1d1e3fb2c361a3a2fe2921a847bbdcd0d6d14a4d411482665fc4560a58d
2024-10-20 21:42:54 -04:00
concatTextFile,
2024-10-16 20:12:23 -04:00
custom-sidebar-src,
2025-02-18 15:19:08 -05:00
# deps
2024-10-16 20:12:23 -04:00
nodejs,
pnpm,
...
}: let
inherit (builtins) fromJSON readFile;
package = fromJSON (readFile "${custom-sidebar-src}/package.json");
2024-10-16 20:12:23 -04:00
in
stdenv.mkDerivation (finalAttrs: {
pname = "custom-sidebar";
version = "${package.version}+${custom-sidebar-src.shortRev}";
2024-10-16 20:12:23 -04:00
src = custom-sidebar-src;
nativeBuildInputs = [
nodejs
pnpm.configHook
];
buildPhase = ''
npm run build
'';
installPhase = ''
mkdir $out
cp ./dist/* $out
'';
pnpmDeps = pnpm.fetchDeps {
inherit (finalAttrs) pname version src;
chore: update sources Flake Inputs: • Updated input 'astal': 'github:Aylur/astal' (2025-02-12) rev: 956b74fd9ff8c607b6683b404860c4e6b30ffe2b → 'github:Aylur/astal' (2025-02-17) rev: cbfe69a9c22f3b0e59c6e09fffbe0b7af4f543d1 • Updated input 'custom-sidebar-src': 'github:elchininet/custom-sidebar' (2025-02-09) rev: 5e65f568db9312ca84b0de4f376899af54a14655 → 'github:elchininet/custom-sidebar' (2025-02-17) rev: 8c5769f2329fb2197c7e828bdc25ffe00783d975 • Updated input 'gpu-screen-recorder-src': 'git+https://repo.dec05eba.com/gpu-screen-recorder' (2025-02-16) rev: 015570ca75e4c7891f02708b1ec29da8887578ef → 'git+https://repo.dec05eba.com/gpu-screen-recorder' (2025-02-17) rev: 3c0b607154f324e0f34503e2eb661ded49705c93 • Updated input 'home-manager': 'github:nix-community/home-manager' (2025-02-16) rev: ec130e700959ee10b63eedbc87758d20264a9588 → 'github:nix-community/home-manager' (2025-02-17) rev: 6c93eea85daddd0dc8d4a3a687473461f3122961 • Updated input 'hyprland': 'github:hyprwm/Hyprland' (2025-02-16) rev: 897ee276dc0a8a6b11a8102b225a9e969faac0bf → 'github:hyprwm/Hyprland' (2025-02-17) rev: d01f9943e1d401b09fc53be3c161279ab4f2c5ba • Updated input 'jellyfin-flake': 'github:matt1432/nixos-jellyfin' (2025-02-09) rev: 42092d54585cef272cac955cb0a07e3f76d46de4 → 'github:matt1432/nixos-jellyfin' (2025-02-17) rev: 9004577a5a01f62d34ee3b656b7fe38dbed639d7 • Updated input 'jovian': 'github:Jovian-Experiments/Jovian-NixOS' (2025-02-15) rev: dc10b4ba56665c66562a5e993c9734fe89c29c65 → 'github:Jovian-Experiments/Jovian-NixOS' (2025-02-17) rev: acd994d0e57d0309794005f49b09dc1ccb4940e2 • Updated input 'kompass': 'github:kotontrion/kompass' (2025-02-07) rev: e312a5715edd1b02576afd39bbe0588c6045e7c1 → 'github:kotontrion/kompass' (2025-02-17) rev: 755b3095ace5dad330a3dcdcf51d1ff29bf164d4 • Updated input 'nixpkgs': 'github:NixOS/nixpkgs' (2025-02-13) rev: 2ff53fe64443980e139eaa286017f53f88336dd0 → 'github:NixOS/nixpkgs' (2025-02-16) rev: d74a2335ac9c133d6bbec9fc98d91a77f1604c1f • Updated input 'nixpkgs-wayland': 'github:nix-community/nixpkgs-wayland' (2025-02-16) rev: 2bb531b423b6c7c101adb1ace037bac86e5d8552 → 'github:nix-community/nixpkgs-wayland' (2025-02-17) rev: 3dfd8fdeda2b712ae7238f5c7bb3644432319fc3 • Updated input 'ts-for-gir-src': 'github:gjsify/ts-for-gir' (2025-02-12) rev: d1e462ffdb6150749d2e4e7edf97b93f82c525d2 → 'github:gjsify/ts-for-gir' (2025-02-17) rev: cd7cbc37778cad413538222ddf02c00265358997 • Updated input 'tuya-local-src': 'github:make-all/tuya-local' (2025-02-16) rev: 5f73974ba2036f5b8398ba621320b0bf7b9a61ce → 'github:make-all/tuya-local' (2025-02-17) rev: d6b5ac063342ce8a6a650d7786fcb841f177c6c9 • Updated input 'vimplugin-roslyn-nvim-src': 'github:seblj/roslyn.nvim' (2025-02-15) rev: 3f86e52047f1697117c73d4597729b25bc06839e → 'github:seblj/roslyn.nvim' (2025-02-17) rev: ff6dd40e9ae7237e3dbd757af54cc93a29fc6cf8 Docker Images: • ghcr.io/linuxserver/radarr latest: sha256:f4c9c64c42e84a3c03590afd9da2e420c69b5e936b4549778c5d4c00d907ba33 → sha256:1184ee84bc5329c4f62c070a04d73eaf7918878410ca48a1f3dbf82b684eee27 Firefox Addons: stylus: 2.3.10 -> 2.3.12 Node modules: typescript-eslint: 8.24.0 -> 8.24.1 @ts-for-gir/cli: 4.0.0-beta.19 -> 4.0.0-beta.21
2025-02-17 17:12:03 -05:00
hash = "sha256-vAZkr4PLkIMkVr/hFEY6ZBP9W793lxs69LeA/FRUyPY=";
chore: update flake.lock Flake Inputs: • Updated input 'agsV2': 'github:Aylur/ags/a93f0ac' (2024-10-16) → 'github:Aylur/ags/b7f3896' (2024-10-19) • Updated input 'astal': 'github:Aylur/astal/f763c44' (2024-10-18) → 'github:Aylur/astal/bfb7e27' (2024-10-20) • Updated input 'custom-sidebar-src': 'github:elchininet/custom-sidebar/fcada91' (2024-10-15) → 'github:elchininet/custom-sidebar/80942f5' (2024-10-21) • Updated input 'home-manager': 'github:nix-community/home-manager/09a0c0c' (2024-10-18) → 'github:nix-community/home-manager/1e27f21' (2024-10-20) • Updated input 'hyprland': 'github:hyprwm/Hyprland/0e630e9' (2024-10-17) → 'github:hyprwm/Hyprland/62ee5cc' (2024-10-19) • Updated input 'nix-gaming': 'github:fufexan/nix-gaming/79f0e31' (2024-10-18) → 'github:fufexan/nix-gaming/177e270' (2024-10-20) • Updated input 'nix-index-db': 'github:Mic92/nix-index-database/5c54c33' (2024-10-13) → 'github:Mic92/nix-index-database/04f8a11' (2024-10-20) • Updated input 'nixd': 'github:nix-community/nixd/c38702b' (2024-10-01) → 'github:nix-community/nixd/d3c7e56' (2024-10-20) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/5785b6b' (2024-10-16) → 'github:NixOS/nixpkgs/4c2fcb0' (2024-10-18) • Updated input 'nixpkgs-wayland': 'github:nix-community/nixpkgs-wayland/2535bdd' (2024-10-18) → 'github:nix-community/nixpkgs-wayland/7c64c3c' (2024-10-20) • Updated input 'pokemon-colorscripts-src': 'gitlab:phoneybadger/pokemon-colorscripts/0483c85' (2022-10-28) → 'gitlab:phoneybadger/pokemon-colorscripts/5802ff6' (2024-10-19) • Updated input 'sops-nix': 'github:Mic92/sops-nix/06535d0' (2024-10-08) → 'github:Mic92/sops-nix/c504fd7' (2024-10-20) • Updated input 'spotifywebapi-src': 'github:thlucas1/SpotifyWebApiPython/4bb0658' (2024-10-14) → 'github:thlucas1/SpotifyWebApiPython/8c6aff1' (2024-10-19) • Updated input 'tuya-local-src': 'github:make-all/tuya-local/587d622' (2024-10-18) → 'github:make-all/tuya-local/38744c0' (2024-10-21) Docker Images: • rssbridge/rss-bridge latest: sha256:da785b43f43e4f718c525d71453d6b7011db98c68434f02315cb7ee1ecc88889 → sha256:42b4d1d1e3fb2c361a3a2fe2921a847bbdcd0d6d14a4d411482665fc4560a58d
2024-10-20 21:42:54 -04:00
};
passthru.updateScript = concatTextFile {
name = "update";
files = [./update.sh];
executable = true;
destination = "/bin/update";
};
2025-02-18 15:19:08 -05:00
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.
'';
};
2024-10-16 20:12:23 -04:00
})