3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/data/icons/numix-cursor-theme/default.nix
2021-11-22 08:55:46 -06:00

34 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 ];
};
}