2018-02-24 11:49:40 +00:00
|
|
|
{ stdenv, fetchFromGitHub, gtk3 }:
|
2017-07-04 11:17:16 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-06-11 18:37:34 +00:00
|
|
|
pname = "papirus-icon-theme";
|
2019-07-02 05:47:51 +00:00
|
|
|
version = "20190615";
|
2017-07-04 11:17:16 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "PapirusDevelopmentTeam";
|
2019-06-11 18:37:34 +00:00
|
|
|
repo = pname;
|
2018-02-24 11:49:40 +00:00
|
|
|
rev = version;
|
2019-07-02 05:47:51 +00:00
|
|
|
sha256 = "1999q6jw4ib8xrw3ydmprnq0mbmzqj8l92rx4rrh22lw9kdvig8w";
|
2017-07-04 11:17:16 +00:00
|
|
|
};
|
|
|
|
|
2018-02-24 11:49:40 +00:00
|
|
|
nativeBuildInputs = [ gtk3 ];
|
2017-07-04 11:17:16 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
2018-02-24 11:49:40 +00: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 11:17:16 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2018-02-24 11:49:40 +00:00
|
|
|
description = "Papirus icon theme";
|
2017-08-01 20:03:30 +00:00
|
|
|
homepage = https://github.com/PapirusDevelopmentTeam/papirus-icon-theme;
|
2017-07-04 11:17:16 +00:00
|
|
|
license = licenses.lgpl3;
|
2019-06-11 18:41:18 +00:00
|
|
|
# darwin gives hash mismatch in source, probably because of file names differing only in case
|
|
|
|
platforms = platforms.linux;
|
2019-06-11 18:43:13 +00:00
|
|
|
maintainers = with maintainers; [ romildo ];
|
2017-07-04 11:17:16 +00:00
|
|
|
};
|
|
|
|
}
|