gnumeric: switch to gitlab sources, fix build

- switch to gitlab sources to avoid bad pre-baked autotools artifacts
- run autogen.sh to refresh po-functions/Makefile.in.in with correct intltool
- supply build dependencies that were previously unnecessary
due to using pre-baked autotools artifacts
- remove `with lib;` from meta

Grimmauld 6770ea5d a0c53ddf

+22 -10
+22 -10
pkgs/by-name/gn/gnumeric/package.nix
··· 2 lib, 3 stdenv, 4 fetchurl, 5 - autoconf, 6 - automake, 7 pkg-config, 8 intltool, 9 libxml2, ··· 17 bison, 18 python3Packages, 19 itstool, 20 }: 21 22 let ··· 26 pname = "gnumeric"; 27 version = "1.12.59"; 28 29 - src = fetchurl { 30 - url = "mirror://gnome/sources/gnumeric/${lib.versions.majorMinor finalAttrs.version}/gnumeric-${finalAttrs.version}.tar.xz"; 31 - sha256 = "yzdQsXbWQflCPfchuDFljIKVV1UviIf+34pT2Qfs61E="; 32 }; 33 34 configureFlags = [ "--disable-component" ]; 35 36 nativeBuildInputs = [ 37 - autoconf 38 - automake 39 pkg-config 40 intltool 41 bison ··· 74 }; 75 }; 76 77 - meta = with lib; { 78 description = "GNOME Office Spreadsheet"; 79 license = lib.licenses.gpl2Plus; 80 homepage = "http://projects.gnome.org/gnumeric/"; 81 - platforms = platforms.unix; 82 - maintainers = [ maintainers.vcunat ]; 83 }; 84 })
··· 2 lib, 3 stdenv, 4 fetchurl, 5 pkg-config, 6 intltool, 7 libxml2, ··· 15 bison, 16 python3Packages, 17 itstool, 18 + autoreconfHook, 19 + gtk-doc, 20 + fetchFromGitLab, 21 + gettext, 22 + yelp-tools, 23 }: 24 25 let ··· 29 pname = "gnumeric"; 30 version = "1.12.59"; 31 32 + src = fetchFromGitLab { 33 + domain = "gitlab.gnome.org"; 34 + owner = "GNOME"; 35 + repo = "gnumeric"; 36 + tag = "GNUMERIC_${lib.replaceStrings [ "." ] [ "_" ] finalAttrs.version}"; 37 + hash = "sha256-7xCDOqPx3QLDHLoKG46e8te4smSFrLOgCcWkiJXGjDQ="; 38 }; 39 40 + preConfigure = '' 41 + ./autogen.sh 42 + ''; 43 + 44 configureFlags = [ "--disable-component" ]; 45 46 nativeBuildInputs = [ 47 + autoreconfHook 48 + gettext 49 + gtk-doc 50 + yelp-tools 51 pkg-config 52 intltool 53 bison ··· 86 }; 87 }; 88 89 + meta = { 90 description = "GNOME Office Spreadsheet"; 91 license = lib.licenses.gpl2Plus; 92 homepage = "http://projects.gnome.org/gnumeric/"; 93 + platforms = lib.platforms.unix; 94 + maintainers = [ lib.maintainers.vcunat ]; 95 }; 96 })