nixpkgs/pkgs/development/libraries/kde-frameworks/breeze-icons.nix

18 lines
537 B
Nix
Raw Normal View History

{ mkDerivation, lib, extra-cmake-modules, gtk3, qtsvg, hicolor-icon-theme }:
2016-04-21 16:32:21 +01:00
mkDerivation {
2016-04-21 16:32:21 +01:00
name = "breeze-icons";
2016-07-30 15:36:52 +01:00
meta = { maintainers = [ lib.maintainers.ttuegel ]; };
nativeBuildInputs = [ extra-cmake-modules gtk3 ];
buildInputs = [ qtsvg ];
propagatedBuildInputs = [
hicolor-icon-theme
];
dontDropIconThemeCache = true;
outputs = [ "out" ]; # only runtime outputs
postInstall = ''
gtk-update-icon-cache "''${out:?}/share/icons/breeze"
gtk-update-icon-cache "''${out:?}/share/icons/breeze-dark"
'';
2016-04-21 16:32:21 +01:00
}