about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/kde-frameworks/breeze-icons.nix
blob: c8382ed3408bc7debe6dd5d43795d988327bfcdf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
{ mkDerivation, lib, extra-cmake-modules, gtk3, qtsvg }:

mkDerivation {
  name = "breeze-icons";
  meta = { maintainers = [ lib.maintainers.ttuegel ]; };
  nativeBuildInputs = [ extra-cmake-modules gtk3 ];
  buildInputs = [ qtsvg ];
  outputs = [ "out" ]; # only runtime outputs
  postInstall = ''
    gtk-update-icon-cache "''${out:?}/share/icons/breeze"
    gtk-update-icon-cache "''${out:?}/share/icons/breeze-dark"
  '';
}