nix/pkgs/win7-cursors.nix
2024-06-13 15:38:40 +02:00

26 lines
627 B
Nix

{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation {
pname = "win7-cursors";
version = "1";
src = fetchFromGitHub {
owner = "lLexian";
repo = "Windows-7-Aero-Cursors_Linux";
rev = "f14c659082d38be7cbde2101ea5ab71987ead64e";
hash = "sha256-aG+iHqwTZxgWLg0qkJtTIW+byxUszHR9HN3TDnR1i7Y=";
};
installPhase = ''
thedir="$out/share/icons/"
install -d $thedir
cp -r * $thedir
'';
meta = with lib; {
description = "Windows 7 Cursors";
homepage = "https://github.com/lLexian/Windows-7-Aero-Cursors_Linux";
license = licenses.gpl2Only;
platforms = platforms.linux;
};
}