2023-01-13 21:20:11 +01:00
|
|
|
{ lib, stdenv, ... }:
|
|
|
|
let
|
|
|
|
pname = "plymouth-nixos-blur";
|
|
|
|
version = "0.1.0";
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
inherit pname version;
|
|
|
|
|
|
|
|
src = ./.;
|
|
|
|
|
|
|
|
phases = [ "installPhase" ];
|
|
|
|
|
|
|
|
installPhase = ''
|
2023-01-17 13:45:37 +01:00
|
|
|
install -Dm 0644 -t $out/share/plymouth/themes/nixos-blur/images/ $src/*.png
|
|
|
|
install -Dm 0644 $src/nixos-blur.script $out/share/plymouth/themes/nixos-blur/nixos-blur.script
|
|
|
|
install -Dm 0644 $src/nixos-blur.plymouth $out/share/plymouth/themes/nixos-blur/nixos-blur.plymouth
|
2023-01-13 21:20:11 +01:00
|
|
|
'';
|
2023-01-17 13:45:37 +01:00
|
|
|
# substituteInPlace $out/share/plymouth/themes/nixos-blur/nixos-blur.plymouth --replace '@OUT@' $out
|
2023-01-13 21:20:11 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Plymouth theme nixos-blur";
|
|
|
|
homepage = "https://git.gurkan.in/gurkan/nixos-blur-plymouth";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
2024-02-05 11:46:52 +01:00
|
|
|
maintainers = [
|
|
|
|
{
|
|
|
|
email = "erwin@datarift.nl";
|
|
|
|
github = "eboskma";
|
|
|
|
name = "Erwin Boskma";
|
|
|
|
}
|
|
|
|
];
|
2023-01-13 21:20:11 +01:00
|
|
|
};
|
|
|
|
}
|