02cf88bb76
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
33 lines
800 B
Nix
33 lines
800 B
Nix
{ lib, stdenvNoCC, fetchFromGitHub, inkscape, xcursorgen }:
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
pname = "numix-cursor-theme";
|
|
version = "1.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "numixproject";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "1q3w5i0h3ly6i7s9pqjdrb14kp89i78s0havri7lhiqyxizjvcvh";
|
|
};
|
|
|
|
nativeBuildInputs = [ inkscape xcursorgen ];
|
|
|
|
buildPhase = ''
|
|
patchShebangs .
|
|
HOME=$TMP ./build.sh
|
|
'';
|
|
|
|
installPhase = ''
|
|
install -dm 755 $out/share/icons
|
|
cp -dr --no-preserve='ownership' Numix-Cursor{,-Light} $out/share/icons/
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Numix cursor theme";
|
|
homepage = "https://numixproject.github.io";
|
|
license = licenses.gpl3;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ offline ];
|
|
};
|
|
}
|