nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 39 lines 1.1 kB view raw
1{ 2 lib, 3 stdenvNoCC, 4 fetchurl, 5}: 6 7stdenvNoCC.mkDerivation (finalAttrs: { 8 pname = "rose-pine-cursor"; 9 version = "1.1.0"; 10 11 srcs = [ 12 (fetchurl { 13 url = "https://github.com/rose-pine/cursor/releases/download/v${finalAttrs.version}/BreezeX-RosePine-Linux.tar.xz"; 14 hash = "sha256-szDVnOjg5GAgn2OKl853K3jZ5rVsz2PIpQ6dlBKJoa8="; 15 }) 16 (fetchurl { 17 url = "https://github.com/rose-pine/cursor/releases/download/v${finalAttrs.version}/BreezeX-RosePineDawn-Linux.tar.xz"; 18 hash = "sha256-hanfwx9ooT1TbmcgCr63KVYwC1OIzTwjmxzi4Zjcrdg="; 19 }) 20 ]; 21 22 sourceRoot = "."; 23 24 installPhase = '' 25 runHook preInstall 26 mkdir -p $out/share/icons 27 cp -R BreezeX-RosePine-Linux $out/share/icons/ 28 cp -R BreezeX-RosePineDawn-Linux $out/share/icons/ 29 runHook postInstall 30 ''; 31 32 meta = with lib; { 33 description = "Soho vibes for Cursors"; 34 downloadPage = "https://github.com/rose-pine/cursor/releases"; 35 homepage = "https://rosepinetheme.com/"; 36 license = licenses.gpl3; 37 maintainers = with maintainers; [ aikooo7 ]; 38 }; 39})