switch to upstream cursors
This commit is contained in:
parent
98857b43a3
commit
bac8f8c3a1
|
@ -131,6 +131,7 @@
|
|||
vault
|
||||
(vault-push-approle-envs self { })
|
||||
(vault-push-approles self { })
|
||||
rnix-lsp
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
@ -44,7 +44,7 @@ in
|
|||
home.pointerCursor = {
|
||||
name = "Catppuccin-Frappe-Pink-Cursors";
|
||||
size = 32;
|
||||
package = pkgs.catppuccin.cursors;
|
||||
package = pkgs.catppuccin-cursors.frappePink;
|
||||
};
|
||||
|
||||
gtk = {
|
||||
|
|
|
@ -1,39 +0,0 @@
|
|||
{ stdenvNoCC, lib, fetchFromGitHub, xcursorgen, inkscape, makeFontsConf }:
|
||||
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "catppuccin-cursors";
|
||||
version = "0.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "catppuccin";
|
||||
repo = "cursors";
|
||||
rev = "3d3023606939471c45cff7b643bffc5d5d4ff29c";
|
||||
sha256 = "sha256-0wb84q1VtD1myIRxrfQMn9n6w1gFzMA1rHkPqXuXLP0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ xcursorgen inkscape ];
|
||||
|
||||
FONTCONFIG_FILE = makeFontsConf { fontDirectories = [ ]; };
|
||||
|
||||
buildPhase = ''
|
||||
mv src src_orig
|
||||
mkdir src
|
||||
mv src_orig/Catppuccin-Frappe-Pink-Cursors ./src/
|
||||
mv src_orig/cursorList ./src/
|
||||
mv src_orig/config ./src/
|
||||
mv src_orig/_svgo.yml ./src/
|
||||
HOME="$NIX_BUILD_ROOT" PREFIX="/" DESTDIR=$out make build
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
HOME="$NIX_BUILD_ROOT" PREFIX="/" DESTDIR=$out make install
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Soothing pastel mouse cursors";
|
||||
homepage = "https://github.com/catppuccin/cursors";
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ nullx76 ];
|
||||
};
|
||||
}
|
|
@ -1,7 +1,5 @@
|
|||
# nix-build -E 'with import <nixpkgs> {}; callPackage ./platformio.nix {}'
|
||||
final: prev: {
|
||||
catppuccin.cursors = prev.callPackage ./catppuccin/cursors { };
|
||||
|
||||
v = {
|
||||
glitch-soc = prev.callPackage ./glitch-soc { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue