google-cursor: init at 2.0.0

+53
+51
pkgs/data/icons/google-cursor/default.nix
··· 1 + { stdenvNoCC 2 + , fetchzip 3 + , lib 4 + }: 5 + 6 + let 7 + colors = [ 8 + { 9 + name = "Black"; 10 + hash = "sha256-pb2U9j1m8uJaILxUxKqp8q9FGuwzZsQvhPP3bfGZL5I="; 11 + } 12 + { 13 + name = "Blue"; 14 + hash = "sha256-PmJeGShQLIC7ceRwQvSbphqz19fKptksZeHKi9QSL5Y="; 15 + } 16 + { 17 + name = "Red"; 18 + hash = "sha256-/X81jLoWaw4UMoDRf1f6oaKKRWexQc4PAACy3doV4Kc="; 19 + } 20 + { 21 + name = "White"; 22 + hash = "sha256-eT/Zy6O6TBD6G8q/dg+9rNYDHutLLxEY1lvLDP90b+g="; 23 + } 24 + ]; 25 + in 26 + stdenvNoCC.mkDerivation (finalAttrs: { 27 + pname = "google-cursor"; 28 + version = "2.0.0"; 29 + 30 + sourceRoot = "."; 31 + srcs = map 32 + (color: (fetchzip { 33 + url = "https://github.com/ful1e5/Google_Cursor/releases/download/v${finalAttrs.version}/GoogleDot-${color.name}.tar.gz"; 34 + name = "GoogleDot-${color.name}"; 35 + hash = color.hash; 36 + })) 37 + colors; 38 + 39 + postInstall = '' 40 + mkdir -p $out/share/icons 41 + cp -r GoogleDot-* $out/share/icons 42 + ''; 43 + 44 + meta = with lib; { 45 + description = "An opensource cursor theme inspired by Google"; 46 + homepage = "https://github.com/ful1e5/Google_Cursor"; 47 + license = licenses.gpl3Plus; 48 + platforms = platforms.all; 49 + maintainers = with maintainers; [ quadradical ]; 50 + }; 51 + })
+2
pkgs/top-level/all-packages.nix
··· 5394 5394 5395 5395 go-thumbnailer = callPackage ../applications/misc/go-thumbnailer { }; 5396 5396 5397 + google-cursor = callPackage ../data/icons/google-cursor { }; 5398 + 5397 5399 geckodriver = callPackage ../development/tools/geckodriver { 5398 5400 inherit (darwin.apple_sdk.frameworks) Security; 5399 5401 };