2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2020-10-23 07:43:27 +01:00
|
|
|
, fetchFromGitLab
|
|
|
|
, cmake
|
|
|
|
, extra-cmake-modules
|
|
|
|
, gtk3
|
|
|
|
, plasma-framework
|
|
|
|
, kwindowsystem
|
|
|
|
, hicolor-icon-theme
|
|
|
|
}:
|
2016-08-03 10:51:08 +01:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "maia-icon-theme";
|
2018-10-02 22:38:28 +01:00
|
|
|
version = "2018-02-24";
|
2016-08-03 10:51:08 +01:00
|
|
|
|
2018-10-02 22:38:28 +01:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "gitlab.manjaro.org";
|
|
|
|
group = "artwork";
|
|
|
|
owner = "themes";
|
|
|
|
repo = "maia";
|
|
|
|
rev = "b61312cc80cb9d12b0d8a55b3e61668eb6b77d2d";
|
|
|
|
sha256 = "1g98snlh96z4sqw9sfd7fxgamh45pcj3lh1kcmng7mirvrcn2pam";
|
2016-08-03 10:51:08 +01:00
|
|
|
};
|
|
|
|
|
2018-02-24 11:27:41 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
extra-cmake-modules
|
|
|
|
gtk3
|
2020-10-23 07:43:27 +01:00
|
|
|
plasma-framework
|
|
|
|
kwindowsystem
|
2018-02-24 11:27:41 +00:00
|
|
|
];
|
2016-08-03 10:51:08 +01:00
|
|
|
|
2019-09-12 15:47:48 +01:00
|
|
|
propagatedBuildInputs = [
|
2018-10-02 22:38:28 +01:00
|
|
|
hicolor-icon-theme
|
|
|
|
];
|
|
|
|
|
2019-09-12 15:47:48 +01:00
|
|
|
dontDropIconThemeCache = true;
|
|
|
|
|
2021-01-12 11:50:23 +00:00
|
|
|
dontWrapQtApps = true;
|
|
|
|
|
2020-04-18 00:54:27 +01:00
|
|
|
postInstall = ''
|
2018-10-02 22:38:28 +01:00
|
|
|
for theme in $out/share/icons/*; do
|
|
|
|
gtk-update-icon-cache $theme
|
|
|
|
done
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-08-03 10:51:08 +01:00
|
|
|
description = "Icons based on Breeze and Super Flat Remix";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://gitlab.manjaro.org/artwork/themes/maia";
|
2018-10-02 22:38:28 +01:00
|
|
|
license = licenses.lgpl3;
|
2018-02-24 11:27:41 +00:00
|
|
|
maintainers = with maintainers; [ mounium ];
|
2016-08-03 10:51:08 +01:00
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|