nixos-configs/scopedPackages/lovelace-components/custom-sidebar/default.nix
matt1432 bc6b943b56
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' (2025-01-18) rev: f658990328f47530097ab0242a5575cbba92b9ea
      → 'github:elchininet/custom-sidebar' (2025-01-19) rev: f40e85e4b59b47900b47d9054acfbbce80b60550

    • Updated input 'home-manager':
        'github:nix-community/home-manager' (2025-01-18) rev: 97d7946b5e107dd03cc82f21165251d4e0159655
      → 'github:nix-community/home-manager' (2025-01-19) rev: f8ef4541bb8a54a8b52f19b52912119e689529b3

    • Updated input 'hyprgrass':
        'github:horriblename/hyprgrass' (2025-01-18) rev: ea3a6079a7e34235ee3df4b600ee11e48b0e7f4d
      → 'github:horriblename/hyprgrass' (2025-01-19) rev: 563725ad0fd86349616b5f107230a13c12194d18

    • Updated input 'hyprland':
        'github:hyprwm/Hyprland' (2025-01-18) rev: f56153a9c1b0a00fac0932a95e0cfa5a4f6c681f
      → 'github:hyprwm/Hyprland' (2025-01-19) rev: 407453166ce2a52433c7b0b4ee92a41e47ef8f6d

    • Updated input 'hyprland/hyprland-protocols':
        'github:hyprwm/hyprland-protocols' (2025-01-01) rev: e3b6af97ddcfaafbda8e2828c719a5af84f662cb
      → 'github:hyprwm/hyprland-protocols' (2025-01-17) rev: 455c055883d9639d4fcbfcedb4c6d12ce313791e

    • Updated input 'jovian':
        'github:Jovian-Experiments/Jovian-NixOS' (2025-01-17) rev: 27a0ddac1a14e10ba98530f59db728951495f2ce
      → 'github:Jovian-Experiments/Jovian-NixOS' (2025-01-19) rev: e26d456e9d9a33f66e1985ab4c06e1940352ef40

    • Updated input 'nixpkgs':
        'github:NixOS/nixpkgs' (2025-01-18) rev: b681ff2c9c9163f24ca705d948bb0cee1b3e09f9
      → 'github:NixOS/nixpkgs' (2025-01-19) rev: 50165c4f7eb48ce82bd063e1fb8047a0f515f8ce

    • Updated input 'nixpkgs-wayland':
        'github:nix-community/nixpkgs-wayland' (2025-01-15) rev: 8f3a889a1bb60d58f42fc671d8a0b73496ede51c
      → 'github:nix-community/nixpkgs-wayland' (2025-01-19) rev: 47260b4b1459fee2a27a630adf5be5caf0495ac2

    • Updated input 'tuya-local-src':
        'github:make-all/tuya-local' (2025-01-19) rev: 15ac106e35d075deb7688b9687d637db9fcb1203
      → 'github:make-all/tuya-local' (2025-01-19) rev: 4d4cd82b3e6dcb32201b0441f4e043605d76b39b

Docker Images:
    • 21hsmw/flaresolverr nodriver:
       sha256:21ade52a9dc85c1bc1592ccc994e41f3365a4603b3ca4a11328583aa6e99ace1
     → sha256:3d99be35f845750adba3b9aa23844b7f585eeac6b1b45157bf14aaa8f7d16e20

    • ghcr.io/linuxserver/radarr latest:
       sha256:dce7e81d08da67cf44437c7213d19faeef1323aa839712fbb53d1253ef94f93f
     → sha256:7a25facfb3e08c9f57cee1ffd995141de80587be1b038bba5fa8611c2355225a
2025-01-19 18:18:43 -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-dRj7OxvYNRrqMUx5VXN7sgYcxGLTJr5dMeeZbeCm1do=";
};
passthru.update = concatTextFile {
name = "update";
files = [./update.sh];
executable = true;
destination = "/bin/update";
};
})