numix-cursor-theme: 20160110 -> 1.1 (#47016)

This commit is contained in:
José Romildo Malaquias 2018-09-21 13:30:12 -03:00 committed by xeji
parent e372ab4626
commit e2ed4f3d22

View file

@ -1,24 +1,27 @@
{ stdenv, fetchFromGitHub }:
{ stdenv, fetchFromGitHub, inkscape, xcursorgen }:
stdenv.mkDerivation rec {
version = "20160110";
version = "1.1";
package-name = "numix-cursor-theme";
name = "${package-name}-${version}";
src = fetchFromGitHub {
owner = "numixproject";
repo = package-name;
rev = "e92186d9df47c04d4e0a778eb6941ef58590b179";
sha256 = "1sr4pisgrn3632phsiny2fyr2ib6l51fnjdsanmh9ampagl4ly7g";
rev = "v${version}";
sha256 = "0p8h48wsy3z5dz9vdnp01fpn6q8ky0h74l5qgixlip557bsa1spi";
};
dontBuild = true;
nativeBuildInputs = [ inkscape xcursorgen ];
buildPhase = ''
patchShebangs .
HOME=$TMP ./build.sh
'';
installPhase = ''
install -dm 755 $out/share/icons
cp -dr --no-preserve='ownership' Numix{,-Light} $out/share/icons/
cp -dr --no-preserve='ownership' Numix-Cursor{,-Light} $out/share/icons/
'';
meta = with stdenv.lib; {