2018-02-24 12:49:40 +01:00
|
|
|
{ stdenv, fetchFromGitHub, gtk3 }:
|
2017-07-04 13:17:16 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-06-11 20:37:34 +02:00
|
|
|
pname = "papirus-icon-theme";
|
2019-06-11 20:55:06 +02:00
|
|
|
version = "20190521";
|
2017-07-04 13:17:16 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "PapirusDevelopmentTeam";
|
2019-06-11 20:37:34 +02:00
|
|
|
repo = pname;
|
2018-02-24 12:49:40 +01:00
|
|
|
rev = version;
|
2019-06-11 20:55:06 +02:00
|
|
|
sha256 = "192s14bf2ni46jkiifbsl82qy1miy8fnxs2fpqwf6s6jlv9x4zxs";
|
2017-07-04 13:17:16 +02:00
|
|
|
};
|
|
|
|
|
2018-02-24 12:49:40 +01:00
|
|
|
nativeBuildInputs = [ gtk3 ];
|
2017-07-04 13:17:16 +02:00
|
|
|
|
|
|
|
installPhase = ''
|
2018-02-24 12:49:40 +01:00
|
|
|
mkdir -p $out/share/icons
|
|
|
|
mv {,e}Papirus* $out/share/icons
|
|
|
|
'';
|
|
|
|
|
|
|
|
postFixup = ''
|
|
|
|
for theme in $out/share/icons/*; do
|
|
|
|
gtk-update-icon-cache $theme
|
|
|
|
done
|
2017-07-04 13:17:16 +02:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2018-02-24 12:49:40 +01:00
|
|
|
description = "Papirus icon theme";
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = https://github.com/PapirusDevelopmentTeam/papirus-icon-theme;
|
2017-07-04 13:17:16 +02:00
|
|
|
license = licenses.lgpl3;
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|