ce641f4048
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
33 lines
792 B
Nix
33 lines
792 B
Nix
{ lib, stdenv, fetchFromGitHub, inkscape, xcursorgen }:
|
|
|
|
stdenv.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 ];
|
|
};
|
|
}
|