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