Added windows cursor theme
This commit is contained in:
parent
35ae6d25b2
commit
76c6e8d260
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
|
||||||
|
result
|
||||||
@ -13,6 +13,7 @@
|
|||||||
packages.${system} = {
|
packages.${system} = {
|
||||||
windows-xp-icons = pkgs.callPackage ./windows-xp-icons.nix { };
|
windows-xp-icons = pkgs.callPackage ./windows-xp-icons.nix { };
|
||||||
windows-xp-theme = pkgs.callPackage ./windows-xp-theme.nix { };
|
windows-xp-theme = pkgs.callPackage ./windows-xp-theme.nix { };
|
||||||
|
windows-xp-cursor = pkgs.callPackage ./windows-xp-cursor.nix { };
|
||||||
default = self.packages.${system}.windows-xp-theme;
|
default = self.packages.${system}.windows-xp-theme;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
33
windows-xp-cursor.nix
Normal file
33
windows-xp-cursor.nix
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
{ lib, stdenv, fetchFromGitHub, inkscape, xcursorgen }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "modernxp-cursor-theme";
|
||||||
|
version = "1.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "na0miluv";
|
||||||
|
repo = "modernXP-cursor-theme";
|
||||||
|
rev = "main";
|
||||||
|
sha256 = "sha256-1Pv+Ny1Gt7NM3cB038oQXb1cGIgg0VNxuO1IApTWo5U=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ inkscape xcursorgen ];
|
||||||
|
|
||||||
|
buildPhase = ''
|
||||||
|
bash build.sh
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/share/icons/ModernXP
|
||||||
|
cp -r dist/* $out/share/icons/ModernXP/
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Modern Windows XP cursor theme";
|
||||||
|
homepage = "https://github.com/na0miluv/modernXP-cursor-theme";
|
||||||
|
license = licenses.gpl3;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = [ maintainers.yourself ];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user