3
0
Fork 0
forked from mirrors/nixpkgs

papirus-icon-theme: 20210302 -> 20210401

This commit is contained in:
fortuneteller2k 2021-04-04 02:02:39 +08:00
parent 7e3eb490ec
commit d8645cfe6f

View file

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "papirus-icon-theme";
version = "20210302";
version = "20210401";
src = fetchFromGitHub {
owner = "PapirusDevelopmentTeam";
repo = pname;
rev = version;
sha256 = "0h1cja8qqlnddm92hkyhkyj5rqfj494v0pss2mg95qqkjijpcgd0";
sha256 = "sha256-t0zoeIpj+0QVH1wmbEIJdqzEDOGzpclePv+bcZgtnwo=";
};
nativeBuildInputs = [
@ -25,12 +25,14 @@ stdenv.mkDerivation rec {
dontDropIconThemeCache = true;
installPhase = ''
runHook preInstall
mkdir -p $out/share/icons
mv {,e}Papirus* $out/share/icons
for theme in $out/share/icons/*; do
gtk-update-icon-cache $theme
done
runHook postInstall
'';
meta = with lib; {
@ -39,6 +41,6 @@ stdenv.mkDerivation rec {
license = licenses.gpl3Only;
# darwin gives hash mismatch in source, probably because of file names differing only in case
platforms = platforms.linux;
maintainers = with maintainers; [ romildo ];
maintainers = with maintainers; [ romildo fortuneteller2k ];
};
}