diff --git a/ajatt/packages/haskell.scm b/ajatt/packages/haskell.scm index 28e026a..85b76e1 100644 --- a/ajatt/packages/haskell.scm +++ b/ajatt/packages/haskell.scm @@ -524,6 +524,61 @@ (description "Bindings for Gtk, autogenerated by haskell-gi.") (license license:lgpl2.1))) +(define-public ghc-gi-gtksource + (package + (name "ghc-gi-gtksource") + (version "5.0.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/gi-gtksource/gi-gtksource-" + version + ".tar.gz")) + (sha256 + (base32 "0s5xc3d7i2a4ysa2m5kd9qsr2g78yiqj4rfjy06n0kqsmymprvj2")))) + (build-system haskell-build-system) + (inputs + (list + ghc-haskell-gi-base + ghc-haskell-gi + ghc-haskell-gi-overloading + ghc-gi-cairo + ghc-gi-pango + ghc-gi-gio + ghc-gi-gdk + ghc-gi-gdkpixbuf + ghc-gi-graphene + ghc-gi-gsk + ghc-gi-gobject + ghc-gi-glib + ghc-gi-gtk + ghc-gi-atk + ghc-transformers + ghc-bytestring-builder + gobject-introspection + gtksourceview + gtk + glib)) + (native-inputs + (list pkg-config + gtk + glib + ghc-gi-glib + gtksourceview + gobject-introspection)) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-before 'configure 'set-configure-environment-variables + (lambda _ + (setenv "LD_LIBRARY_PATH" (getenv "LIBRARY_PATH")) + #t))))) + (home-page "https://github.com/haskell-gi/haskell-gi") + (synopsis "Bindings for GtkSource") + (description "Bindings for GtkSource, autogenerated by haskell-gi.") + (license license:lgpl2.1))) + (define-public ghc-gi-xlib (package (name "ghc-gi-xlib") @@ -935,7 +990,8 @@ ghc-transformers ghc-bytestring-builder gobject-introspection - ;; needs ghc-gi-grapehene and ghc-gi-gsk + ghc-gi-graphene + ghc-gi-gsk gtk)) (native-inputs (list pkg-config @@ -1276,5 +1332,5 @@ -ghc-gi-gtk +ghc-gi-gtksource