summary refs log tree commit diff
path: root/pkgs/by-name/bo/borealis-cursors/package.nix
blob: e88f5fb72269f38222910208a324ea7ec9a8c5e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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 ];
  };
})