31 lines
915 B
Nix
31 lines
915 B
Nix
{ lib, stdenv, ... }:
|
|
let
|
|
pname = "plymouth-nixos-blur";
|
|
version = "0.1.0";
|
|
in
|
|
stdenv.mkDerivation {
|
|
inherit pname version;
|
|
|
|
src = ./.;
|
|
|
|
phases = [ "installPhase" ];
|
|
|
|
installPhase = ''
|
|
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
|
|
'';
|
|
# substituteInPlace $out/share/plymouth/themes/nixos-blur/nixos-blur.plymouth --replace '@OUT@' $out
|
|
|
|
meta = with lib; {
|
|
description = "Plymouth theme nixos-blur";
|
|
homepage = "https://git.gurkan.in/gurkan/nixos-blur-plymouth";
|
|
license = licenses.gpl2;
|
|
platforms = platforms.linux;
|
|
maintainers = [{
|
|
email = "erwin@datarift.nl";
|
|
github = "eboskma";
|
|
name = "Erwin Boskma";
|
|
}];
|
|
};
|
|
}
|