added breezex cursor package

This commit is contained in:
2024-11-11 17:19:15 -05:00
parent b88e27dcd7
commit 0d2d48af5c
3 changed files with 41 additions and 2 deletions

View File

@@ -0,0 +1,37 @@
{ pkgs ? import <nixpkgs> { } }:
pkgs.stdenvNoCC.mkDerivation rec {
pname = "breezex-cursor";
version = "2.0.1";
src = pkgs.fetchFromGitHub {
owner = "ful1e5";
repo = "BreezeX_Cursor";
rev = "refs/tags/v${version}";
hash = "sha256-P9LgQb3msq6YydK5RIk5yykUd9SL2GQbC4aH4F8LUF0=";
};
nativeBuildInputs = [
pkgs.clickgen
];
bitmaps = pkgs.fetchzip {
url = "https://github.com/ful1e5/BreezeX_Cursor/releases/download/v2.0.1/bitmaps.zip";
hash = "sha256-JncEE+G4tPgcLgabe/dD7DOVMLOWCI7e+3VdmXuZSo8=";
};
buildPhase = ''
runHook preBuild
ctgen configs/x.build.toml -p x11 -d "$bitmaps/BreezeX-Dark" -n "BreezeX-Dark" -c "Extended KDE Dark (v2.0.1)"
ctgen configs/x.build.toml -p x11 -d "$bitmaps/BreezeX-Black" -n "BreezeX-Black" -c "Extended KDE Black (v2.0.1)"
ctgen configs/x.build.toml -p x11 -d "$bitmaps/BreezeX-Light" -n "BreezeX-Light" -c "Extended KDE Light (v2.0.1)"
runHook postBuild
'';
installPhase = ''
runHook preInstall
install -dm 0755 $out/share/icons
cp -rf themes/* $out/share/icons/
runHook postInstall
'';
}