From ba7f02630ad4e02a43993ff0eba4ed5c22fa1119 Mon Sep 17 00:00:00 2001 From: "Yury G. Kudryashov" Date: Tue, 20 Mar 2012 11:46:42 +0000 Subject: [PATCH] Add gtkmm-3.x svn path=/nixpkgs/branches/glib-2.30-take2/; revision=33294 --- pkgs/development/libraries/gtkmm/3.2.x.nix | 35 ++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 1 + 2 files changed, 36 insertions(+) create mode 100644 pkgs/development/libraries/gtkmm/3.2.x.nix diff --git a/pkgs/development/libraries/gtkmm/3.2.x.nix b/pkgs/development/libraries/gtkmm/3.2.x.nix new file mode 100644 index 000000000000..890d4a34519d --- /dev/null +++ b/pkgs/development/libraries/gtkmm/3.2.x.nix @@ -0,0 +1,35 @@ +{ stdenv, fetchurl, pkgconfig, gtk3, glibmm, cairomm, pangomm, atkmm }: + +stdenv.mkDerivation { + name = "gtkmm-3.2.0"; + + src = fetchurl { + url = mirror://gnome/sources/gtkmm/3.2/gtkmm-3.2.0.tar.xz; + sha256 = "1wkljr2vjvjg5mggi4rvk9k4j2kzh8lc106k2yp8gqjlhk2xm5b1"; + }; + + buildNativeInputs = [ pkgconfig ]; + + propagatedBuildInputs = [ glibmm gtk3 atkmm cairomm pangomm ]; + + meta = { + description = "C++ interface to the GTK+ graphical user interface library"; + + longDescription = '' + gtkmm is the official C++ interface for the popular GUI library + GTK+. Highlights include typesafe callbacks, and a + comprehensive set of widgets that are easily extensible via + inheritance. You can create user interfaces either in code or + with the Glade User Interface designer, using libglademm. + There's extensive documentation, including API reference and a + tutorial. + ''; + + homepage = http://gtkmm.org/; + + license = "LGPLv2+"; + + maintainers = with stdenv.lib.maintainers; [ raskin urkud ]; + platforms = stdenv.lib.platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9eabd236231b..73ad387cd950 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3742,6 +3742,7 @@ let gtk = pkgs.gtk2; gtkmm = callPackage ../development/libraries/gtkmm/2.24.x.nix { }; + gtkmm3 = callPackage ../development/libraries/gtkmm/3.2.x.nix { }; gtk3 = lowPrio (callPackage ../development/libraries/gtk+/3.2.x.nix { });