nixpkgs/pkgs/data/icons/numix-cursor-theme/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
800 B
Nix
Raw Normal View History

{ lib, stdenvNoCC, fetchFromGitHub, inkscape, xcursorgen }:
2017-04-26 00:58:43 +02:00
stdenvNoCC.mkDerivation rec {
2021-11-22 15:52:59 +01:00
pname = "numix-cursor-theme";
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;
rev = "v${version}";
sha256 = "1q3w5i0h3ly6i7s9pqjdrb14kp89i78s0havri7lhiqyxizjvcvh";
2017-04-26 00:58:43 +02:00
};
nativeBuildInputs = [ inkscape xcursorgen ];
buildPhase = ''
patchShebangs .
HOME=$TMP ./build.sh
'';
2017-04-26 00:58:43 +02:00
installPhase = ''
install -dm 755 $out/share/icons
cp -dr --no-preserve='ownership' Numix-Cursor{,-Light} $out/share/icons/
2017-04-26 00:58:43 +02:00
'';
meta = with lib; {
2017-04-26 00:58:43 +02:00
description = "Numix cursor theme";
homepage = "https://numixproject.github.io";
2017-04-26 00:58:43 +02:00
license = licenses.gpl3;
platforms = platforms.all;
maintainers = with maintainers; [ offline ];
};
}