You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

default.nix 948B

1234567891011121314151617181920212223242526272829303132
  1. { stdenv, fetchFromGitHub, pkgconfig, gdk-pixbuf, optipng, librsvg, gtk3, hicolor-icon-theme }:
  2. stdenv.mkDerivation rec {
  3. pname = "elementary-xfce-icon-theme";
  4. version = "0.14";
  5. src = fetchFromGitHub {
  6. owner = "shimmerproject";
  7. repo = "elementary-xfce";
  8. rev = "v${version}";
  9. sha256 = "00sk6sv0kkfb3q0jqwcllzawi30rw8nfkkfn5l1qwqha48izw3r4";
  10. };
  11. nativeBuildInputs = [ pkgconfig gdk-pixbuf librsvg optipng gtk3 hicolor-icon-theme ];
  12. postPatch = ''
  13. substituteInPlace svgtopng/Makefile --replace "-O0" "-O"
  14. '';
  15. postInstall = ''
  16. make icon-caches
  17. '';
  18. meta = with stdenv.lib; {
  19. description = "Elementary icons for Xfce and other GTK desktops like GNOME";
  20. homepage = https://github.com/shimmerproject/elementary-xfce;
  21. license = licenses.gpl2;
  22. # darwin cannot deal with file names differing only in case
  23. platforms = platforms.linux;
  24. maintainers = with maintainers; [ davidak ];
  25. };
  26. }