nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 33 lines 800 B view raw
1{ lib, stdenvNoCC, fetchFromGitHub, inkscape, xcursorgen }: 2 3stdenvNoCC.mkDerivation rec { 4 pname = "numix-cursor-theme"; 5 version = "1.2"; 6 7 src = fetchFromGitHub { 8 owner = "numixproject"; 9 repo = pname; 10 rev = "v${version}"; 11 sha256 = "1q3w5i0h3ly6i7s9pqjdrb14kp89i78s0havri7lhiqyxizjvcvh"; 12 }; 13 14 nativeBuildInputs = [ inkscape xcursorgen ]; 15 16 buildPhase = '' 17 patchShebangs . 18 HOME=$TMP ./build.sh 19 ''; 20 21 installPhase = '' 22 install -dm 755 $out/share/icons 23 cp -dr --no-preserve='ownership' Numix-Cursor{,-Light} $out/share/icons/ 24 ''; 25 26 meta = with lib; { 27 description = "Numix cursor theme"; 28 homepage = "https://numixproject.github.io"; 29 license = licenses.gpl3; 30 platforms = platforms.all; 31 maintainers = with maintainers; [ offline ]; 32 }; 33}