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 'custom-sidebar-src': 'github:elchininet/custom-sidebar' (2025-02-17) rev: 8c5769f2329fb2197c7e828bdc25ffe00783d975 → 'github:elchininet/custom-sidebar' (2025-02-23) rev: e88b28714e9dc3a03b412cf0913e22ebca3e6a49 • Updated input 'gpu-screen-recorder-src': 'git+https://repo.dec05eba.com/gpu-screen-recorder' (2025-02-22) rev: 7e8d6b3f33d7a45caf294cc22fb4cfffa7b09a3a → 'git+https://repo.dec05eba.com/gpu-screen-recorder' (2025-02-24) rev: d12f312bc13874b9adf076103cf5f1325a0b1249 • Updated input 'gtk-theme-src': 'github:dracula/gtk' (2025-02-14) rev: fbc19694354e918f2a0df4a10b02f2127f69c441 → 'github:dracula/gtk' (2025-02-23) rev: e27b41dcd64c41d5c17231d2dee165036fb1de19 • Updated input 'home-manager': 'github:nix-community/home-manager' (2025-02-22) rev: cb3f6e9b59d3a5e51ef9f7da2b8418d5c72aaef8 → 'github:nix-community/home-manager' (2025-02-23) rev: 12e26a74e5eb1a31e13daaa08858689e25ebd449 • Updated input 'hyprland': 'github:hyprwm/Hyprland' (2025-02-21) rev: f4b148df1e2d8edc96bd878a4cfde32ca6515ac8 → 'github:hyprwm/Hyprland' (2025-02-24) rev: 3458d7ac93a101ea534ef6d0bcbc32725e267045 • Updated input 'jellyfin-flake': 'github:matt1432/nixos-jellyfin' (2025-02-18) rev: 4fc4b020aa4675e77c79f2209578a95b4bdc00c6 → 'github:matt1432/nixos-jellyfin' (2025-02-23) rev: a996604d38dad7ec280d6b2ad57542d05ca5714f • Updated input 'jovian': 'github:Jovian-Experiments/Jovian-NixOS' (2025-02-22) rev: b555a7faa4831d47b3e11c78195d339f5ae58b3b → 'github:Jovian-Experiments/Jovian-NixOS' (2025-02-23) rev: 11ba89d13831cb399194310304fffb025081c674 • Updated input 'modernz-src': 'github:Samillion/ModernZ' (2025-02-19) rev: cc0e40acf3bf438f261685451ad24275d69394d3 → 'github:Samillion/ModernZ' (2025-02-23) rev: 04bd74082d47587eae049460c58d9706f8d28b1d • Updated input 'nix-gaming': 'github:fufexan/nix-gaming' (2025-02-22) rev: 98d916077d100f8e220dad75c70a61382747b609 → 'github:fufexan/nix-gaming' (2025-02-24) rev: 1e6dc4b9895602f9459d6ff3a11b0cd144321207 • Updated input 'nix-index-db': 'github:Mic92/nix-index-database' (2025-02-16) rev: ae15068e79e22b76c344f0d7f8aed1bb1c5b0b63 → 'github:Mic92/nix-index-database' (2025-02-23) rev: 465792533d03e6bb9dc849d58ab9d5e31fac9023 • Updated input 'nixcord': 'github:kaylorben/nixcord' (2025-02-19) rev: e759e621b5f5464278d1ac0e8a7239f98fa9b6da → 'github:kaylorben/nixcord' (2025-02-23) rev: bb062ff6ccac6dab793ea039a5feda82ba4413c5 • Updated input 'nixpkgs': 'github:NixOS/nixpkgs' (2025-02-18) rev: 73cf49b8ad837ade2de76f87eb53fc85ed5d4680 → 'github:NixOS/nixpkgs' (2025-02-21) rev: 32fb99ba93fea2798be0e997ea331dd78167f814 • Updated input 'nixpkgs-wayland': 'github:nix-community/nixpkgs-wayland' (2025-02-22) rev: 15203f2f89f630c7458b1c684df0374d67c6416f → 'github:nix-community/nixpkgs-wayland' (2025-02-23) rev: 6a567018acb53ad195a27f8357495643dad5aadf • Updated input 'nvim-theme-src': 'github:Mofiqul/dracula.nvim' (2024-12-19) rev: 515acae4fd294fcefa5b15237a333c2606e958d1 → 'github:Mofiqul/dracula.nvim' (2025-02-24) rev: 96c9d19ce81b26053055ad6f688277d655b3f7d2 • Updated input 'spotifyplus-src': 'github:thlucas1/homeassistantcomponent_spotifyplus' (2025-02-21) rev: b3e2a328337d12046fc8e23b084d9b7971e40869 → 'github:thlucas1/homeassistantcomponent_spotifyplus' (2025-02-22) rev: eee864fe7ff76fa61feb01663ac7fb1af78801ee • Updated input 'spotifywebapi-src': 'github:thlucas1/SpotifyWebApiPython' (2025-02-22) rev: ee75577b1e4e39fa233beebc27b5200c5b3bd5c0 → 'github:thlucas1/SpotifyWebApiPython' (2025-02-24) rev: 3f39957657c4f70e6be091e391d8aaa4761b55de • Updated input 'tuya-local-src': 'github:make-all/tuya-local' (2025-02-22) rev: 1c8b4719d20ee614ee556dcf69e32a0dbd8da14c → 'github:make-all/tuya-local' (2025-02-24) rev: 55c75e40b083ef511fa3e97b71b670cac3711290 Docker Images: • freshrss/freshrss latest: sha256:e7897e90c1e0ab4a68cb643ff509dec4e3b85bbe42e2688ed9f95eb190bcb2b1 → sha256:d18055cc1c2fa807f118accb4ba74f435d381daf96130f87b17d9d9d1d169341
2025-02-24 01:37:24 -05:00
hash = "sha256-4iE1xGmpvt/twcgedXx6+RWWEbVyl97nq/Jc0n827TM=";
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
})