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 885B

1234567891011121314151617181920212223242526272829303132333435
  1. { stdenv, fetchFromGitHub, gtk3, numix-icon-theme }:
  2. stdenv.mkDerivation rec {
  3. pname = "numix-icon-theme-square";
  4. version = "19.09.20";
  5. src = fetchFromGitHub {
  6. owner = "numixproject";
  7. repo = pname;
  8. rev = version;
  9. sha256 = "0q3d4d4wndknz3043bh8ardjvdpds2hkzk73kyyh1848wg4ff0ly";
  10. };
  11. nativeBuildInputs = [ gtk3 numix-icon-theme ];
  12. installPhase = ''
  13. mkdir -p $out/share/icons
  14. cp -a Numix-Square{,-Light} $out/share/icons/
  15. '';
  16. postFixup = ''
  17. for theme in $out/share/icons/*; do
  18. gtk-update-icon-cache $theme
  19. done
  20. '';
  21. meta = with stdenv.lib; {
  22. description = "Numix icon theme (square version)";
  23. homepage = https://numixproject.github.io;
  24. license = licenses.gpl3;
  25. # darwin cannot deal with file names differing only in case
  26. platforms = platforms.linux;
  27. maintainers = with maintainers; [ romildo ];
  28. };
  29. }