nixos-configs/scopedPackages/lovelace-components/custom-sidebar/default.nix
matt1432 f445db75c1
All checks were successful
Discord / discord commits (push) Has been skipped
chore: update sources
Flake Inputs:
• Updated input 'custom-sidebar-src':
    'github:elchininet/custom-sidebar/0687caa' (2024-11-21)
  → 'github:elchininet/custom-sidebar/d0c4394' (2024-11-25)

• Updated input 'discord-overlay':
    'github:matt1432/discord-nightly-overlay/d6310e9' (2024-11-20)
  → 'github:matt1432/discord-nightly-overlay/a397f74' (2024-11-25)

• Updated input 'discord-overlay/Vencord-src':
    'github:Vendicated/vencord/a0308e0' (2024-11-20)
  → 'github:Vendicated/vencord/a9d44e3' (2024-11-25)

• Updated input 'gpu-screen-recorder-src':
    'git+https://repo.dec05eba.com/gpu-screen-recorder?ref=refs/heads/master&rev=8644c72' (2024-11-22)
  → 'git+https://repo.dec05eba.com/gpu-screen-recorder?ref=refs/heads/master&rev=d472d8d' (2024-11-24)

• Updated input 'home-manager':
    'github:nix-community/home-manager/8cf9cb2' (2024-11-22)
  → 'github:nix-community/home-manager/a995363' (2024-11-24)

• Updated input 'hyprland':
    'github:hyprwm/Hyprland/745a82c' (2024-11-22)
  → 'github:hyprwm/Hyprland/2687788' (2024-11-25)

• Updated input 'jovian':
    'github:Jovian-Experiments/Jovian-NixOS/65dc043' (2024-11-19)
  → 'github:Jovian-Experiments/Jovian-NixOS/98a61cf' (2024-11-24)

• Updated input 'material-symbols-src':
    'github:beecho01/material-symbols/1296eb0' (2024-11-17)
  → 'github:beecho01/material-symbols/2210b1f' (2024-11-23)

• Updated input 'nix-fast-build':
    'github:Mic92/nix-fast-build/8e7c9d7' (2024-10-30)
  → 'github:Mic92/nix-fast-build/f51f479' (2024-11-25)

• Updated input 'nix-gaming':
    'github:fufexan/nix-gaming/969f571' (2024-11-23)
  → 'github:fufexan/nix-gaming/18b8f07' (2024-11-25)

• Updated input 'nix-gaming/umu':
    'git+https://github.com/Open-Wine-Components/umu-launcher/?dir=packaging/nix&ref=refs/heads/main&rev=66a1088&submodules=1' (2024-11-14)
  → 'git+https://github.com/Open-Wine-Components/umu-launcher/?dir=packaging/nix&ref=refs/heads/main&rev=f6a6af3&submodules=1' (2024-11-23)

• Updated input 'nix-index-db':
    'github:Mic92/nix-index-database/bdba246' (2024-11-17)
  → 'github:Mic92/nix-index-database/f4a5ca5' (2024-11-25)

• Updated input 'nixd':
    'github:nix-community/nixd/6d80199' (2024-11-21)
  → 'github:nix-community/nixd/5507bb1' (2024-11-23)

• Updated input 'nixpkgs-wayland':
    'github:nix-community/nixpkgs-wayland/df3091f' (2024-11-22)
  → 'github:nix-community/nixpkgs-wayland/0c3d6b6' (2024-11-25)

• Updated input 'pcsd':
    'github:matt1432/nixos-pcsd/97aeff2' (2024-11-23)
  → 'github:matt1432/nixos-pcsd/20df51f' (2024-11-24)

• Updated input 'piper-src':
    'github:libratbag/piper/ebb4b1b' (2024-10-28)
  → 'github:libratbag/piper/3e5a6b9' (2024-11-24)

• Updated input 'tuya-local-src':
    'github:make-all/tuya-local/58587bc' (2024-11-22)
  → 'github:make-all/tuya-local/c13cf16' (2024-11-25)

• Updated input 'wakewords-src':
    'github:fwartner/home-assistant-wakewords-collection/86f3c2b' (2024-10-25)
  → 'github:fwartner/home-assistant-wakewords-collection/629a005' (2024-11-23)

Docker Images:
• rssbridge/rss-bridge latest:
   sha256:9f4ad6df544ff568838315aa12743a465f3ac10a9a63a41b2e8c1aaaf5360820
 → sha256:72218407217f2495a5f7f39b0adc1fdefba05c2fdecae6d4df1192389a250426

Firefox Addons:
ublock-origin: 1.61.0 -> 1.61.2
2024-11-25 14:42:29 -05:00

42 lines
810 B
Nix

{
concatTextFile,
custom-sidebar-src,
nodejs,
pnpm,
stdenv,
...
}: let
package = builtins.fromJSON (builtins.readFile "${custom-sidebar-src}/package.json");
in
stdenv.mkDerivation (finalAttrs: {
pname = "custom-sidebar";
inherit (package) version;
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;
hash = "sha256-C8kVVlsqirt8U7FPFbu0CW4RkJ/Gm9aTLm6Fd1MXeYk=";
};
passthru.update = concatTextFile {
name = "update";
files = [./update.sh];
executable = true;
destination = "/bin/update";
};
})