2022-07-02 02:04:21 +02:00
|
|
|
{ lib, stdenvNoCC, fetchFromGitHub, inkscape, xcursorgen }:
|
2017-04-26 00:58:43 +02:00
|
|
|
|
2022-07-02 02:04:21 +02:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
2021-11-22 15:52:59 +01:00
|
|
|
pname = "numix-cursor-theme";
|
2021-11-22 06:40:22 +01:00
|
|
|
version = "1.2";
|
2017-04-26 00:58:43 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "numixproject";
|
2021-11-22 15:52:59 +01:00
|
|
|
repo = pname;
|
2018-09-21 18:30:12 +02:00
|
|
|
rev = "v${version}";
|
2021-11-22 06:40:22 +01:00
|
|
|
sha256 = "1q3w5i0h3ly6i7s9pqjdrb14kp89i78s0havri7lhiqyxizjvcvh";
|
2017-04-26 00:58:43 +02:00
|
|
|
};
|
|
|
|
|
2020-09-10 20:38:25 +02:00
|
|
|
nativeBuildInputs = [ inkscape xcursorgen ];
|
2018-09-21 18:30:12 +02:00
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
patchShebangs .
|
|
|
|
HOME=$TMP ./build.sh
|
|
|
|
'';
|
2017-04-26 00:58:43 +02:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -dm 755 $out/share/icons
|
2018-09-21 18:30:12 +02:00
|
|
|
cp -dr --no-preserve='ownership' Numix-Cursor{,-Light} $out/share/icons/
|
2017-04-26 00:58:43 +02:00
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2017-04-26 00:58:43 +02:00
|
|
|
description = "Numix cursor theme";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://numixproject.github.io";
|
2017-04-26 00:58:43 +02:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ offline ];
|
|
|
|
};
|
|
|
|
}
|