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

1234567891011121314151617181920212223242526272829303132333435
  1. { stdenv, fetchFromGitHub, gtk3, numix-icon-theme }:
  2. stdenv.mkDerivation rec {
  3. pname = "numix-icon-theme-circle";
  4. version = "19.09.20";
  5. src = fetchFromGitHub {
  6. owner = "numixproject";
  7. repo = pname;
  8. rev = version;
  9. sha256 = "1pmz2dy1580ln5m57xw3vhqrjhviayisgbs2km3i77hyx66hiivi";
  10. };
  11. nativeBuildInputs = [ gtk3 numix-icon-theme ];
  12. installPhase = ''
  13. install -dm 755 $out/share/icons
  14. cp -dr --no-preserve='ownership' Numix-Circle{,-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 (circle 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. }