3
0
Fork 0
forked from mirrors/nixpkgs

gtranslator: 41.0 → 42.0

https://gitlab.gnome.org/GNOME/gtranslator/-/compare/41.0...42.0
This commit is contained in:
Jan Tojnar 2022-05-04 13:16:35 +00:00
parent 502aab9082
commit ce91980056

View file

@ -1,7 +1,6 @@
{ stdenv
, lib
, fetchurl
, fetchpatch
, meson
, ninja
, pkg-config
@ -12,11 +11,10 @@
, libxml2
, libgda6
, libhandy
, libsoup
, libsoup_3
, json-glib
, gspell
, glib
, libdazzle
, gtk3
, gtksourceview4
, gnome
@ -25,22 +23,13 @@
stdenv.mkDerivation rec {
pname = "gtranslator";
version = "41.0";
version = "42.0";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "E28R/gOhlJkMQ6/jOL0eoK0U5+H26Gjlv3xbUsTF5eE=";
sha256 = "Kme8v+ZDBhsGltiaEIR9UL81kF/zNhuYcTV9PjQi8Ts=";
};
patches = [
# Fix build with meson 0.61
# data/meson.build:15:5: ERROR: Function does not take positional arguments.
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gtranslator/-/commit/7ac572cc8c8c37ca3826ecf0d395edd3c38e8e22.patch";
sha256 = "aRg6dYweftV8F7FXykO7m0G+p4SLTFnhTcZx72UCMDE=";
})
];
nativeBuildInputs = [
meson
ninja
@ -55,11 +44,10 @@ stdenv.mkDerivation rec {
libxml2
glib
gtk3
libdazzle
gtksourceview4
libgda6
libhandy
libsoup
libsoup_3
json-glib
gettext
gspell