depot/third_party/nixpkgs/pkgs/development/libraries/gtk-mac-integration/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

30 lines
880 B
Nix

{ lib, stdenv, fetchFromGitLab, autoreconfHook, pkg-config, glib, gtk-doc, gtk, gobject-introspection }:
stdenv.mkDerivation rec {
pname = "gtk-mac-integration";
version = "3.0.1";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "GNOME";
repo = pname;
rev = "${pname}-${version}";
sha256 = "0sc0m3p8r5xfh5i4d7dg72kfixx9yi4f800y43bszyr88y52jkga";
};
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://gitlab.gnome.org/GNOME/gtk-mac-integration";
maintainers = with maintainers; [ matthewbauer ];
platforms = platforms.darwin;
};
}