From 5682b2e9ea38ae01d41b043c310a9c167e774a07 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 29 Oct 2009 10:53:54 +0000 Subject: * Finished getting rid of gtk-libs. svn path=/nixpkgs/trunk/; revision=18010 --- pkgs/development/libraries/glib/2.22.x.nix | 35 ++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 pkgs/development/libraries/glib/2.22.x.nix (limited to 'pkgs/development/libraries/glib') diff --git a/pkgs/development/libraries/glib/2.22.x.nix b/pkgs/development/libraries/glib/2.22.x.nix new file mode 100644 index 0000000000000..b1965f1915f0a --- /dev/null +++ b/pkgs/development/libraries/glib/2.22.x.nix @@ -0,0 +1,35 @@ +{ stdenv, fetchurl, pkgconfig, gettext, perl }: + +stdenv.mkDerivation rec { + name = "glib-2.22.2"; + + src = fetchurl { + url = "mirror://gnome/sources/glib/2.22/${name}.tar.bz2"; + sha256 = "18ycpaf69wlpp4wq385hkq7bcfhbis8ncd7wl7zmwgrdzh11v954"; + }; + + buildInputs = [pkgconfig gettext perl]; + + # The nbd package depends on a static version of this library; hence + # the default configure flag --disable-static is switched off. + dontDisableStatic = true; + configureFlags = "--enable-static --enable-shared"; + + meta = { + description = "GLib, a C library of programming buildings blocks"; + + longDescription = '' + GLib provides the core application building blocks for libraries + and applications written in C. It provides the core object + system used in GNOME, the main loop implementation, and a large + set of utility functions for strings and common data structures. + ''; + + homepage = http://www.gtk.org/; + + license = "LGPLv2+"; + + maintainers = [stdenv.lib.maintainers.raskin]; + platforms = stdenv.lib.platforms.linux; + }; +} -- cgit 1.4.1