add gi-gtksource

This commit is contained in:
千住柱間 2024-10-24 22:15:05 -04:00
parent f110f41626
commit caec685586
Signed by: hashirama
GPG key ID: 53E62470A86BC185

View file

@ -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