mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
gnome.gtkhtml: use enchant2
We expect gnome2.gtkhtml4 provides exactly the same thing as gnome.gtkhtml.
This applies 8696842
to this package as well.
This commit is contained in:
parent
0ff53d61ff
commit
7149f55fbf
@ -254,7 +254,7 @@ lib.makeScope pkgs.newScope (self: with self; {
|
|||||||
|
|
||||||
nautilus-python = callPackage ./misc/nautilus-python { };
|
nautilus-python = callPackage ./misc/nautilus-python { };
|
||||||
|
|
||||||
gtkhtml = callPackage ./misc/gtkhtml { enchant = pkgs.enchant1; };
|
gtkhtml = callPackage ./misc/gtkhtml { enchant = pkgs.enchant2; };
|
||||||
|
|
||||||
pomodoro = callPackage ./misc/pomodoro { };
|
pomodoro = callPackage ./misc/pomodoro { };
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ lib, stdenv, fetchurl, pkg-config, gtk3, intltool
|
{ lib, stdenv, fetchurl, fetchpatch, autoreconfHook, pkg-config, gtk3, intltool
|
||||||
, gnome, enchant, isocodes, gsettings-desktop-schemas }:
|
, gnome, enchant, isocodes, gsettings-desktop-schemas }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -10,11 +10,22 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "ca3b6424fb2c7ac5d9cb8fdafb69318fa2e825c9cf6ed17d1e38d9b29e5606c3";
|
sha256 = "ca3b6424fb2c7ac5d9cb8fdafb69318fa2e825c9cf6ed17d1e38d9b29e5606c3";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Enables enchant2 support.
|
||||||
|
# Upstream is dead, no further releases are coming.
|
||||||
|
(fetchpatch {
|
||||||
|
name ="enchant-2.patch";
|
||||||
|
url = "https://aur.archlinux.org/cgit/aur.git/plain/enchant-2.patch?h=gtkhtml4&id=0218303a63d64c04d6483a6fe9bb55063fcfaa43";
|
||||||
|
sha256 = "f0OToWGHZwxvqf+0qosfA9FfwJ/IXfjIPP5/WrcvArI=";
|
||||||
|
extraPrefix = "";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = gnome.updateScript { packageName = "gtkhtml"; attrPath = "gnome.gtkhtml"; };
|
updateScript = gnome.updateScript { packageName = "gtkhtml"; attrPath = "gnome.gtkhtml"; };
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config intltool ];
|
nativeBuildInputs = [ autoreconfHook pkg-config intltool ];
|
||||||
buildInputs = [ gtk3 gnome.adwaita-icon-theme
|
buildInputs = [ gtk3 gnome.adwaita-icon-theme
|
||||||
gsettings-desktop-schemas ];
|
gsettings-desktop-schemas ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user