nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 42 lines 1.0 kB view raw
1{ lib, stdenvNoCC, fetchFromGitLab, python3, librsvg, xcursorgen }: 2 3stdenvNoCC.mkDerivation rec { 4 pname = "simp1e-cursors"; 5 version = "20221103.2"; 6 7 src = fetchFromGitLab { 8 owner = "cursors"; 9 repo = "simp1e"; 10 rev = version; 11 sha256 = "sha256-3DCF6TwxWwYK5pF2Ykr3OwF76H7J03vLNZch/XoZZZk="; 12 fetchSubmodules = true; 13 }; 14 15 nativeBuildInputs = [ 16 (python3.withPackages (ps: with ps; [ pillow ])) 17 librsvg 18 xcursorgen 19 ]; 20 21 buildPhase = '' 22 runHook preBuild 23 patchShebangs ./build.sh ./cursor-generator 24 HOME=$TMP ./build.sh 25 runHook postBuild 26 ''; 27 28 installPhase = '' 29 runHook preInstall 30 install -dm 755 $out/share/icons 31 cp -r built_themes/* $out/share/icons/ 32 runHook postInstall 33 ''; 34 35 meta = with lib; { 36 description = "An aesthetic cursor theme for Linux desktops"; 37 homepage = "https://gitlab.com/cursors/simp1e"; 38 license = licenses.gpl3; 39 platforms = platforms.linux; 40 maintainers = with maintainers; [ natto1784 ]; 41 }; 42}