mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +00:00
e1aa8a713b
I am automatically a maintainer of all packages in the set, so there is not reason to mention me explicitly as the maintainer of every individual package.
17 lines
475 B
Nix
17 lines
475 B
Nix
{ mkDerivation, extra-cmake-modules, gtk3, qtsvg, hicolor-icon-theme }:
|
|
|
|
mkDerivation {
|
|
name = "breeze-icons";
|
|
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"
|
|
'';
|
|
}
|