nix/pkgs/win7-cursors.nix
2024-06-15 21:59:32 +02:00

31 lines
1 KiB
Nix

{ lib, stdenv, fetchzip }:
stdenv.mkDerivation rec {
pname = "win7-cursors";
version = "1";
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=";
};
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;
};
}