2021-04-03 11:58:22 +01:00
|
|
|
{ mkDerivation, extra-cmake-modules, gtk3, qtsvg, hicolor-icon-theme }:
|
2016-04-21 16:32:21 +01:00
|
|
|
|
2017-05-15 18:05:35 +01:00
|
|
|
mkDerivation {
|
2016-04-21 16:32:21 +01:00
|
|
|
name = "breeze-icons";
|
2017-07-16 13:42:48 +01:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules gtk3 ];
|
2016-07-30 23:10:30 +01:00
|
|
|
buildInputs = [ qtsvg ];
|
2019-09-12 15:47:48 +01:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
hicolor-icon-theme
|
|
|
|
];
|
|
|
|
dontDropIconThemeCache = true;
|
2017-05-22 19:49:07 +01:00
|
|
|
outputs = [ "out" ]; # only runtime outputs
|
2017-07-16 13:42:48 +01:00
|
|
|
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
|
|
|
}
|