nixpkgs/pkgs/data/icons/maia-icon-theme/default.nix

52 lines
1.0 KiB
Nix
Raw Normal View History

{ lib, stdenv
, 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 {
pname = "maia-icon-theme";
version = "2018-02-24";
2016-08-03 10:51:08 +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
};
nativeBuildInputs = [
cmake
extra-cmake-modules
gtk3
plasma-framework
kwindowsystem
];
2016-08-03 10:51:08 +01:00
propagatedBuildInputs = [
hicolor-icon-theme
];
dontDropIconThemeCache = true;
postInstall = ''
for theme in $out/share/icons/*; do
gtk-update-icon-cache $theme
done
'';
meta = with lib; {
2016-08-03 10:51:08 +01:00
description = "Icons based on Breeze and Super Flat Remix";
homepage = "https://gitlab.manjaro.org/artwork/themes/maia";
license = licenses.lgpl3;
maintainers = with maintainers; [ mounium ];
2016-08-03 10:51:08 +01:00
platforms = platforms.all;
};
}