Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

57 lines
1.1 KiB
Nix

{
lib,
fetchFromGitHub,
stdenvNoCC,
cairosvg,
inkscape,
xcursorgen,
}:
stdenvNoCC.mkDerivation {
pname = "vimix-cursors";
version = "2020-02-24-unstable-2021-09-18";
src = fetchFromGitHub {
owner = "vinceliuice";
repo = "vimix-cursors";
rev = "9bc292f40904e0a33780eda5c5d92eb9a1154e9c";
hash = "sha256-zW7nJjmB3e+tjEwgiCrdEe5yzJuGBNdefDdyWvgYIUU=";
};
nativeBuildInputs = [
cairosvg
inkscape
xcursorgen
];
postPatch = ''
patchShebangs .
'';
buildPhase = ''
runHook preBuild
HOME="$NIX_BUILD_ROOT" ./build.sh
runHook postBuild
'';
installPhase = ''
runHook preInstall
install -dm 755 $out/share/icons
for color in "" "-white"; do
cp -pr "dist$color/" "$out/share/icons/Vimix$color-cursors"
done
runHook postInstall
'';
meta = with lib; {
description = "X cursor theme inspired by Materia design";
homepage = "https://github.com/vinceliuice/Vimix-cursors";
license = licenses.gpl3Only;
maintainers = with maintainers; [ ambroisie ];
platforms = platforms.linux;
};
}