{ lib, stdenv, fetchzip, }: stdenv.mkDerivation rec { pname = "win7-cursors"; version = "1"; src = fetchzip { # todo: find out how to extract local tar file url = "https://gitgud.io/wackyideas/aerothemeplasma/-/raw/master/misc/cursors/aero-drop.tar.gz?ref_type=heads&inline=false"; hash = "sha256-4IY6ZE/nSLJ3HGfzEp2rxBah8Z9lUNQdGncRTjv2Jtg="; }; installPhase = '' 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 ''; meta = with lib; { description = "Windows 7 Cursors"; homepage = "https://gitgud.io/wackyideas/aerothemeplasma"; license = licenses.agpl3Plus; platforms = platforms.linux; }; }