haskellPackages: restrict a few packages depending on haskell-gi

haskell-gi and haskell-gi-base have released a 0.25.0 version on
hackage, but hackage nightly still has an 0.24.* version.

However there are some packages depending on haskell-gi like gi-vte
which are not in stackage, but have releases on hackage which address
the changes in 0.25.0. The resulting mismatched versions result in
compilation failures which are addressed by restricting these packages
to a version supporting 0.24.* temporarily until Stackage Nightly
catches up.

The most prominent package affected by this breakage was termonad which
depends gi-vte, cc @cdepillabout on this.
This commit is contained in:
sternenseemann 2021-04-02 15:53:49 +02:00
parent 8babfa7fa5
commit ad719bf6d1
2 changed files with 292 additions and 2 deletions

View file

@ -82,6 +82,22 @@ default-package-overrides:
- hls-retrie-plugin < 1.0.0.1
- lsp < 1.2
- lsp-types < 1.2
# 2021-04-02: Stackage Nighlty has haskell-gi* < 0.25,
# so we need to restrict these to compatible versions
# Remove these as soon as haskell-gi{,-base} are 0.25.*
# in Stackage Nightly!
- gi-ggit < 1.0.10
- gi-girepository < 1.0.24
- gi-gst < 1.0.24
- gi-gstbase < 1.0.24
- gi-gstvideo < 1.0.24
- gi-gtksource < 3.0.24
- gi-ibus < 1.5.3
- gi-notify < 0.7.23
- gi-ostree < 1.0.14
- gi-pangocairo < 1.0.25
- gi-secret < 0.0.13
- gi-vte < 2.91.28
# Stackage Nightly 2021-03-21
- abstract-deque ==0.3

View file

