summary refs log blame commit diff
path: root/pkgs/data/icons/paper-icon-theme/default.nix
blob: f49009e76f3e04aa8cae9c18de3f2a7168af2204 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                  

                         

                               
                         


                         
                 

                                                                    

    






                                              
 

                                                                                               
                                      




                                                   
{ stdenv, fetchFromGitHub, autoreconfHook, gtk3 }:

stdenv.mkDerivation rec {
  name = "${pname}-${version}";
  pname = "paper-icon-theme";
  version = "2017-11-20";

  src = fetchFromGitHub {
    owner = "snwh";
    repo = pname;
    rev = "af0296ecc872ad723fad7dca6e7e89eb85cbb3a8";
    sha256 = "18a9zl9lbw9gc3zas49w329xrps4slvkp4nv815nlnmimz8dj85m";
  };

  nativeBuildInputs = [ autoreconfHook gtk3 ];

  postFixup = ''
    for theme in $out/share/icons/*; do
      gtk-update-icon-cache $theme
    done
  '';

  meta = with stdenv.lib; {
    description = "Modern icon theme designed around bold colours and simple geometric shapes";
    homepage = https://snwh.org/paper;
    license = with licenses; [ cc-by-sa-40 lgpl3 ];
    platforms = platforms.all;
    maintainers = with maintainers; [ romildo ];
  };
}