2021-01-11 10:54:33 +03:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, gtk3, breeze-icons, gnome-icon-theme, papirus-icon-theme, hicolor-icon-theme }:
|
2019-09-17 15:54:20 +03:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "papirus-maia-icon-theme";
|
|
|
|
version = "2019-07-26";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Ste74";
|
|
|
|
repo = pname;
|
|
|
|
rev = "90d47c817cc0edeed8b5a90335e669948ff4a116";
|
|
|
|
sha256 = "0d6lvdg5nw5wfaq8lxszcws174vg12ywkrqzn6czimhmhp48jf5p";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
gtk3
|
|
|
|
];
|
|
|
|
|
2020-04-16 16:38:23 +03:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
breeze-icons
|
|
|
|
gnome-icon-theme
|
|
|
|
papirus-icon-theme
|
|
|
|
hicolor-icon-theme
|
|
|
|
];
|
|
|
|
|
|
|
|
dontDropIconThemeCache = true;
|
|
|
|
|
2019-09-17 15:54:20 +03:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace CMakeLists.txt --replace /usr "$out"
|
|
|
|
'';
|
|
|
|
|
2020-04-16 16:38:23 +03:00
|
|
|
postInstall = ''
|
2019-09-17 15:54:20 +03:00
|
|
|
for theme in $out/share/icons/*; do
|
|
|
|
gtk-update-icon-cache $theme
|
|
|
|
done
|
|
|
|
'';
|
|
|
|
|
2021-01-11 10:54:33 +03:00
|
|
|
meta = with lib; {
|
2019-09-17 15:54:20 +03:00
|
|
|
description = "Manjaro variation of Papirus icon theme";
|
2020-04-01 04:11:51 +03:00
|
|
|
homepage = "https://github.com/Ste74/papirus-maia-icon-theme";
|
2019-09-17 15:54:20 +03:00
|
|
|
license = licenses.lgpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ romildo ];
|
|
|
|
};
|
|
|
|
}
|