borealis-cursors: init at 2.0

borealis-cursors: move to name-based package directories

borealis-cursors: change sha256 to hash

Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>

borealis-cursors: update description

Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
This commit is contained in:
Nicolò Bertazzo 2023-09-23 03:31:14 +02:00 committed by argrat
parent 3b441a2399
commit 0c657bb168

View File

@ -0,0 +1,33 @@
{ lib
, stdenvNoCC
, fetchFromGitHub
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "borealis-cursors";
version = "2.0";
src = fetchFromGitHub {
owner = "alvatip";
repo = "Borealis-cursors";
rev = finalAttrs.version;
hash = "sha256-1qgyU0Npbx/AgqGbmF/BWtlVC0KsKtgC48SL/HtkDrk=";
};
dontBuild = true;
installPhase = ''
runHook preInstall
mkdir -p $out/share/icons
cp -a Borealis-cursors $out/share/icons
runHook postInstall
'';
meta = with lib; {
description = "Cursor theme using a custom color palette inspired by boreal colors";
homepage = "https://www.gnome-look.org/s/Gnome/p/1717914";
license = licenses.gpl3Only;
platforms = platforms.linux;
maintainers = with lib.maintainers; [ argrat ];
};
})