forked from mirrors/nixpkgs
96c638b59e
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/elementary-xfce-icon-theme/versions.
35 lines
905 B
Nix
35 lines
905 B
Nix
{ stdenv, fetchFromGitHub, gtk3, hicolor-icon-theme }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "elementary-xfce-icon-theme-${version}";
|
|
version = "0.12";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "shimmerproject";
|
|
repo = "elementary-xfce";
|
|
rev = "elementary-xfce-${version}";
|
|
sha256 = "036676443sj4lxm7z211b0br87zdnbrb9z41czfq65r1wwwdf3rq";
|
|
};
|
|
|
|
nativeBuildInputs = [ gtk3 hicolor-icon-theme ];
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/share/icons
|
|
mv elementary-xfce* $out/share/icons
|
|
'';
|
|
|
|
postFixup = ''
|
|
for theme in $out/share/icons/*; do
|
|
gtk-update-icon-cache $theme
|
|
done
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Elementary icons for Xfce and other GTK+ desktops like GNOME";
|
|
homepage = https://github.com/shimmerproject/elementary-xfce;
|
|
license = licenses.gpl2;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ davidak ];
|
|
};
|
|
}
|