nix/pkgs/winvista-cursors.nix

27 lines
619 B
Nix
Raw Normal View History

2024-06-13 15:38:40 +02:00
{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation {
pname = "winvista-cursors";
version = "1";
src = fetchFromGitHub {
owner = "krizej";
repo = "winvista-cursors";
rev = "0ccde84ab0c6ec68470f59d8ec0f59045952381a";
hash = "sha256-NeMTP7KHzCXh/PAk82P3tcf6XI4SOtmtlH+SCN9qsco=";
};
installPhase = ''
thedir="$out/share/icons/winvista-cursors"
install -d $thedir
cp -r * $thedir
'';
meta = with lib; {
description = "Windows Vista Cursors";
homepage = "https://www.gnome-look.org/p/2061622";
license = licenses.gpl2Only;
platforms = platforms.linux;
};
}