about summary refs log tree commit diff
path: root/pkgs/by-name/po/posy-cursors/package.nix
blob: 1b607569198a404df6f43054d80097bc23f2ac40 (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
{ lib, stdenvNoCC, fetchFromGitHub }:

stdenvNoCC.mkDerivation rec {
  pname = "posy-cursors";
  version = "1.6";

  src = fetchFromGitHub {
    owner = "simtrami";
    repo = "posy-improved-cursor-linux";
    rev = "refs/tags/${version}";
    hash = "sha256-i0N/QB5uzqHapMCDl6h6PWPJ4GOAyB1ds9qlqmZacLY=";
  };

  installPhase = ''
    runHook preInstall
    mkdir -p $out/share/icons
    cp -r Posy_Cursor* $out/share/icons
    runHook postInstall
  '';

  meta = with lib; {
    description = "Posy's Improved Cursors for Linux";
    homepage = "https://github.com/simtrami/posy-improved-cursor-linux";
    platforms = platforms.unix;
    license = licenses.unfree;
    maintainers = with maintainers; [ mkez ];
  };
}