mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
0c657bb168
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>
34 lines
780 B
Nix
34 lines
780 B
Nix
{ 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 ];
|
|
};
|
|
})
|