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