Merge pull request #118422 from fortuneteller2k/update-papirus

papirus-icon-theme: 20210302 -> 20210401
This commit is contained in:
Sandro 2021-04-04 01:33:02 +02:00 committed by GitHub
commit ebba57534e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 ];
};
}