2018-09-21 16:30:12 +00:00
|
|
|
{ stdenv, fetchFromGitHub, inkscape, xcursorgen }:
|
2017-04-25 22:58:43 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-09-21 16:30:12 +00:00
|
|
|
version = "1.1";
|
2017-04-25 22:58:43 +00:00
|
|
|
package-name = "numix-cursor-theme";
|
|
|
|
name = "${package-name}-${version}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "numixproject";
|
|
|
|
repo = package-name;
|
2018-09-21 16:30:12 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0p8h48wsy3z5dz9vdnp01fpn6q8ky0h74l5qgixlip557bsa1spi";
|
2017-04-25 22:58:43 +00:00
|
|
|
};
|
|
|
|
|
2018-09-21 16:30:12 +00:00
|
|
|
nativeBuildInputs = [ inkscape xcursorgen ];
|
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
patchShebangs .
|
|
|
|
HOME=$TMP ./build.sh
|
|
|
|
'';
|
2017-04-25 22:58:43 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -dm 755 $out/share/icons
|
2018-09-21 16:30:12 +00:00
|
|
|
cp -dr --no-preserve='ownership' Numix-Cursor{,-Light} $out/share/icons/
|
2017-04-25 22:58:43 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Numix cursor theme";
|
2018-09-01 23:04:26 +00:00
|
|
|
homepage = https://numixproject.github.io;
|
2017-04-25 22:58:43 +00:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ offline ];
|
|
|
|
};
|
|
|
|
}
|