fix gi-gtk build

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

View file

@ -509,13 +509,16 @@
ghc-gi-gio ghc-gi-gio
ghc-gi-gdk ghc-gi-gdk
ghc-gi-gdkpixbuf ghc-gi-gdkpixbuf
ghc-gi-graphene
ghc-gi-gsk
ghc-gi-gobject ghc-gi-gobject
ghc-gi-glib ghc-gi-glib
ghc-gi-atk ghc-gi-atk
gobject-introspection gobject-introspection
gtk+)) gtk))
(native-inputs (native-inputs
(list pkg-config)) (list pkg-config
gtk))
(home-page "https://github.com/haskell-gi/haskell-gi") (home-page "https://github.com/haskell-gi/haskell-gi")
(synopsis "Gtk bindings") (synopsis "Gtk bindings")
(description "Bindings for Gtk, autogenerated by haskell-gi.") (description "Bindings for Gtk, autogenerated by haskell-gi.")
@ -828,6 +831,82 @@
(description "Bindings for Pango, autogenerated by haskell-gi.") (description "Bindings for Pango, autogenerated by haskell-gi.")
(license license:lgpl2.1))) (license license:lgpl2.1)))
(define-public ghc-gi-gsk
(package
(name "ghc-gi-gsk")
(version "4.0.8")
(source
(origin
(method url-fetch)
(uri (string-append
"https://hackage.haskell.org/package/gi-gsk/gi-gsk-"
version
".tar.gz"))
(sha256
(base32 "0akmlbjapiqnn4lfh4z5b95w8ck2jlrp7abqahaxdcbj3d2kcpb4"))))
(build-system haskell-build-system)
(inputs
(list
ghc-haskell-gi-base
ghc-haskell-gi
ghc-gi-graphene
ghc-haskell-gi-overloading
ghc-gi-cairo
ghc-gi-pango
ghc-gi-gio
ghc-gi-gdkpixbuf
ghc-gi-gobject
ghc-gi-glib
ghc-gi-gdk
ghc-transformers
ghc-bytestring-builder
gobject-introspection
gtk))
(native-inputs
(list pkg-config
gtk))
(home-page "https://github.com/haskell-gi/haskell-gi")
(synopsis "Gdk bindings")
(description "Bindings for Gsk, autogenerated by haskell-gi.")
(license license:lgpl2.1)))
(define-public ghc-gi-graphene
(package
(name "ghc-gi-graphene")
(version "1.0.8")
(source
(origin
(method url-fetch)
(uri (string-append
"https://hackage.haskell.org/package/gi-graphene/gi-graphene-"
version
".tar.gz"))
(sha256
(base32 "189fsk72m3v7qbwyn75vradvi3y9vrbjlg95dbr65k2mm1if2n9k"))))
(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-gdkpixbuf
ghc-gi-gobject
ghc-gi-glib
ghc-transformers
ghc-bytestring-builder
gobject-introspection
gtk))
(native-inputs
(list pkg-config
gtk))
(home-page "https://github.com/haskell-gi/haskell-gi")
(synopsis "Gdk bindings")
(description "Bindings for Graphene, autogenerated by haskell-gi.")
(license license:lgpl2.1)))
(define-public ghc-gi-gdk (define-public ghc-gi-gdk
(package (package
(name "ghc-gi-gdk") (name "ghc-gi-gdk")
@ -1198,3 +1277,4 @@
ghc-gi-gtk ghc-gi-gtk