From 6870cb88ae6ad2c80022ff68e346b51db5219c01 Mon Sep 17 00:00:00 2001 From: Mateusz Kowalczyk Date: Tue, 19 Aug 2014 03:42:12 +0100 Subject: [PATCH] haskell-gtk3: add 0.13.0.0 --- .../libraries/haskell/gtk3/default.nix | 23 +++++++++++++++++++ pkgs/top-level/haskell-packages.nix | 4 ++++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/development/libraries/haskell/gtk3/default.nix diff --git a/pkgs/development/libraries/haskell/gtk3/default.nix b/pkgs/development/libraries/haskell/gtk3/default.nix new file mode 100644 index 000000000000..99d76c03c526 --- /dev/null +++ b/pkgs/development/libraries/haskell/gtk3/default.nix @@ -0,0 +1,23 @@ +# This file was auto-generated by cabal2nix. Please do NOT edit manually! + +{ cabal, cairo, gio, glib, gtk2hsBuildtools, gtk3, mtl, pango, text +, time, transformers +}: + +cabal.mkDerivation (self: { + pname = "gtk3"; + version = "0.13.0.0"; + sha256 = "0aq58gf6bcwnk085in0xilg7p8zyd2v079aqk1c47gjyrcg7p78f"; + isLibrary = true; + isExecutable = true; + buildDepends = [ cairo gio glib mtl pango text time transformers ]; + buildTools = [ gtk2hsBuildtools ]; + pkgconfigDepends = [ glib gtk3 ]; + meta = { + homepage = "http://projects.haskell.org/gtk2hs/"; + description = "Binding to the Gtk+ graphical user interface library"; + license = self.stdenv.lib.licenses.lgpl21; + platforms = self.ghc.meta.platforms; + maintainers = with self.stdenv.lib.maintainers; [ fuuzetsu ]; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index d7d4ca05ada0..283f0fa0304e 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -990,6 +990,10 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in libc = pkgs.stdenv.gcc.libc; }; + gtk3 = callPackage ../development/libraries/haskell/gtk3 { + inherit (pkgs) gtk3; + }; + gtkglext = callPackage ../development/libraries/haskell/gtkglext { gtkglext = pkgs.gnome2.gtkglext; }; gtk2hsBuildtools = callPackage ../development/libraries/haskell/gtk2hs-buildtools {};