xneur: build with enchant2

We are trying to remove enchant1 from Nixpkgs. Since there is no
new release we pull the patch from debian to build this with enchant2.

+9 -4
+8 -1
pkgs/applications/misc/xneur/default.nix
··· 2 2 , lib 3 3 , fetchurl 4 4 , fetchpatch 5 + , autoreconfHook 5 6 , intltool 6 7 , pkg-config 7 8 , wrapGAppsHook ··· 25 26 }; 26 27 27 28 nativeBuildInputs = [ 29 + autoreconfHook 28 30 intltool 29 31 pkg-config 30 32 wrapGAppsHook ··· 52 54 url = "https://salsa.debian.org/debian/xneur/-/raw/da38ad9c8e1bf4e349f5ed4ad909f810fdea44c9/debian/patches/gcc-10.patch"; 53 55 sha256 = "0pc17a4sdrnrc4z7gz28889b9ywqsm5mzm6m41h67j2f5zh9k3fy"; 54 56 }) 57 + (fetchpatch { 58 + name = "enchant2.patch"; 59 + url = "https://salsa.debian.org/debian/xneur/-/raw/695b0fea56cde4ff6cf0f3988218c5cb9d7ff5ae/debian/patches/enchant2.patch"; 60 + sha256 = "02a3kkfzdvs5f8dfm6j5x3jcn5j8qah9ykfymp6ffqsf4fijp65n"; 61 + }) 55 62 ]; 56 63 57 64 postPatch = '' 58 - sed -e 's@for xosd_dir in@for xosd_dir in ${xosd} @' -i configure 65 + sed -e 's@for xosd_dir in@for xosd_dir in ${xosd} @' -i configure.ac 59 66 ''; 60 67 61 68 meta = with lib; {
+1 -3
pkgs/top-level/all-packages.nix
··· 33710 33710 33711 33711 xmind = callPackage ../applications/misc/xmind { }; 33712 33712 33713 - xneur = callPackage ../applications/misc/xneur { 33714 - enchant = enchant1; 33715 - }; 33713 + xneur = callPackage ../applications/misc/xneur { }; 33716 33714 33717 33715 gxneur = callPackage ../applications/misc/gxneur { 33718 33716 inherit (gnome2) libglade GConf;