mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 18:26:45 +01:00
18 lines
537 B
Nix
18 lines
537 B
Nix
{ mkDerivation, lib, extra-cmake-modules, gtk3, qtsvg, hicolor-icon-theme }:
|
|
|
|
mkDerivation {
|
|
name = "breeze-icons";
|
|
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"
|
|
'';
|
|
}
|