Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / gdk-pixbuf / xlib.nix
blobdd498bb9aeac6049eb9df8d60adfa54426fb3293
1 { lib, stdenv
2 , fetchFromGitLab
3 , meson
4 , ninja
5 , pkg-config
6 , docbook-xsl-nons
7 , docbook_xml_dtd_43
8 , gtk-doc
9 , gdk-pixbuf
10 , libX11
13 stdenv.mkDerivation rec {
14   pname = "gdk-pixbuf-xlib";
15   version = "2.40.2";
17   outputs = [ "out" "dev" "devdoc" ];
19   src = fetchFromGitLab {
20     domain = "gitlab.gnome.org";
21     owner = "Archive";
22     repo = "gdk-pixbuf-xlib";
23     rev = version;
24     hash = "sha256-b4EUaYzg2NlBMU90dGQivOvkv9KKSzES/ymPqzrelu8=";
25   };
27   nativeBuildInputs = [
28     meson
29     ninja
30     pkg-config
31     docbook-xsl-nons
32     docbook_xml_dtd_43
33     gtk-doc
34   ];
36   propagatedBuildInputs = [
37     gdk-pixbuf
38     libX11
39   ];
41   mesonFlags = [
42     "-Dgtk_doc=true"
43   ];
45   meta = with lib; {
46     description = "Deprecated API for integrating GdkPixbuf with Xlib data types";
47     homepage = "https://gitlab.gnome.org/Archive/gdk-pixbuf-xlib";
48     maintainers = teams.gnome.members;
49     license = licenses.lgpl21Plus;
50     platforms = platforms.unix;
51   };