2023-02-16 17:41:37 +00:00
|
|
|
{ lib, stdenvNoCC, fetchzip }:
|
|
|
|
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
2023-01-20 10:41:00 +00:00
|
|
|
pname = "capitaine-cursors-themed";
|
|
|
|
version = "5";
|
|
|
|
|
2023-02-16 17:41:37 +00:00
|
|
|
src = fetchzip {
|
|
|
|
url = "https://github.com/sainnhe/capitaine-cursors/releases/download/r${version}/Linux.zip";
|
|
|
|
stripRoot = false;
|
|
|
|
hash = "sha256-ipPpmZKU/xLA45fdOvxVbtFDCUsCYIvzeps/DjhFkNg=";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
|
2023-01-20 10:41:00 +00:00
|
|
|
mkdir -p $out/share/icons
|
|
|
|
cp -r ./ $out/share/icons
|
2023-02-16 17:41:37 +00:00
|
|
|
|
|
|
|
runHook postInstall
|
2023-01-20 10:41:00 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Fork of the capitaine cursor theme, with some additional variants (Gruvbox, Nord, Palenight) and support for HiDPI";
|
2023-01-20 10:41:00 +00:00
|
|
|
homepage = "https://github.com/sainnhe/capitaine-cursors";
|
|
|
|
license = licenses.lgpl3Only;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.math-42 ];
|
|
|
|
};
|
|
|
|
}
|