{ungoogled-,}chromium,chromedriver: 130.0.6723.58 -> 130.0.6723.69 (#351519)
[NixPkgs.git] / pkgs / data / themes / nixos-bgrt-plymouth / default.nix
blob3a0246247e1f5a5c3186235fcf818a3b118d1134
1 { lib
2 , stdenv
3 , fetchFromGitHub
4 , unstableGitUpdater
5 }:
7 stdenv.mkDerivation {
8   name = "nixos-bgrt-plymouth";
9   version = "0-unstable-2023-03-10";
11   src = fetchFromGitHub {
12     repo = "plymouth-theme-nixos-bgrt";
13     owner = "helsinki-systems";
14     rev = "0771e04f13b6b908d815b506472afb1c9a2c81ae";
15     hash = "sha256-aF4Ro5z4G6LS40ENwFDH8CgV7ldfhzqekuSph/DMQoo=";
16   };
18   dontConfigure = true;
19   dontBuild = true;
21   installPhase = ''
22     runHook preInstall
24     mkdir -p $out/share/plymouth/themes/nixos-bgrt
25     cp -r $src/{*.plymouth,images} $out/share/plymouth/themes/nixos-bgrt/
26     substituteInPlace $out/share/plymouth/themes/nixos-bgrt/*.plymouth --replace '@IMAGES@' "$out/share/plymouth/themes/nixos-bgrt/images"
28     runHook postInstall
29   '';
31   passthru.updateScript = unstableGitUpdater { };
33   meta = with lib; {
34     description = "BGRT theme with a spinning NixOS logo";
35     homepage = "https://github.com/helsinki-systems/plymouth-theme-nixos-bgrt";
36     license = licenses.mit;
37     maintainers = [ ];
38     platforms = platforms.all;
39   };