summary refs log blame commit diff
path: root/pkgs/development/libraries/gtk-mac-integration/default.nix
blob: f244a97edf24b62adba7cda8069a81744d9c8a3b (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                                                                        
 


                                
 

                                
                    


                                                                    

    
                                                                                  

                                  




                    
                    
                                                                                   
                              
                                                                     
                                                     


                                 
{ lib, stdenv, fetchFromGitLab, autoreconfHook, pkg-config, glib, gtk-doc, gtk, gobject-introspection }:

stdenv.mkDerivation rec {
  pname = "gtk-mac-integration";
  version = "2.1.3";

  src = fetchFromGitLab {
    domain = "gitlab.gnome.org";
    owner = "GNOME";
    repo = pname;
    rev = "${pname}-${version}";
    sha256 = "1w0agv4r0daklv5d2f3l0c10krravjq8bj9hsdsrpka48dbnqmap";
  };

  nativeBuildInputs = [ autoreconfHook pkg-config gtk-doc gobject-introspection ];
  buildInputs = [ glib ];
  propagatedBuildInputs = [ gtk ];

  preAutoreconf = ''
    gtkdocize
  '';

  meta = with lib; {
    description = "Provides integration for GTK applications into the Mac desktop";
    license = licenses.lgpl21;
    homepage = "https://wiki.gnome.org/Projects/GTK/OSX/Integration";
    maintainers = with maintainers; [ matthewbauer ];
    platforms = platforms.darwin;
  };
}