2024-06-15 21:59:32 +02:00
|
|
|
{ lib, stdenv, fetchzip }:
|
|
|
|
stdenv.mkDerivation rec {
|
2024-06-13 15:38:40 +02:00
|
|
|
pname = "win7-cursors";
|
|
|
|
version = "1";
|
|
|
|
|
2024-06-15 21:59:32 +02:00
|
|
|
src = fetchzip {
|
|
|
|
url = "https://gitgud.io/wackyideas/aerothemeplasma/-/raw/master/Icons%20and%20cursors/aero-drop.tar.gz?ref_type=heads&inline=false";
|
|
|
|
hash = "sha256-4IY6ZE/nSLJ3HGfzEp2rxBah8Z9lUNQdGncRTjv2Jtg=";
|
2024-06-13 15:38:40 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
2024-06-15 21:59:32 +02:00
|
|
|
thedir="$out/share/icons/aero-drop"
|
|
|
|
mkdir -p $thedir/cursors
|
|
|
|
for f in $(find $src \( -type f -or -type l \) -and -not -name "*move" -and -not -name "*fleur" -and -not -name "*.theme"); do
|
|
|
|
cp $f $thedir/cursors
|
|
|
|
done
|
|
|
|
cp $src/index.theme $thedir/index.theme
|
|
|
|
cp $src/cursors/fleur_actual $thedir/cursors/move
|
|
|
|
cp $src/cursors/fleur_actual $thedir/cursors/fleur
|
|
|
|
cp $src/cursors/crosshair $thedir/cursors/kill
|
|
|
|
cp $src/cursors/crosshair $thedir/cursors/pirate
|
2024-06-13 15:38:40 +02:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Windows 7 Cursors";
|
2024-06-15 21:59:32 +02:00
|
|
|
homepage = "https://gitgud.io/wackyideas/aerothemeplasma";
|
|
|
|
license = licenses.agpl3Plus;
|
2024-06-13 15:38:40 +02:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|