tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
la-capitaine-icon-theme: init at 0.6.2
José Romildo
4 years ago
6d4e3069
a048cf80
+57
2 changed files
expand all
collapse all
unified
split
pkgs
data
icons
la-capitaine-icon-theme
default.nix
top-level
all-packages.nix
+52
pkgs/data/icons/la-capitaine-icon-theme/default.nix
···
1
1
+
{ lib
2
2
+
, stdenv
3
3
+
, fetchFromGitHub
4
4
+
, breeze-icons
5
5
+
, elementary-icon-theme
6
6
+
, gnome-icon-theme
7
7
+
, hicolor-icon-theme
8
8
+
}:
9
9
+
10
10
+
stdenv.mkDerivation rec {
11
11
+
pname = "la-capitaine-icon-theme";
12
12
+
version = "0.6.2";
13
13
+
14
14
+
src = fetchFromGitHub {
15
15
+
owner = "keeferrourke";
16
16
+
repo = pname;
17
17
+
rev = "v${version}";
18
18
+
sha256 = "0id2dddx6rl71472l47vafx968wnklmq6b980br68w82kcvqczzs";
19
19
+
};
20
20
+
21
21
+
propagatedBuildInputs = [
22
22
+
breeze-icons
23
23
+
elementary-icon-theme
24
24
+
gnome-icon-theme
25
25
+
hicolor-icon-theme
26
26
+
];
27
27
+
28
28
+
dontDropIconThemeCache = true;
29
29
+
30
30
+
postPatch = ''
31
31
+
patchShebangs configure
32
32
+
33
33
+
substituteInPlace configure \
34
34
+
--replace 'DISTRO=$(format "$(lsb_release -si 2>/dev/null)")' 'DISTRO=nixos'
35
35
+
'';
36
36
+
37
37
+
installPhase = ''
38
38
+
runHook preInstall
39
39
+
mkdir -p $out/share/icons/$pname
40
40
+
cp -a * $out/share/icons/$pname
41
41
+
rm $out/share/icons/$pname/{configure,COPYING,LICENSE,*.md}
42
42
+
runHook postInstall
43
43
+
'';
44
44
+
45
45
+
meta = with lib; {
46
46
+
description = "Icon theme inspired by macOS and Google's Material Design";
47
47
+
homepage = "https://github.com/keeferrourke/la-capitaine-icon-theme";
48
48
+
license = with licenses; [ gpl3Plus mit ];
49
49
+
platforms = platforms.linux;
50
50
+
maintainers = with maintainers; [ romildo ];
51
51
+
};
52
52
+
}
+5
pkgs/top-level/all-packages.nix
···
23179
23179
23180
23180
kreative-square-fonts = callPackage ../data/fonts/kreative-square-fonts { };
23181
23181
23182
23182
+
la-capitaine-icon-theme = callPackage ../data/icons/la-capitaine-icon-theme {
23183
23183
+
inherit (plasma5Packages) breeze-icons;
23184
23184
+
inherit (pantheon) elementary-icon-theme;
23185
23185
+
};
23186
23186
+
23182
23187
layan-gtk-theme = callPackage ../data/themes/layan-gtk-theme { };
23183
23188
23184
23189
lato = callPackage ../data/fonts/lato {};