flatery-icon-theme: Add on 20.12.29
This commit is contained in:
parent
b59a5fac8e
commit
36750e12b0
2 changed files with 38 additions and 0 deletions
|
@ -12,4 +12,6 @@ rec {
|
|||
hide-activities = callPackage ./pkgs/gnome-shell-extensions/hide-activities.nix {};
|
||||
hibernate-button = callPackage ./pkgs/gnome-shell-extensions/hibernate-button.nix {};
|
||||
};
|
||||
|
||||
flatery-icon-theme = callPackage ./pkgs/icon-theme/flatery-icon-theme.nix {};
|
||||
}
|
||||
|
|
36
pkgs/icon-theme/flatery-icon-theme.nix
Normal file
36
pkgs/icon-theme/flatery-icon-theme.nix
Normal file
|
@ -0,0 +1,36 @@
|
|||
{ stdenv, fetchFromGitHub, gtk3, gnome-icon-theme, hicolor-icon-theme }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "flatery-icon-theme";
|
||||
version = "20.12.29";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cbrnix";
|
||||
repo = "Flatery";
|
||||
rev = "8beb69e7c4b51970ffb8542cddb1c5603afdc7e3";
|
||||
sha256 = "1d5f6w3fzgpxl8h132xk69hjrd9i5a039184qa37ynp9awwp44l8";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ gtk3 ];
|
||||
|
||||
propagatedBuildInputs = [ gnome-icon-theme hicolor-icon-theme ];
|
||||
|
||||
dontDropIconThemeCache = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/icons
|
||||
cp -a Flatery{-Black,-Blue,-Gray,-Indigo,-Orange,-Pink,-Sky,-Teal,-Yellow,}{-Dark,} $out/share/icons
|
||||
for theme in $out/share/icons/*; do
|
||||
gtk-update-icon-cache $theme
|
||||
done
|
||||
|
||||
mkdir -p $out/share/wallpapers
|
||||
cp -a Flatery-wallpapers $out/share/wallpapers
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Flatery icon theme";
|
||||
homepage = "https://github.com/cbrnix/Flatery";
|
||||
license = licenses.cc-by-nc-sa-30;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue