mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-10 16:45:51 +03:00
Merge pull request #249423 from Henry-Hiles/init-google-cursor
google-cursor: init at 2.0.0
This commit is contained in:
commit
bfa55aa7f9
@ -13950,6 +13950,12 @@
|
||||
githubId = 115877;
|
||||
name = "Kenny Shen";
|
||||
};
|
||||
quadradical = {
|
||||
email = "nixos@henryhiles.com";
|
||||
github = "Henry-Hiles";
|
||||
githubId = 71790868;
|
||||
name = "Henry Hiles";
|
||||
};
|
||||
quag = {
|
||||
email = "quaggy@gmail.com";
|
||||
github = "quag";
|
||||
|
51
pkgs/data/icons/google-cursor/default.nix
Normal file
51
pkgs/data/icons/google-cursor/default.nix
Normal file
@ -0,0 +1,51 @@
|
||||
{ stdenvNoCC
|
||||
, fetchzip
|
||||
, lib
|
||||
}:
|
||||
|
||||
let
|
||||
colors = [
|
||||
{
|
||||
name = "Black";
|
||||
hash = "sha256-pb2U9j1m8uJaILxUxKqp8q9FGuwzZsQvhPP3bfGZL5I=";
|
||||
}
|
||||
{
|
||||
name = "Blue";
|
||||
hash = "sha256-PmJeGShQLIC7ceRwQvSbphqz19fKptksZeHKi9QSL5Y=";
|
||||
}
|
||||
{
|
||||
name = "Red";
|
||||
hash = "sha256-/X81jLoWaw4UMoDRf1f6oaKKRWexQc4PAACy3doV4Kc=";
|
||||
}
|
||||
{
|
||||
name = "White";
|
||||
hash = "sha256-eT/Zy6O6TBD6G8q/dg+9rNYDHutLLxEY1lvLDP90b+g=";
|
||||
}
|
||||
];
|
||||
in
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "google-cursor";
|
||||
version = "2.0.0";
|
||||
|
||||
sourceRoot = ".";
|
||||
srcs = map
|
||||
(color: (fetchzip {
|
||||
url = "https://github.com/ful1e5/Google_Cursor/releases/download/v${finalAttrs.version}/GoogleDot-${color.name}.tar.gz";
|
||||
name = "GoogleDot-${color.name}";
|
||||
hash = color.hash;
|
||||
}))
|
||||
colors;
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/share/icons
|
||||
cp -r GoogleDot-* $out/share/icons
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "An opensource cursor theme inspired by Google";
|
||||
homepage = "https://github.com/ful1e5/Google_Cursor";
|
||||
license = licenses.gpl3Plus;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ quadradical ];
|
||||
};
|
||||
})
|
@ -5400,6 +5400,8 @@ with pkgs;
|
||||
|
||||
go-thumbnailer = callPackage ../applications/misc/go-thumbnailer { };
|
||||
|
||||
google-cursor = callPackage ../data/icons/google-cursor { };
|
||||
|
||||
geckodriver = callPackage ../development/tools/geckodriver {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user