paper-icon-theme: build GTK icon cache
This commit is contained in:
parent
466d051924
commit
09b54dec1d
@ -1,18 +1,24 @@
|
|||||||
{ stdenv, fetchFromGitHub, autoreconfHook }:
|
{ stdenv, fetchFromGitHub, autoreconfHook, gtk3 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "${package-name}-${version}";
|
name = "${pname}-${version}";
|
||||||
package-name = "paper-icon-theme";
|
pname = "paper-icon-theme";
|
||||||
version = "2017-11-20";
|
version = "2017-11-20";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "snwh";
|
owner = "snwh";
|
||||||
repo = package-name;
|
repo = pname;
|
||||||
rev = "af0296ecc872ad723fad7dca6e7e89eb85cbb3a8";
|
rev = "af0296ecc872ad723fad7dca6e7e89eb85cbb3a8";
|
||||||
sha256 = "18a9zl9lbw9gc3zas49w329xrps4slvkp4nv815nlnmimz8dj85m";
|
sha256 = "18a9zl9lbw9gc3zas49w329xrps4slvkp4nv815nlnmimz8dj85m";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook ];
|
nativeBuildInputs = [ autoreconfHook gtk3 ];
|
||||||
|
|
||||||
|
postFixup = ''
|
||||||
|
for theme in $out/share/icons/*; do
|
||||||
|
gtk-update-icon-cache $theme
|
||||||
|
done
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Modern icon theme designed around bold colours and simple geometric shapes";
|
description = "Modern icon theme designed around bold colours and simple geometric shapes";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user