3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/text/gtranslator/default.nix
R. RyanTM f11c3edbc6 gtranslator: 3.32.0 -> 3.32.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/gtranslator/versions
2019-05-05 02:50:14 -07:00

69 lines
1.2 KiB
Nix

{ stdenv
, fetchurl
, meson
, ninja
, pkgconfig
, itstool
, gettext
, python3
, wrapGAppsHook
, libxml2
, libgda
, gspell
, glib
, gtk3
, gtksourceview4
, gnome3
, gsettings-desktop-schemas
}:
stdenv.mkDerivation rec {
pname = "gtranslator";
version = "3.32.1";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1nmlj41wm02lbgrxdlpqpcgdab5cxsvggvqnk43v6kk86q27pcz1";
};
nativeBuildInputs = [
meson
ninja
pkgconfig
itstool
gettext
python3
wrapGAppsHook
];
buildInputs = [
libxml2
glib
gtk3
gtksourceview4
libgda
gettext
gspell
gsettings-desktop-schemas
];
postPatch = ''
chmod +x build-aux/meson/meson_post_install.py
patchShebangs build-aux/meson/meson_post_install.py
'';
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
};
};
meta = with stdenv.lib; {
description = "GNOME translation making program";
homepage = https://wiki.gnome.org/Apps/Gtranslator;
license = licenses.gpl3Plus;
maintainers = with maintainers; [ jtojnar ];
platforms = platforms.linux;
};
}