@ -103844,6 +103844,27 @@ self: {
}) {gtk4-x11 = null;};
"gi-ggit" = callPackage
({ mkDerivation, base, bytestring, Cabal, containers, gi-gio
, gi-glib, gi-gobject, haskell-gi, haskell-gi-base
, haskell-gi-overloading, libgit2-glib, text, transformers
}:
mkDerivation {
pname = "gi-ggit";
version = "1.0.9";
sha256 = "0qvmppdby40ncd9alnnk8ang90qcaj00c0g0nrq0s0m1ynar8ccd";
setupHaskellDepends = [
base Cabal gi-gio gi-glib gi-gobject haskell-gi
];
libraryHaskellDepends = [
base bytestring containers gi-gio gi-glib gi-gobject haskell-gi
haskell-gi-base haskell-gi-overloading text transformers
];
libraryPkgconfigDepends = [ libgit2-glib ];
description = "libgit2-glib bindings";
license = lib.licenses.lgpl21Only;
}) {inherit (pkgs) libgit2-glib;};
"gi-ggit_1_0_10" = callPackage
({ mkDerivation, base, bytestring, Cabal, containers, gi-gio
, gi-glib, gi-gobject, haskell-gi, haskell-gi-base
, haskell-gi-overloading, libgit2-glib, text, transformers
@ -103862,6 +103883,7 @@ self: {
libraryPkgconfigDepends = [ libgit2-glib ];
description = "libgit2-glib bindings";
license = lib.licenses.lgpl21Only;
hydraPlatforms = lib.platforms.none;
}) {inherit (pkgs) libgit2-glib;};
"gi-gio" = callPackage
@ -103904,6 +103926,25 @@ self: {
}) {inherit (pkgs) glib;};
"gi-girepository" = callPackage
({ mkDerivation, base, bytestring, Cabal, containers, gi-glib
, gi-gobject, gobject-introspection, haskell-gi, haskell-gi-base
, haskell-gi-overloading, text, transformers
}:
mkDerivation {
pname = "gi-girepository";
version = "1.0.23";
sha256 = "0a8sis3zayiywi7mgs1g4p7nr9szv392j7bimq5nvva04lj6sdzc";
setupHaskellDepends = [ base Cabal gi-glib gi-gobject haskell-gi ];
libraryHaskellDepends = [
base bytestring containers gi-glib gi-gobject haskell-gi
haskell-gi-base haskell-gi-overloading text transformers
];
libraryPkgconfigDepends = [ gobject-introspection ];
description = "GIRepository (gobject-introspection) bindings";
license = lib.licenses.lgpl21Only;
}) {inherit (pkgs) gobject-introspection;};
"gi-girepository_1_0_24" = callPackage
({ mkDerivation, base, bytestring, Cabal, containers, gi-glib
, gi-gobject, gobject-introspection, haskell-gi, haskell-gi-base
, haskell-gi-overloading, text, transformers
@ -103920,6 +103961,7 @@ self: {
libraryPkgconfigDepends = [ gobject-introspection ];
description = "GIRepository (gobject-introspection) bindings";
license = lib.licenses.lgpl21Only;
hydraPlatforms = lib.platforms.none;
}) {inherit (pkgs) gobject-introspection;};
"gi-glib" = callPackage
@ -104069,6 +104111,25 @@ self: {
}) {inherit (pkgs) gtk4;};
"gi-gst" = callPackage
({ mkDerivation, base, bytestring, Cabal, containers, gi-glib
, gi-gobject, gstreamer, haskell-gi, haskell-gi-base
, haskell-gi-overloading, text, transformers
}:
mkDerivation {
pname = "gi-gst";
version = "1.0.23";
sha256 = "0w4xscgd49d6d00gvsqc210r63c0wj748dqa5ypppr4mzllsm0qv";
setupHaskellDepends = [ base Cabal gi-glib gi-gobject haskell-gi ];
libraryHaskellDepends = [
base bytestring containers gi-glib gi-gobject haskell-gi
haskell-gi-base haskell-gi-overloading text transformers
];
libraryPkgconfigDepends = [ gstreamer ];
description = "GStreamer bindings";
license = lib.licenses.lgpl21Only;
}) {inherit (pkgs.gst_all_1) gstreamer;};
"gi-gst_1_0_24" = callPackage
({ mkDerivation, base, bytestring, Cabal, containers, gi-glib
, gi-gobject, gstreamer, haskell-gi, haskell-gi-base
, haskell-gi-overloading, text, transformers
@ -104085,6 +104146,7 @@ self: {
libraryPkgconfigDepends = [ gstreamer ];
description = "GStreamer bindings";
license = lib.licenses.lgpl21Only;
hydraPlatforms = lib.platforms.none;
}) {inherit (pkgs.gst_all_1) gstreamer;};
"gi-gstaudio" = callPackage
@ -104111,6 +104173,27 @@ self: {
}) {inherit (pkgs.gst_all_1) gst-plugins-base;};
"gi-gstbase" = callPackage
({ mkDerivation, base, bytestring, Cabal, containers, gi-glib
, gi-gobject, gi-gst, gst-plugins-base, haskell-gi, haskell-gi-base
, haskell-gi-overloading, text, transformers
}:
mkDerivation {
pname = "gi-gstbase";
version = "1.0.23";
sha256 = "0im25z9pf9j0cxj0b6lbbr3lis9kbvzzvzns65cmargbh1018959";
setupHaskellDepends = [
base Cabal gi-glib gi-gobject gi-gst haskell-gi
];
libraryHaskellDepends = [
base bytestring containers gi-glib gi-gobject gi-gst haskell-gi
haskell-gi-base haskell-gi-overloading text transformers
];
libraryPkgconfigDepends = [ gst-plugins-base ];
description = "GStreamerBase bindings";
license = lib.licenses.lgpl21Only;
}) {inherit (pkgs.gst_all_1) gst-plugins-base;};
"gi-gstbase_1_0_24" = callPackage
({ mkDerivation, base, bytestring, Cabal, containers, gi-glib
, gi-gobject, gi-gst, gst-plugins-base, haskell-gi, haskell-gi-base
, haskell-gi-overloading, text, transformers
@ -104129,6 +104212,7 @@ self: {
libraryPkgconfigDepends = [ gst-plugins-base ];
description = "GStreamerBase bindings";
license = lib.licenses.lgpl21Only;
hydraPlatforms = lib.platforms.none;
}) {inherit (pkgs.gst_all_1) gst-plugins-base;};
"gi-gstpbutils" = callPackage
@ -104181,6 +104265,27 @@ self: {
}) {gstreamer-tag = null;};
"gi-gstvideo" = callPackage
({ mkDerivation, base, bytestring, Cabal, containers, gi-glib
, gi-gobject, gi-gst, gi-gstbase, gst-plugins-base, haskell-gi
, haskell-gi-base, haskell-gi-overloading, text, transformers
}:
mkDerivation {
pname = "gi-gstvideo";
version = "1.0.23";
sha256 = "1kb09kal08x7nznc0g8c2n9jfijapdndbnsfs5cvz0p9smvd092i";
setupHaskellDepends = [
base Cabal gi-glib gi-gobject gi-gst gi-gstbase haskell-gi
];
libraryHaskellDepends = [
base bytestring containers gi-glib gi-gobject gi-gst gi-gstbase
haskell-gi haskell-gi-base haskell-gi-overloading text transformers
];
libraryPkgconfigDepends = [ gst-plugins-base ];
description = "GStreamerVideo bindings";
license = lib.licenses.lgpl21Only;
}) {inherit (pkgs.gst_all_1) gst-plugins-base;};
"gi-gstvideo_1_0_24" = callPackage
({ mkDerivation, base, bytestring, Cabal, containers, gi-glib
, gi-gobject, gi-gst, gi-gstbase, gst-plugins-base, haskell-gi
, haskell-gi-base, haskell-gi-overloading, text, transformers
@ -104199,6 +104304,7 @@ self: {
libraryPkgconfigDepends = [ gst-plugins-base ];
description = "GStreamerVideo bindings";
license = lib.licenses.lgpl21Only;
hydraPlatforms = lib.platforms.none;
}) {inherit (pkgs.gst_all_1) gst-plugins-base;};
"gi-gtk" = callPackage
@ -104380,6 +104486,30 @@ self: {
}) {gtksheet = null;};
"gi-gtksource" = callPackage
({ mkDerivation, base, bytestring, Cabal, containers, gi-atk
, gi-cairo, gi-gdk, gi-gdkpixbuf, gi-gio, gi-glib, gi-gobject
, gi-gtk, gi-pango, gtksourceview3, haskell-gi, haskell-gi-base
, haskell-gi-overloading, text, transformers
}:
mkDerivation {
pname = "gi-gtksource";
version = "3.0.23";
sha256 = "13rsxjbl62q8zhwqr8jm2fh5njzfa86izqwag4d6aw8xi71wqfrn";
setupHaskellDepends = [
base Cabal gi-atk gi-cairo gi-gdk gi-gdkpixbuf gi-gio gi-glib
gi-gobject gi-gtk gi-pango haskell-gi
];
libraryHaskellDepends = [
base bytestring containers gi-atk gi-cairo gi-gdk gi-gdkpixbuf
gi-gio gi-glib gi-gobject gi-gtk gi-pango haskell-gi
haskell-gi-base haskell-gi-overloading text transformers
];
libraryPkgconfigDepends = [ gtksourceview3 ];
description = "GtkSource bindings";
license = lib.licenses.lgpl21Only;
}) {inherit (pkgs) gtksourceview3;};
"gi-gtksource_3_0_24" = callPackage
({ mkDerivation, base, bytestring, Cabal, containers, gi-atk
, gi-cairo, gi-gdk, gi-gdkpixbuf, gi-gio, gi-glib, gi-gobject
, gi-gtk, gi-pango, gtksourceview3, haskell-gi, haskell-gi-base
@ -104401,6 +104531,7 @@ self: {
libraryPkgconfigDepends = [ gtksourceview3 ];
description = "GtkSource bindings";
license = lib.licenses.lgpl21Only;
hydraPlatforms = lib.platforms.none;
}) {inherit (pkgs) gtksourceview3;};
"gi-handy" = callPackage
@ -104469,6 +104600,27 @@ self: {
}) {inherit (pkgs) harfbuzz; harfbuzz-gobject = null;};
"gi-ibus" = callPackage
({ mkDerivation, base, bytestring, Cabal, containers, gi-gio
, gi-glib, gi-gobject, haskell-gi, haskell-gi-base
, haskell-gi-overloading, ibus, text, transformers
}:
mkDerivation {
pname = "gi-ibus";
version = "1.5.2";
sha256 = "14chw0qhzdxixsqsn2ra31z561kn2zclk15b7hfpfzayqr6dqci1";
setupHaskellDepends = [
base Cabal gi-gio gi-glib gi-gobject haskell-gi
];
libraryHaskellDepends = [
base bytestring containers gi-gio gi-glib gi-gobject haskell-gi
haskell-gi-base haskell-gi-overloading text transformers
];
libraryPkgconfigDepends = [ ibus ];
description = "IBus bindings";
license = lib.licenses.lgpl21Only;
}) {inherit (pkgs) ibus;};
"gi-ibus_1_5_3" = callPackage
({ mkDerivation, base, bytestring, Cabal, containers, gi-gio
, gi-glib, gi-gobject, haskell-gi, haskell-gi-base
, haskell-gi-overloading, ibus, text, transformers
@ -104487,6 +104639,7 @@ self: {
libraryPkgconfigDepends = [ ibus ];
description = "IBus bindings";
license = lib.licenses.lgpl21Only;
hydraPlatforms = lib.platforms.none;
}) {inherit (pkgs) ibus;};
"gi-javascriptcore" = callPackage
@ -104536,8 +104689,8 @@ self: {
}:
mkDerivation {
pname = "gi-notify";
version = "0.7.23";
sha256 = "00p10lw9v9q8mh6630ijpz8smnpz5hiiw8kxk1fv8497akssxjsh";
version = "0.7.22";
sha256 = "0j5cxx9dsxh2wafw4xa7yasr6n98h2qwpm1y08nm7m6i0kwrksap";
setupHaskellDepends = [
base Cabal gi-gdkpixbuf gi-glib gi-gobject haskell-gi
];
@ -104550,7 +104703,53 @@ self: {
license = lib.licenses.lgpl21Only;
}) {inherit (pkgs) libnotify;};
"gi-notify_0_7_23" = callPackage
({ mkDerivation, base, bytestring, Cabal, containers, gi-gdkpixbuf
, gi-glib, gi-gobject, haskell-gi, haskell-gi-base
, haskell-gi-overloading, libnotify, text, transformers
}:
mkDerivation {
pname = "gi-notify";
version = "0.7.23";
sha256 = "00p10lw9v9q8mh6630ijpz8smnpz5hiiw8kxk1fv8497akssxjsh";
setupHaskellDepends = [
base Cabal gi-gdkpixbuf gi-glib gi-gobject haskell-gi
];
libraryHaskellDepends = [
base bytestring containers gi-gdkpixbuf gi-glib gi-gobject
haskell-gi haskell-gi-base haskell-gi-overloading text transformers
];
libraryPkgconfigDepends = [ libnotify ];
description = "Libnotify bindings";
license = lib.licenses.lgpl21Only;
hydraPlatforms = lib.platforms.none;
}) {inherit (pkgs) libnotify;};
"gi-ostree" = callPackage
({ mkDerivation, base, bytestring, Cabal, containers, gi-gio
, gi-glib, gi-gobject, haskell-gi, haskell-gi-base
, haskell-gi-overloading, ostree, text, transformers
}:
mkDerivation {
pname = "gi-ostree";
version = "1.0.13";
sha256 = "07k02mffidw18f104crmhayr5nf3v5xcldc8fbmxdinp7wik5c7f";
setupHaskellDepends = [
base Cabal gi-gio gi-glib gi-gobject haskell-gi
];
libraryHaskellDepends = [
base bytestring containers gi-gio gi-glib gi-gobject haskell-gi
haskell-gi-base haskell-gi-overloading text transformers
];
libraryPkgconfigDepends = [ ostree ];
description = "OSTree bindings";
license = lib.licenses.lgpl21Only;
platforms = [
"aarch64-linux" "armv7l-linux" "i686-linux" "x86_64-linux"
];
}) {inherit (pkgs) ostree;};
"gi-ostree_1_0_14" = callPackage
({ mkDerivation, base, bytestring, Cabal, containers, gi-gio
, gi-glib, gi-gobject, haskell-gi, haskell-gi-base
, haskell-gi-overloading, ostree, text, transformers
@ -104572,6 +104771,7 @@ self: {
platforms = [
"aarch64-linux" "armv7l-linux" "i686-linux" "x86_64-linux"
];
hydraPlatforms = lib.platforms.none;
}) {inherit (pkgs) ostree;};
"gi-pango" = callPackage
@ -104626,6 +104826,32 @@ self: {
}) {inherit (pkgs) cairo; inherit (pkgs) pango;};
"gi-pangocairo" = callPackage
({ mkDerivation, base, bytestring, Cabal, cairo, containers
, gi-cairo, gi-glib, gi-gobject, gi-pango, haskell-gi
, haskell-gi-base, haskell-gi-overloading, pango, text
, transformers
}:
mkDerivation {
pname = "gi-pangocairo";
version = "1.0.24";
sha256 = "1yya5gsqrkagmm33rsasshlj691nmax47fqdn1p2rnf4aqx1jcqr";
setupHaskellDepends = [
base Cabal gi-cairo gi-glib gi-gobject gi-pango haskell-gi
];
libraryHaskellDepends = [
base bytestring containers gi-cairo gi-glib gi-gobject gi-pango
haskell-gi haskell-gi-base haskell-gi-overloading text transformers
];
libraryPkgconfigDepends = [ cairo pango ];
preCompileBuildDriver = ''
PKG_CONFIG_PATH+=":${cairo}/lib/pkgconfig"
setupCompileFlags+=" $(pkg-config --libs cairo-gobject)"
'';
description = "PangoCairo bindings";
license = lib.licenses.lgpl21Only;
}) {inherit (pkgs) cairo; inherit (pkgs) pango;};
"gi-pangocairo_1_0_25" = callPackage
({ mkDerivation, base, bytestring, Cabal, cairo, containers
, gi-cairo, gi-glib, gi-gobject, gi-pango, haskell-gi
, haskell-gi-base, haskell-gi-overloading, pango, text
@ -104649,6 +104875,7 @@ self: {
'';
description = "PangoCairo bindings";
license = lib.licenses.lgpl21Only;
hydraPlatforms = lib.platforms.none;
}) {inherit (pkgs) cairo; inherit (pkgs) pango;};
"gi-poppler" = callPackage
@ -104675,6 +104902,27 @@ self: {
}) {inherit (pkgs) poppler_gi;};
"gi-secret" = callPackage
({ mkDerivation, base, bytestring, Cabal, containers, gi-gio
, gi-glib, gi-gobject, haskell-gi, haskell-gi-base
, haskell-gi-overloading, libsecret, text, transformers
}:
mkDerivation {
pname = "gi-secret";
version = "0.0.12";
sha256 = "19mr7mvay2slm5k6afqj0hhy4ddh0advrb5dyzqi75xysx7xagm8";
setupHaskellDepends = [
base Cabal gi-gio gi-glib gi-gobject haskell-gi
];
libraryHaskellDepends = [
base bytestring containers gi-gio gi-glib gi-gobject haskell-gi
haskell-gi-base haskell-gi-overloading text transformers
];
libraryPkgconfigDepends = [ libsecret ];
description = "Libsecret bindings";
license = lib.licenses.lgpl21Only;
}) {inherit (pkgs) libsecret;};
"gi-secret_0_0_13" = callPackage
({ mkDerivation, base, bytestring, Cabal, containers, gi-gio
, gi-glib, gi-gobject, haskell-gi, haskell-gi-base
, haskell-gi-overloading, libsecret, text, transformers
@ -104693,6 +104941,7 @@ self: {
libraryPkgconfigDepends = [ libsecret ];
description = "Libsecret bindings";
license = lib.licenses.lgpl21Only;
hydraPlatforms = lib.platforms.none;
}) {inherit (pkgs) libsecret;};
"gi-soup" = callPackage
@ -104739,6 +104988,30 @@ self: {
}) {inherit (pkgs) libsoup;};
"gi-vte" = callPackage
({ mkDerivation, base, bytestring, Cabal, containers, gi-atk
, gi-gdk, gi-gio, gi-glib, gi-gobject, gi-gtk, gi-pango, haskell-gi
, haskell-gi-base, haskell-gi-overloading, text, transformers
, vte_291
}:
mkDerivation {
pname = "gi-vte";
version = "2.91.27";
sha256 = "0a4n8yah3nirwciw0y1i8vpcjqbbk3pw15nd8av109cyxgl8nzx8";
setupHaskellDepends = [
base Cabal gi-atk gi-gdk gi-gio gi-glib gi-gobject gi-gtk gi-pango
haskell-gi
];
libraryHaskellDepends = [
base bytestring containers gi-atk gi-gdk gi-gio gi-glib gi-gobject
gi-gtk gi-pango haskell-gi haskell-gi-base haskell-gi-overloading
text transformers
];
libraryPkgconfigDepends = [ vte_291 ];
description = "Vte bindings";
license = lib.licenses.lgpl21Only;
}) {vte_291 = pkgs.vte;};
"gi-vte_2_91_28" = callPackage
({ mkDerivation, base, bytestring, Cabal, containers, gi-atk
, gi-gdk, gi-gio, gi-glib, gi-gobject, gi-gtk, gi-pango, haskell-gi
, haskell-gi-base, haskell-gi-overloading, text, transformers
@ -104760,6 +105033,7 @@ self: {
libraryPkgconfigDepends = [ vte_291 ];
description = "Vte bindings";
license = lib.licenses.lgpl21Only;
hydraPlatforms = lib.platforms.none;
}) {vte_291 = pkgs.vte;};
"gi-webkit" = callPackage